blob: 31660eba6ee2b4dfb29ecc92842bbdd015ae0c16 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.1-r4.ebuild,v 1.3 2006/07/15 21:26:42 tove Exp $
inherit eutils toolchain-funcs flag-o-matic
DESCRIPTION="Teletext viewer for X11"
HOMEPAGE="http://www.goron.de/~froese/"
SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz
http://fresh.t-systems-sfr.com/linux/src/${P}.tar.gz
http://www.baycom.org/~tom/${PN}-dvb.patch"
IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc x86"
RDEPEND="|| ( x11-libs/libX11 <virtual/x11-7 )
>=media-libs/libpng-1.0.12"
DEPEND="${RDEPEND}
|| ( x11-proto/xproto <virtual/x11-7 )"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-gentoo.diff"
epatch "${FILESDIR}/${P}-gcc4.patch"
epatch "${DISTDIR}/${PN}-dvb.patch"
epatch "${FILESDIR}/${P}-v4l2.patch"
epatch "${FILESDIR}/${P}-respectflags.patch"
epatch "${FILESDIR}/${P}-vbi.patch"
}
src_compile() {
append-flags -fno-strict-aliasing
emake CC="$(tc-getCC)" || die
}
src_install() {
dobin alevt alevt-cap alevt-date
doman alevt.1x alevt-date.1 alevt-cap.1
dodoc CHANGELOG COPYRIGHT README
insinto /usr/share/icons/hicolor/16x16/apps
newins contrib/mini-alevt.xpm alevt.xpm
insinto /usr/share/icons/hicolor/48x48/apps
newins contrib/icon48x48.xpm alevt.xpm
make_desktop_entry alevt "AleVT" alevt
}
|