|
Lines 5-11
Link Here
|
| 5 |
inherit eutils |
5 |
inherit eutils |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="High quality television application for use with video capture cards." |
7 |
DESCRIPTION="High quality television application for use with video capture cards." |
| 8 |
HOMEPAGE="http://tvtime.net/" |
8 |
HOMEPAGE="http://tvtime.sourceforge.net/" |
| 9 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
9 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
| 10 |
RESTRICT="nomirror" |
10 |
RESTRICT="nomirror" |
| 11 |
|
11 |
|
|
Lines 24-55
Link Here
|
| 24 |
nls? ( sys-devel/gettext )" |
24 |
nls? ( sys-devel/gettext )" |
| 25 |
|
25 |
|
| 26 |
src_unpack() { |
26 |
src_unpack() { |
| 27 |
|
|
|
| 28 |
unpack ${A} |
27 |
unpack ${A} |
| 29 |
# use 'tvtime' for the application icon see bug #66293 |
28 |
# use 'tvtime' for the application icon see bug #66293 |
| 30 |
sed -i -e "s/tvtime.png/tvtime/" ${S}/docs/net-tvtime.desktop |
29 |
sed -i -e "s/tvtime.png/tvtime/" ${S}/docs/net-tvtime.desktop |
| 31 |
# patch to adapt to PIC or __PIC__ for pic support |
30 |
# patch to adapt to PIC or __PIC__ for pic support |
| 32 |
# see bug #74227 |
31 |
# see bug #74227 |
| 33 |
epatch ${FILESDIR}/${P}-pic.patch |
32 |
epatch ${FILESDIR}/${P}-pic.patch |
| 34 |
|
|
|
| 35 |
} |
33 |
} |
| 36 |
|
34 |
|
| 37 |
src_compile() { |
35 |
src_compile() { |
| 38 |
|
|
|
| 39 |
econf `use_enable nls` \ |
36 |
econf `use_enable nls` \ |
| 40 |
`use_with pic` || die "econf failed" |
37 |
`use_with pic` || die "econf failed" |
| 41 |
|
38 |
|
| 42 |
emake || die "compile problem" |
39 |
emake || die "compile problem" |
| 43 |
|
|
|
| 44 |
} |
40 |
} |
| 45 |
|
41 |
|
| 46 |
src_install () { |
42 |
src_install () { |
| 47 |
|
|
|
| 48 |
make DESTDIR=${D} install || die "make install failed" |
43 |
make DESTDIR=${D} install || die "make install failed" |
| 49 |
|
44 |
|
|
|
45 |
rm -rf ${D}/usr/share/pixmaps |
| 46 |
|
| 47 |
dodir /usr/share/icons/hicolor/16x16/apps/ |
| 48 |
install -m 644 ${S}/docs/tvtime.16x16.png ${D}/usr/share/icons/hicolor/16x16/apps/tvtime.png |
| 49 |
dodir /usr/share/icons/hicolor/32x32/apps/ |
| 50 |
install -m 644 ${S}/docs/tvtime.32x32.png ${D}/usr/share/icons/hicolor/32x32/apps/tvtime.png |
| 51 |
dodir /usr/share/icons/hicolor/16x16/apps/ |
| 52 |
install -m 644 ${S}/docs/tvtime.48x48.png ${D}/usr/share/icons/hicolor/48x48/apps/tvtime.png |
| 53 |
|
| 50 |
dohtml docs/html/* |
54 |
dohtml docs/html/* |
| 51 |
dodoc ChangeLog AUTHORS NEWS README COPYING data/COPYING.* |
55 |
dodoc ChangeLog AUTHORS NEWS README COPYING data/COPYING.* |
| 52 |
|
|
|
| 53 |
} |
56 |
} |
| 54 |
|
57 |
|
| 55 |
pkg_postinst() { |
58 |
pkg_postinst() { |
|
Lines 61-64
Link Here
|
| 61 |
einfo "found at ${HOMEPAGE}help.html" |
64 |
einfo "found at ${HOMEPAGE}help.html" |
| 62 |
echo |
65 |
echo |
| 63 |
} |
66 |
} |
| 64 |
|
|
|