diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-video/gxine |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-video/gxine')
-rw-r--r-- | media-video/gxine/Manifest | 14 | ||||
-rw-r--r-- | media-video/gxine/files/gxine-0.5.905-desktop.patch | 12 | ||||
-rw-r--r-- | media-video/gxine/files/gxine-0.5.905-fix-nspr-useage.patch | 11 | ||||
-rw-r--r-- | media-video/gxine/files/gxine-0.5.906-endif.patch | 14 | ||||
-rw-r--r-- | media-video/gxine/files/gxine-0.5.907-glib-2.31.patch | 34 | ||||
-rw-r--r-- | media-video/gxine/files/gxine-0.5.907-underlinking.patch | 23 | ||||
-rw-r--r-- | media-video/gxine/gxine-0.5.907-r1.ebuild | 101 | ||||
-rw-r--r-- | media-video/gxine/gxine-0.5.908-r1.ebuild | 101 | ||||
-rw-r--r-- | media-video/gxine/gxine-0.5.909.ebuild | 88 | ||||
-rw-r--r-- | media-video/gxine/metadata.xml | 10 |
10 files changed, 408 insertions, 0 deletions
diff --git a/media-video/gxine/Manifest b/media-video/gxine/Manifest new file mode 100644 index 000000000000..9ce2facb4230 --- /dev/null +++ b/media-video/gxine/Manifest @@ -0,0 +1,14 @@ +AUX gxine-0.5.905-desktop.patch 377 SHA256 e0051e9737382b3c21e2d3e6f0d9eacd1fb5d589f480a155a396e1924512d7a5 SHA512 dcc34836594c4616e2962c08ffb20608fd6978f2914231202afb6bae406fdd23b0a0f82cedcd87c9201d004bd0a42c8616ab4b2277ef487d93306a17c50f120e WHIRLPOOL 95957ade8f0feefe218ed7fdc67ddcecf09f281894850dc8aae461dae4c399e9303c90833f18719881ad32b95e6ff82be432b3f4dda91709b9ed15eb1e27b4b7 +AUX gxine-0.5.905-fix-nspr-useage.patch 433 SHA256 4d05d9144eba4f30976ed3e33e3985c782b95227d165ab90b4f453c377451ea6 SHA512 b528e7c7cb8f3dce8c8ef81ca8f9bf5078e499e7c5f1afe88e85f1e17297ee3de26e2d53ff8dd13bf912a18337eff6b8260fbdcd6012174bb8b017421fdff7de WHIRLPOOL 4ef23f39c637e85ef9638d3a1040ab4a399b2c0c52fd7904ca97b2abac8fa06f5cba3cf6da240a59a1554c1a6504bef914be1f803019d506344d0c79ae38f6b9 +AUX gxine-0.5.906-endif.patch 349 SHA256 d3d14fdffe9f8e1872bcbf28670d48b72ed76d7a882902bb298902bb8ca4b6fa SHA512 7bdea80e1ddc98621d76540cb4fc02e037ef85f2d9bd8d882701d5a2f408f038d23722ac5d57d309f46510358518a4b0ab812b4a67f8630d5c645b2b070f0d39 WHIRLPOOL 64b1528da3c250b60c95e673797464ef458e932fba71e497457ff8c53b168f7521623db794094b6a1f5604a7ad497db956f754fc185d70863687ab72050b6cfd +AUX gxine-0.5.907-glib-2.31.patch 636 SHA256 c45a8fa2df4a779bbc7866a3d7fd56c4c9946e71656f06452f5f147a9ee4e15c SHA512 0b017254f4a7412ea243e7b8977c37170d18a005a98f9c8b8fea0113c7dc294e6c7c20719fc1a171093b0be7d672bcf0ccc18ea00699829ece327aca86cdc8a9 WHIRLPOOL f3015231026af0c4dc6b9d4d68479ff1e66e0eb0e179ef03588408cefe782cf48f52634abeddaf369b77eae612cc20c89240d15cc2c9c17a4bb27b712db45210 +AUX gxine-0.5.907-underlinking.patch 781 SHA256 1d1f39579b38f7a8c2a8d19136fb30dd98ce14859911969dffea4c55dd8f7ece SHA512 47775e2c06116505644eaeb13c91fa58ca289d133380857eade90e2e7b7520b1d7801626772d537621358676132202ac83d31ac4e0871ad07e1ce68d2b7b7610 WHIRLPOOL 54a419560b5b6bc97c8634922c56d4cb9a28d9ea3d082de30b7b5bf8c0eda7600356b7f5b4cea41d26de4f33f53332fe7707d46a0f5c158e6e9b3523dddcdcfa +DIST gxine-0.5.907.tar.xz 910528 SHA256 b5c925806a35cb23a24a80a39d494cefb529e22c957987741f269a994ab258d5 SHA512 dd35c8a8810c233e81a28e9f10504645662d60dc9609451e7c49c5d516bb041b61a3b9c8f330021af1e527064cf3f62f37bde98402df7426f501d0c78c571045 WHIRLPOOL 01037e358c515f01bd42ec48e54d92e7672162098a4d0a279f979dd01d9a6354dd37f7194f36f9dfc804a8730bd792676cef39e48b608104724a787bf9c51e57 +DIST gxine-0.5.908.tar.xz 917780 SHA256 832e47136ec68a573b22b6cc1c1d57607e78b05712ba9fb8e64464b5201ed9e7 SHA512 6172f442948655178fde837a5fa9194fdb06b5cc50f8cbbfcd153b72f9a360a5497bd7ebd09c8f2340547fd7a0c834d5c673712a13202768bf0c762ee41c5454 WHIRLPOOL 8e97e1f1d72a7b669c3346030522e4d2d755220fa337ad1a6486415f28d7ec375e4a5ae86fe2c7d3a4fb2ad84a76f5beb8d8c8ca7a4e06d9f1b0d1e01aebd00c +DIST gxine-0.5.909.tar.xz 928544 SHA256 bd44816fac24353ec14bf0dea01176469bd7ce9b3c4277952056c24f71266ee9 SHA512 87e65bb87fa416535f76253e4394447c6cd7dfaaa209b76c07b9aa81aeca0ca09399991bb2be8e6928fa3883ff61b155e173610c6c28aab10f5b1487e0699215 WHIRLPOOL a3dd9d7ace2c29a33922b5c6b787ba27459ec0ae1f041ede0ae736fe138d2134c703072adaecb104782238329ab2e1af808e60725629790b21590e7a629c9eff +EBUILD gxine-0.5.907-r1.ebuild 2527 SHA256 0a6729a37e37e1ed623c4be8348aadcab81f618cc2fe06be4748f1209e75525b SHA512 26e08ba9bce79b0eadd13263ce84a94e72985d2d4889551d02365174d948f6a8cc086e17c8544df423395e21fc6ef89efb48199ac6542499823410c83a7aee10 WHIRLPOOL 618eb4c6a36c5a94212fd911e9b1f6d8944f71e099d809a6d968ad675c85258edcbb5f10b1b457b48ff286d76df161d0be1108acd63151b0fb708cab1749b526 +EBUILD gxine-0.5.908-r1.ebuild 2510 SHA256 deec3e710b2fa5150d866647c965b4a6ace86110f2c8ba1625de0c6e4105c2f3 SHA512 29c6486aeb52b9e4fe4802b20cb8c57957e04deb407c8791a6299fb416f255a36d20ed915a335ad25b7917783d1078db0aed384e3985a062c2bb4d66040b7d9f WHIRLPOOL 8642a695a2e1c0d4f408489fb20204639e7821d03fb0ee8e4a477179fcea94d9bbc795cd0666ef6508078328e09a7d78ec2e3370a913aca4b114127a9ec56c71 +EBUILD gxine-0.5.909.ebuild 2083 SHA256 3ba4107b99bc7ad6caf4c30568428abe9d6502f9834fc91b8a339b7a6da333d3 SHA512 95bce2d60f04f63dc12c03fcb07eafdb3767a7e61854b24ca14325ff2e18f0593ea73a3d45f4c740e76418547ce68fdc4fb147be10c205ea87c8533698f117a7 WHIRLPOOL 6f9cea35b8a3eb07364c309f4b5c8ade9c0bed09710a4fd97c0844e4fba297c48e149ed962b0e82e17b0c70a1af0f2a5e2f07ecdd3967911bd107469330c4c5f +MISC ChangeLog 2862 SHA256 d8724811306b2f40e1a27bcad1618359504ee2841dd633077757c891a7ac4681 SHA512 9ff984a62f4f7ae5c0c8d93e2b7b573c3ee115fa3b121567f1ea5ed1c820dd1c22bd2dae5aa1d3e87cb819fe68a0b91b1f8f9564a1fba08954a1ab67221c0162 WHIRLPOOL 2e3970965bf1154631b19eb848332bd09e03c2c5400dd41a9cde52588b972e83cb6527bdea866e7b7caea5c6d063e342361ed48e413d290624c8e3aa633d417b +MISC ChangeLog-2015 19243 SHA256 70ad45ec4a9b459af2015517ac2cfed3a7a646ba21c18c4b38f6c5dbb9a384bc SHA512 3b3ff5b6eaeab25fa4919ea416a96a2aaa30861ad6a6fc286c40c88179e604993f47197ed0c51119dcffa2d740d8dd9fd41de62fa1a088a4b1bb1be62d6bb372 WHIRLPOOL e183cf45b37118b12eb314160e44845a409ed0b10b24088048679b104858df4604f5a63f88a9dcb8ab89ca59f65a11d6162a0dc9deb339c1c2209c3ea78e137b +MISC metadata.xml 305 SHA256 9fbcc953029af9d326b6ffe1792d782509b885577398c1faa76a0d4fe7902c25 SHA512 396865e52e9dc380cbf6d3dbf33deb69877495356dc6c6a09ba35ab3062608a93e7ab3d5d22564192070ddc186f3a5ff9ceea639911cc554ca6db5084a413587 WHIRLPOOL cea3dafc281da4016f18d51184c66a73d74b823dd6e38c798f5f6ab34077858ed8969a10c8461052042ee6c9c9bef13c97994dfd3f807b6eac4d48e9a6627326 diff --git a/media-video/gxine/files/gxine-0.5.905-desktop.patch b/media-video/gxine/files/gxine-0.5.905-desktop.patch new file mode 100644 index 000000000000..c5777a157506 --- /dev/null +++ b/media-video/gxine/files/gxine-0.5.905-desktop.patch @@ -0,0 +1,12 @@ +--- gxine.desktop.in ++++ gxine.desktop.in +@@ -14,5 +14,5 @@ + Terminal=false + Type=Application + StartupNotify=true +-Categories=AudioVideo;GTK;Player;TV; +-MimeType=x-content/video-dvd;x-content/audio-cdda;x-content/video-vcd;x-content/video-svcd; +\ No newline at end of file ++Categories=AudioVideo;Video;GTK;Player;TV; ++MimeType=x-content/audio-cdda; +\ No newline at end of file diff --git a/media-video/gxine/files/gxine-0.5.905-fix-nspr-useage.patch b/media-video/gxine/files/gxine-0.5.905-fix-nspr-useage.patch new file mode 100644 index 000000000000..9d0e5f87da5c --- /dev/null +++ b/media-video/gxine/files/gxine-0.5.905-fix-nspr-useage.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am 2011-01-02 11:33:09.675000001 -0600 ++++ b/src/Makefile.am 2011-01-02 11:34:05.205000001 -0600 +@@ -4,7 +4,7 @@ + -I$(top_builddir)/pixmaps $(LIRC_INCLUDE) + + AM_CFLAGS = $(GNU99) $(XINE_CFLAGS) $(X_CFLAGS) \ +- $(GTK2_CFLAGS) $(GTHREAD2_CFLAGS) \ ++ $(GTK2_CFLAGS) $(GTHREAD2_CFLAGS) $(NSPR_CFLAGS) \ + $(HAL_CFLAGS) $(UDEV_CFLAGS) $(DBUS_CFLAGS) $(JS_CFLAGS) \ + -DLOCALEDIR=\"$(localedir)\" + 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/files/gxine-0.5.907-glib-2.31.patch b/media-video/gxine/files/gxine-0.5.907-glib-2.31.patch new file mode 100644 index 000000000000..9edea6c84af6 --- /dev/null +++ b/media-video/gxine/files/gxine-0.5.907-glib-2.31.patch @@ -0,0 +1,34 @@ +http://bugs.gentoo.org/412323 + +--- src/console_output.h ++++ src/console_output.h +@@ -21,7 +21,7 @@ + #ifndef GXINE_CONSOLE_OUTPUT_H + #define GXINE_CONSOLE_OUTPUT_H + +-#include <glib/gmessages.h> ++#include <glib.h> + + void console_output_init (void); + +--- src/engine.c ++++ src/engine.c +@@ -30,7 +30,7 @@ + #include <errno.h> + #include <unistd.h> + +-#include <glib/gthread.h> ++#include <glib.h> + + #include "engine.h" + #include "ui.h" +--- src/main.c ++++ src/main.c +@@ -46,7 +46,6 @@ + #include <gdk/gdk.h> + #include <gdk/gdkkeysyms.h> + #include <glib.h> +-#include <glib/gmessages.h> + + #include "desktop_integration.h" + #include "engine.h" diff --git a/media-video/gxine/files/gxine-0.5.907-underlinking.patch b/media-video/gxine/files/gxine-0.5.907-underlinking.patch new file mode 100644 index 000000000000..21f8a697766f --- /dev/null +++ b/media-video/gxine/files/gxine-0.5.907-underlinking.patch @@ -0,0 +1,23 @@ +--- configure.ac ++++ configure.ac +@@ -333,6 +333,20 @@ + AC_SUBST(THREAD_LIBS) + + dnl --------------------------------------------- ++dnl Check for libdl/libdld for dlopen() ++dnl --------------------------------------------- ++AC_SEARCH_LIBS([dlopen], [dl dld], [], [ ++ AC_MSG_ERROR([unable to find the dlopen() function]) ++]) ++ ++dnl --------------------------------------------- ++dnl Check for libm for log10() ++dnl --------------------------------------------- ++AC_SEARCH_LIBS([log10], [m], [], [ ++ AC_MSG_ERROR([unable to find the log10() function]) ++]) ++ ++dnl --------------------------------------------- + dnl Check for xine-lib + dnl --------------------------------------------- + AM_PATH_XINE([$XINE_LIB_MIN_VER],, AC_MSG_ERROR([*** Please install xine-lib (devel) first ***])) diff --git a/media-video/gxine/gxine-0.5.907-r1.ebuild b/media-video/gxine/gxine-0.5.907-r1.ebuild new file mode 100644 index 000000000000..0b95f0fb3292 --- /dev/null +++ b/media-video/gxine/gxine-0.5.907-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins + +DESCRIPTION="GTK+ Front-End for libxine" +HOMEPAGE="http://xine.sourceforge.net/" +SRC_URI="mirror://sourceforge/xine/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="linguas_cs linguas_de lirc nls nsplugin udev +xcb xinerama" + +COMMON_DEPEND=">=media-libs/xine-lib-1.1.20 + x11-libs/gtk+:2 + >=dev-libs/glib-2 + >=dev-lang/spidermonkey-1.8.2.15:0 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + nsplugin? ( dev-libs/nspr + x11-libs/libXaw + x11-libs/libXt ) + udev? ( virtual/libgudev:= ) + xcb? ( x11-libs/libxcb ) + xinerama? ( x11-libs/libXinerama )" +DEPEND="${COMMON_DEPEND} + virtual/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 + + if has_version '>=dev-lang/spidermonkey-1.8.7:0'; then + sed -i -e 's:mozjs185:mozjs187:' m4/_js.m4 || die #422983 + fi + + epatch \ + "${FILESDIR}"/${PN}-0.5.905-desktop.patch \ + "${FILESDIR}"/${PN}-0.5.905-fix-nspr-useage.patch \ + "${FILESDIR}"/${PN}-0.5.906-endif.patch \ + "${FILESDIR}"/${PN}-0.5.907-glib-2.31.patch \ + "${FILESDIR}"/${PN}-0.5.907-underlinking.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 \ + --without-dbus \ + $(use_with xinerama) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + docsdir=/usr/share/doc/${PF} \ + install + + dodoc AUTHORS BUGS ChangeLog README{,_l10n} TODO + + use linguas_cs && dodoc README.cs + use linguas_de && dodoc README.de + + 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 +} diff --git a/media-video/gxine/gxine-0.5.908-r1.ebuild b/media-video/gxine/gxine-0.5.908-r1.ebuild new file mode 100644 index 000000000000..9354f40efac7 --- /dev/null +++ b/media-video/gxine/gxine-0.5.908-r1.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins + +DESCRIPTION="GTK+ Front-End for libxine" +HOMEPAGE="http://xine.sourceforge.net/" +SRC_URI="mirror://sourceforge/xine/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="linguas_cs linguas_de lirc nls nsplugin udev +xcb xinerama" + +COMMON_DEPEND=">=media-libs/xine-lib-1.1.20 + x11-libs/gtk+:2 + >=dev-libs/glib-2 + >=dev-lang/spidermonkey-1.8.2.15:0 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + nsplugin? ( dev-libs/nspr + x11-libs/libXaw + x11-libs/libXt ) + udev? ( virtual/libgudev:= ) + xcb? ( x11-libs/libxcb ) + xinerama? ( x11-libs/libXinerama )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + # ld: cannot find -ljs + sed -i -e '/JS_LIBS="`spidermonkey_locate_lib/s:js:mozjs:' m4/_js.m4 || die + + if has_version '>=dev-lang/spidermonkey-1.8.7:0'; then + sed -i -e 's:mozjs185:mozjs187:' m4/_js.m4 || die #422983 + fi + + epatch \ + "${FILESDIR}"/${PN}-0.5.905-desktop.patch \ + "${FILESDIR}"/${PN}-0.5.905-fix-nspr-useage.patch \ + "${FILESDIR}"/${PN}-0.5.906-endif.patch \ + "${FILESDIR}"/${PN}-0.5.907-underlinking.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 \ + --without-dbus \ + $(use_with xinerama) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + docsdir=/usr/share/doc/${PF} \ + install + + dodoc AUTHORS BUGS ChangeLog README{,_l10n} TODO + + use linguas_cs && dodoc README.cs + use linguas_de && dodoc README.de + + 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 +} diff --git a/media-video/gxine/gxine-0.5.909.ebuild b/media-video/gxine/gxine-0.5.909.ebuild new file mode 100644 index 000000000000..c03bbd619438 --- /dev/null +++ b/media-video/gxine/gxine-0.5.909.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils fdo-mime gnome2-utils multilib nsplugins + +DESCRIPTION="GTK+ Front-End for libxine" +HOMEPAGE="http://xine.sourceforge.net/" +SRC_URI="mirror://sourceforge/xine/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="linguas_cs linguas_de lirc nls nsplugin udev +xcb xinerama" + +COMMON_DEPEND=">=media-libs/xine-lib-1.1.20 + x11-libs/gtk+:2 + >=dev-libs/glib-2 + >=dev-lang/spidermonkey-1.8.2.15:0 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + lirc? ( app-misc/lirc ) + nls? ( virtual/libintl ) + nsplugin? ( dev-libs/nspr + x11-libs/libXaw + x11-libs/libXt ) + udev? ( virtual/libgudev:= ) + xcb? ( x11-libs/libxcb ) + xinerama? ( x11-libs/libXinerama )" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + # 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 \ + --without-dbus \ + $(use_with xinerama) +} + +src_install() { + emake DESTDIR="${D}" \ + docdir=/usr/share/doc/${PF} \ + docsdir=/usr/share/doc/${PF} \ + install + + dodoc AUTHORS BUGS ChangeLog README{,_l10n} TODO + + use linguas_cs && dodoc README.cs + use linguas_de && dodoc README.de + + 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 +} diff --git a/media-video/gxine/metadata.xml b/media-video/gxine/metadata.xml new file mode 100644 index 000000000000..eff7ed13e1ff --- /dev/null +++ b/media-video/gxine/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>media-video@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="sourceforge">xine</remote-id> + </upstream> +</pkgmetadata> |