summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-04-01 08:59:13 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-04-01 08:59:13 +0000
commitf4f11aa73c87f22c30eb4f3f8f183ebbc951542d (patch)
treea66b5d955eff04789ccbb2ac77bdb087b0a41d1e /media-video/xine-ui/xine-ui-0.99.6.ebuild
parentMarked ~ppc-macos, ~x86-macos, bug #310869 (diff)
downloadhistorical-f4f11aa73c87f22c30eb4f3f8f183ebbc951542d.tar.gz
historical-f4f11aa73c87f22c30eb4f3f8f183ebbc951542d.tar.bz2
historical-f4f11aa73c87f22c30eb4f3f8f183ebbc951542d.zip
Version bump wrt #309841 by Daniel Pielmeier.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'media-video/xine-ui/xine-ui-0.99.6.ebuild')
-rw-r--r--media-video/xine-ui/xine-ui-0.99.6.ebuild88
1 files changed, 88 insertions, 0 deletions
diff --git a/media-video/xine-ui/xine-ui-0.99.6.ebuild b/media-video/xine-ui/xine-ui-0.99.6.ebuild
new file mode 100644
index 000000000000..8b962cf0a821
--- /dev/null
+++ b/media-video/xine-ui/xine-ui-0.99.6.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/xine-ui/xine-ui-0.99.6.ebuild,v 1.1 2010/04/01 08:59:13 ssuominen Exp $
+
+EAPI=3
+inherit fdo-mime gnome2-utils
+
+DESCRIPTION="Xine movie player"
+HOMEPAGE="http://xine.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xine/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="aalib curl debug libcaca lirc nls readline vdr X xinerama"
+
+RDEPEND=">=media-libs/libpng-1.2.40
+ >=media-libs/xine-lib-1.1.17[aalib?,libcaca?]
+ aalib? ( media-libs/aalib )
+ curl? ( >=net-misc/curl-7.10.2 )
+ libcaca? ( media-libs/libcaca )
+ lirc? ( app-misc/lirc )
+ nls? ( virtual/libintl )
+ readline? ( sys-libs/readline )
+ X? ( x11-libs/libX11
+ x11-libs/libXrender
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libXext
+ x11-libs/libXxf86vm
+ x11-libs/libXv
+ x11-libs/libXtst
+ x11-libs/libXft
+ xinerama? ( x11-libs/libXinerama ) )"
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ X? ( x11-libs/libXt
+ x11-proto/xf86vidmodeproto
+ x11-proto/inputproto
+ xinerama? ( x11-proto/xineramaproto ) )
+ dev-util/pkgconfig
+ app-arch/xz-utils"
+
+src_prepare() {
+ rm -f misc/xine-bugreport
+}
+
+src_configure() {
+ # nvtvsimple is simply untested
+ econf \
+ --disable-dependency-tracking \
+ $(use_enable nls) \
+ $(use_enable xinerama) \
+ $(use_enable lirc) \
+ $(use_enable vdr vdr-keys) \
+ --disable-nvtvsimple \
+ $(use_enable debug) \
+ $(use_with X x) \
+ $(use_with readline) \
+ $(use_with curl) \
+ $(use_with aalib) \
+ $(use_with libcaca caca)
+}
+
+src_install() {
+ emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \
+ docsdir="/usr/share/doc/${PF}" install || die
+ dodoc AUTHORS ChangeLog NEWS README
+
+ dodir /usr/share/applications
+ mv -vf "${D}"/usr/share/xine/desktop/xine.desktop "${D}"/usr/share/applications
+}
+
+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
+}