diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-04 13:10:48 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2011-10-04 13:10:48 +0000 |
commit | 965d54cbbb7005002cc96125fcfc985db9f359b2 (patch) | |
tree | 3f6ef18d8cf697be7e7f553b1801fb90061dada6 /media-video/gxine | |
parent | x86 stabe, thanks Myckel and JD. Bug 474065 (diff) | |
download | gentoo-2-965d54cbbb7005002cc96125fcfc985db9f359b2.tar.gz gentoo-2-965d54cbbb7005002cc96125fcfc985db9f359b2.tar.bz2 gentoo-2-965d54cbbb7005002cc96125fcfc985db9f359b2.zip |
Version bump.
(Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
Diffstat (limited to 'media-video/gxine')
-rw-r--r-- | media-video/gxine/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/gxine/files/gxine-0.5.906-endif.patch | 14 | ||||
-rw-r--r-- | media-video/gxine/gxine-0.5.906.ebuild | 95 |
3 files changed, 116 insertions, 1 deletions
diff --git a/media-video/gxine/ChangeLog b/media-video/gxine/ChangeLog index c08bf2d435af..ea777032d943 100644 --- a/media-video/gxine/ChangeLog +++ b/media-video/gxine/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/gxine # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.110 2011/06/22 02:30:29 nirbheek Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/ChangeLog,v 1.111 2011/10/04 13:10:48 ssuominen Exp $ + +*gxine-0.5.906 (04 Oct 2011) + + 04 Oct 2011; Samuli Suominen <ssuominen@gentoo.org> +gxine-0.5.906.ebuild, + +files/gxine-0.5.906-endif.patch: + Version bump. 22 Jun 2011; Nirbheek Chauhan <nirbheek@gentoo.org> gxine-0.5.905-r1.ebuild: Fix spidermonkey version for the new versioning scheme diff --git a/media-video/gxine/files/gxine-0.5.906-endif.patch b/media-video/gxine/files/gxine-0.5.906-endif.patch new file mode 100644 index 000000000000..40c4a8a39458 --- /dev/null +++ b/media-video/gxine/files/gxine-0.5.906-endif.patch @@ -0,0 +1,14 @@ +lirc.c:227:3: error: ‘gxine_lirc_thread’ undeclared (first use in this function) + +--- src/lirc.c ++++ src/lirc.c +@@ -223,8 +223,8 @@ + if (gxine_lirc_thread_created) + pthread_join (gxine_lirc_thread, NULL); + gxine_lirc_start (); +-#endif + JS_SET_RVAL (cx, vp, gxine_lirc_thread ? JSVAL_TRUE : JSVAL_FALSE); ++#endif + return JS_TRUE; + } + diff --git a/media-video/gxine/gxine-0.5.906.ebuild b/media-video/gxine/gxine-0.5.906.ebuild new file mode 100644 index 000000000000..7502dc02bedb --- /dev/null +++ b/media-video/gxine/gxine-0.5.906.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/gxine/gxine-0.5.906.ebuild,v 1.1 2011/10/04 13:10:48 ssuominen Exp $ + +EAPI=4 +inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins toolchain-funcs + +DESCRIPTION="GTK+ Front-End for libxine" +HOMEPAGE="http://xine.sourceforge.net/" +SRC_URI="mirror://sourceforge/xine/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +# Temporarily unkeyworded for testing -ssuominen +#KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="gnome lirc nls nsplugin udev xcb xinerama" + +RDEPEND=">=media-libs/xine-lib-1.1.17 + >=x11-libs/gtk+-2.8:2 + >=dev-libs/glib-2.10:2 + >=x11-libs/pango-1.12 + >=dev-lang/spidermonkey-1.8.2.15 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + gnome? ( >=dev-libs/dbus-glib-0.88 ) + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + nsplugin? ( dev-libs/nspr + x11-libs/libXaw + x11-libs/libXt ) + udev? ( || ( >=sys-fs/udev-171-r1[gudev] <sys-fs/udev-171-r1[extras] ) ) + xcb? ( x11-libs/libxcb ) + xinerama? ( x11-libs/libXinerama )" +DEPEND="${RDEPEND} + dev-util/pkgconfig + nls? ( sys-devel/gettext )" + +src_prepare() { + # ld: cannot find -ljs + sed -i -e '/JS_LIBS="`spidermonkey_locate_lib/s:js:mozjs:' m4/_js.m4 || die + + epatch \ + "${FILESDIR}"/${PN}-0.5.905-desktop.patch \ + "${FILESDIR}"/${PN}-0.5.905-fix-nspr-useage.patch \ + "${FILESDIR}"/${P}-endif.patch + + # need to disable calling of xine-list when running without + # userpriv, otherwise we get sandbox violations (bug #233847) + if [[ ${EUID} == "0" ]]; then + sed -i -e 's:^XINE_LIST=.*$:XINE_LIST=:' configure.ac || die + fi + + eautoreconf +} + +src_configure() { + econf \ + $(use_enable nls) \ + $(use_enable lirc) \ + --enable-watchdog \ + $(use_with xcb) \ + $(has_version '<dev-lang/spidermonkey-1.8.5' && echo --with-spidermonkey=/usr/include/js) \ + $(use_with nsplugin browser-plugin) \ + $(use_with udev gudev) \ + --without-hal \ + $(use_with gnome dbus) \ + $(use_with xinerama) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + docsdir=/usr/share/doc/${PF} \ + install + + dodoc AUTHORS BUGS ChangeLog NEWS README{,.{cs,de},_l10n} TODO + use nsplugin && inst_plugin /usr/$(get_libdir)/gxine/gxineplugin.so +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} |