Lines 16-22
Link Here
|
16 |
X? ( virtual/x11 )" |
16 |
X? ( virtual/x11 )" |
17 |
RDEPEND="nls? ( sys-devel/gettext )" |
17 |
RDEPEND="nls? ( sys-devel/gettext )" |
18 |
|
18 |
|
19 |
IUSE="X nls lirc mozilla" |
19 |
IUSE="nls lirc mozilla" |
20 |
|
20 |
|
21 |
SLOT="0" |
21 |
SLOT="0" |
22 |
KEYWORDS="~x86 ~ppc sparc ~amd64 ~ppc64" |
22 |
KEYWORDS="~x86 ~ppc sparc ~amd64 ~ppc64" |
Lines 27-42
Link Here
|
27 |
unpack ${A} |
27 |
unpack ${A} |
28 |
cd ${S} |
28 |
cd ${S} |
29 |
epatch ${FILESDIR}/${P}-menu-fix.patch |
29 |
epatch ${FILESDIR}/${P}-menu-fix.patch |
|
|
30 |
sed -i -e 's:gxine_logo.png:gxine:' gxine.desktop |
30 |
} |
31 |
} |
31 |
|
32 |
|
32 |
src_compile() { |
33 |
src_compile() { |
33 |
# Most of these are not working currently, but are here for completeness |
34 |
econf \ |
34 |
local myconf |
35 |
$(use_enable nls) \ |
35 |
use X || myconf="${myconf} --disable-x11 --disable-xv" |
36 |
$(use_enable lirc) \ |
36 |
|
37 |
--disable-dependency-tracking || die |
37 |
myconf="${myconf} $(use_enable nls)" |
|
|
38 |
|
39 |
econf ${myconf} || die |
40 |
emake || die |
38 |
emake || die |
41 |
} |
39 |
} |
42 |
|
40 |
|
Lines 48-55
Link Here
|
48 |
|
46 |
|
49 |
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README |
47 |
dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README |
50 |
|
48 |
|
51 |
insinto /usr/share/pixmaps |
49 |
insinto /usr/share/icons/hicolor/48x48/apps |
52 |
doins pixmaps/gxine-logo.png |
50 |
newins pixmaps/gxine-logo.png gxine.png |
53 |
|
51 |
|
54 |
use mozilla && inst_plugin /usr/$(get_libdir)/gxine/gxineplugin.so |
52 |
use mozilla && inst_plugin /usr/$(get_libdir)/gxine/gxineplugin.so |
55 |
} |
53 |
} |