1 |
ssuominen 11/01/02 18:16:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gxine-0.5.905-r1.ebuild |
5 |
Log: |
6 |
Fix building with latest spidermonkey (unbundled from firefox's tarball) wrt #350134 by Jory A. Pratt and Juergen Rose. |
7 |
|
8 |
(Portage version: 2.2.0_alpha10/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.104 media-video/gxine/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?rev=1.104&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?rev=1.104&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/ChangeLog?r1=1.103&r2=1.104 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v |
20 |
retrieving revision 1.103 |
21 |
retrieving revision 1.104 |
22 |
diff -u -r1.103 -r1.104 |
23 |
--- ChangeLog 24 May 2010 19:01:19 -0000 1.103 |
24 |
+++ ChangeLog 2 Jan 2011 18:16:32 -0000 1.104 |
25 |
@@ -1,6 +1,14 @@ |
26 |
# ChangeLog for media-video/gxine |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.103 2010/05/24 19:01:19 pacho Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.104 2011/01/02 18:16:32 ssuominen Exp $ |
31 |
+ |
32 |
+*gxine-0.5.905-r1 (02 Jan 2011) |
33 |
+ |
34 |
+ 02 Jan 2011; Samuli Suominen <ssuominen@g.o> +gxine-0.5.905-r1.ebuild, |
35 |
+ +files/gxine-0.5.905-fix-nspr-useage.patch, |
36 |
+ +files/gxine-0.5.905-spidermonkey-update.patch: |
37 |
+ Fix building with latest spidermonkey (unbundled from firefox's tarball) wrt |
38 |
+ #350134 by Jory A. Pratt and Juergen Rose. |
39 |
|
40 |
24 May 2010; Pacho Ramos <pacho@g.o> gxine-0.5.905.ebuild: |
41 |
stable amd64, bug 317145 |
42 |
|
43 |
|
44 |
|
45 |
1.1 media-video/gxine/gxine-0.5.905-r1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/gxine-0.5.905-r1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/gxine/gxine-0.5.905-r1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: gxine-0.5.905-r1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2011 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.905-r1.ebuild,v 1.1 2011/01/02 18:16:32 ssuominen Exp $ |
55 |
|
56 |
EAPI=2 |
57 |
inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins |
58 |
|
59 |
DESCRIPTION="GTK+ Front-End for libxine" |
60 |
HOMEPAGE="http://xine.sourceforge.net/" |
61 |
SRC_URI="mirror://sourceforge/xine/${P}.tar.bz2" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
66 |
IUSE="gnome lirc nls nsplugin udev xcb xinerama" |
67 |
|
68 |
RDEPEND=">=media-libs/xine-lib-1.1.17 |
69 |
>=x11-libs/gtk+-2.8:2 |
70 |
>=dev-libs/glib-2.10:2 |
71 |
>=x11-libs/pango-1.12 |
72 |
>=dev-lang/spidermonkey-1.9.2.13 |
73 |
x11-libs/libX11 |
74 |
x11-libs/libXext |
75 |
x11-libs/libXrender |
76 |
gnome? ( dev-libs/dbus-glib |
77 |
gnome-extra/gnome-screensaver ) |
78 |
lirc? ( app-misc/lirc ) |
79 |
nls? ( virtual/libintl ) |
80 |
nsplugin? ( dev-libs/nspr |
81 |
x11-libs/libXaw |
82 |
x11-libs/libXt ) |
83 |
udev? ( >=sys-fs/udev-143[extras] ) |
84 |
xcb? ( x11-libs/libxcb ) |
85 |
xinerama? ( x11-libs/libXinerama )" |
86 |
DEPEND="${RDEPEND} |
87 |
dev-util/pkgconfig |
88 |
nls? ( sys-devel/gettext )" |
89 |
|
90 |
src_prepare() { |
91 |
epatch \ |
92 |
"${FILESDIR}"/${P}-desktop.patch \ |
93 |
"${FILESDIR}"/${P}-spidermonkey-update.patch \ |
94 |
"${FILESDIR}"/${P}-fix-nspr-useage.patch |
95 |
|
96 |
# need to disable calling of xine-list when running without |
97 |
# userpriv, otherwise we get sandbox violations (bug #233847) |
98 |
if [[ ${EUID} == "0" ]]; then |
99 |
sed -i 's:^XINE_LIST=.*$:XINE_LIST=:' "${S}/configure.ac" |
100 |
fi |
101 |
|
102 |
eautoreconf |
103 |
} |
104 |
|
105 |
src_configure() { |
106 |
econf \ |
107 |
--disable-dependency-tracking \ |
108 |
$(use_enable nls) \ |
109 |
$(use_enable lirc) \ |
110 |
--enable-watchdog \ |
111 |
$(use_with xcb) \ |
112 |
--with-spidermonkey=/usr/include/js \ |
113 |
$(use_with nsplugin browser-plugin) \ |
114 |
$(use_with udev gudev) \ |
115 |
--without-hal \ |
116 |
$(use_with gnome dbus) \ |
117 |
$(use_with xinerama) |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
emake DESTDIR="${D}" \ |
122 |
docdir=/usr/share/doc/${PF} \ |
123 |
docsdir=/usr/share/doc/${PF} \ |
124 |
install || die |
125 |
|
126 |
dodoc AUTHORS BUGS ChangeLog NEWS README{,.{cs,de},_l10n} TODO |
127 |
use nsplugin && inst_plugin /usr/$(get_libdir)/gxine/gxineplugin.so |
128 |
} |
129 |
|
130 |
pkg_preinst() { |
131 |
gnome2_icon_savelist |
132 |
} |
133 |
|
134 |
pkg_postinst() { |
135 |
fdo-mime_desktop_database_update |
136 |
fdo-mime_mime_database_update |
137 |
gnome2_icon_cache_update |
138 |
} |
139 |
|
140 |
pkg_postrm() { |
141 |
fdo-mime_desktop_database_update |
142 |
fdo-mime_mime_database_update |
143 |
gnome2_icon_cache_update |
144 |
} |