summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2013-06-09 02:14:49 +0200
committerBertrand Jacquin <beber@meleeweb.net>2013-06-09 02:14:49 +0200
commitd2a261926989070a1e853ee5fa19e36a74a3053b (patch)
tree41010d66f0085fe7cb12d40f85c2dfd2a28d6cef
parentmedia-libs/libnfo: Move to EAPI 5, no KEYWORDS for live ebuild, remove uneede... (diff)
downloadportage-d2a261926989070a1e853ee5fa19e36a74a3053b.tar.xz
media-libs/libplayer: Move to EAPI 5, no KEYWORDS for live ebuild, update dependencies and then make backends optional, support python and xcb, fix prefixing, remove unused inherit
Package-Manager: portage-2.1.12.3
-rw-r--r--media-libs/libplayer/ChangeLog6
-rw-r--r--media-libs/libplayer/Manifest4
-rw-r--r--media-libs/libplayer/libplayer-9999.ebuild41
-rw-r--r--metadata/md5-cache/media-libs/libplayer-999913
4 files changed, 37 insertions, 27 deletions
diff --git a/media-libs/libplayer/ChangeLog b/media-libs/libplayer/ChangeLog
index ee91bfd4..15522329 100644
--- a/media-libs/libplayer/ChangeLog
+++ b/media-libs/libplayer/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 09 Jun 2013; Bertrand Jacquin <beber@meleeweb.net> libplayer-9999.ebuild:
+ media-libs/libplayer: Move to EAPI 5, no KEYWORDS for live ebuild, update
+ dependencies and then make backends optional, support python and xcb, fix
+ prefixing, remove unused inherit
+
28 May 2013; Bertrand Jacquin <beber@meleeweb.net> +metadata.xml:
Add missing metadata.xml
@@ -12,4 +17,3 @@
16 Jun 2010; Bertrand Jacquin <beber@meleeweb.net> +libplayer-9999.ebuild:
Enna dependencies: libnfo libplayer libvalhalla
-
diff --git a/media-libs/libplayer/Manifest b/media-libs/libplayer/Manifest
index 8aa4bf33..c6b3487d 100644
--- a/media-libs/libplayer/Manifest
+++ b/media-libs/libplayer/Manifest
@@ -1,3 +1,3 @@
-EBUILD libplayer-9999.ebuild 712 SHA256 30c7c3f16603b013190c42bcee5397685ca1b3cb7cc19f7f019848f2b983df3a WHIRLPOOL 8ec3d12dcd728fbbdb5c081efcf2d3df7335ce18df3d4599e57c20ce7dcf749f012effacd221f2769e0cc16ec5023d9111fb306adbcbfa99a20a70dc0b372188
-MISC ChangeLog 493 SHA256 30cf3089236df114de46bcdfad216ff4ddf7a50d6b21aa876e258a90452acdfb WHIRLPOOL 93a472ad52a6edcef7e481ae221be9bdbbcf9336586a9321deda08e1e6ff5ef53b5d3b2ea75c55889ae9ad5bc2fbf4cee4f2b577546257fd1c3e28f89c09ef01
+EBUILD libplayer-9999.ebuild 879 SHA256 1a1f6dd4b7ec3df5872a91ea5f94af3ee0d05898337c66de646b16399d854d73 WHIRLPOOL 36d29c69d96c086f1d4088f635596b9e411e67f088836742135a6daa42086867e1861501013b11ff772507ca0aeb82a76a16cb1380b7d0ec7b9a2faffd0b4a81
+MISC ChangeLog 756 SHA256 94f0746980a688a27b91ed2a9b2cd367d8b6a53c70928f66de852a25eb6265c0 WHIRLPOOL 9550d63337b42089b0a3e4a1e22203121c453f973616eef11c3bf6b483d3c0906a823638a9d96d32d67ebf47b6bcf0d6f4df9dc9e7a9b80cb8f05a3418eb7440
MISC metadata.xml 139 SHA256 5cdc1888ebc8807b9a37b1d33429c61cabe7415a4f240e21a4c2ff8eca7a34ed WHIRLPOOL 620431014dd4fb752c3d46d11904ecb2c6d4525f5b4e30f4f778a3b74d3f7187ae4ccd856ebd7eabb48ce261b21849c732928fe647edce024a3fdc082d8f8630
diff --git a/media-libs/libplayer/libplayer-9999.ebuild b/media-libs/libplayer/libplayer-9999.ebuild
index 26c358a1..b2722fb1 100644
--- a/media-libs/libplayer/libplayer-9999.ebuild
+++ b/media-libs/libplayer/libplayer-9999.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: From beber@meleeweb.net $
+# $Header: $
-inherit mercurial eutils libtool
+EAPI=5
+inherit mercurial toolchain-funcs
DESCRIPTION="Libplayer"
HOMEPAGE="http://libplayer.geexbox.org"
@@ -11,26 +12,30 @@ EHG_REPO_URI="http://hg.geexbox.org/libplayer"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64"
-IUSE=""
-DEPEND="media-video/mplayer
- media-libs/gstreamer
- media-libs/xine-lib"
+KEYWORDS=""
+IUSE="ffmpeg gstreamer python xcb xine"
+DEPEND="ffmpeg? ( media-video/mplayer )
+ gstreamer? ( media-libs/gstreamer )
+ xine? ( media-libs/xine-lib )
+
+ xcb? ( x11-libs/libxcb )
+ python? ( dev-lang/python )"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
-src_compile() {
+src_prepare() {
+ tc-export AR CC RANLIB
+}
+
+src_configure() {
./configure \
--disable-strip \
--disable-debug \
- --enable-gstreamer \
- --enable-mplayer \
- --enable-xine \
- --prefix="${D}/usr" || die "configure failed"
- emake || die
-}
-
-src_install() {
- einstall || die "einstall failed"
+ $(use_enable gstreamer) \
+ $(use_enable ffmpeg mplayer) \
+ $(use_enable xine) \
+ $(use_enable xcb win-xcb) \
+ $(use_enable python binding-python) \
+ --prefix="/usr" || die "configure failed"
}
diff --git a/metadata/md5-cache/media-libs/libplayer-9999 b/metadata/md5-cache/media-libs/libplayer-9999
index 90e76ebb..29911b8f 100644
--- a/metadata/md5-cache/media-libs/libplayer-9999
+++ b/metadata/md5-cache/media-libs/libplayer-9999
@@ -1,10 +1,11 @@
-DEFINED_PHASES=compile install unpack
-DEPEND=media-video/mplayer media-libs/gstreamer media-libs/xine-lib dev-vcs/mercurial
+DEFINED_PHASES=configure prepare unpack
+DEPEND=ffmpeg? ( media-video/mplayer ) gstreamer? ( media-libs/gstreamer ) xine? ( media-libs/xine-lib ) xcb? ( x11-libs/libxcb ) python? ( dev-lang/python ) dev-vcs/mercurial
DESCRIPTION=Libplayer
+EAPI=5
HOMEPAGE=http://libplayer.geexbox.org
-KEYWORDS=~amd64
+IUSE=ffmpeg gstreamer python xcb xine
LICENSE=GPL-2
-RDEPEND=media-video/mplayer media-libs/gstreamer media-libs/xine-lib
+RDEPEND=ffmpeg? ( media-video/mplayer ) gstreamer? ( media-libs/gstreamer ) xine? ( media-libs/xine-lib ) xcb? ( x11-libs/libxcb ) python? ( dev-lang/python )
SLOT=0
-_eclasses_=eutils f31a0ec0d081047cbf9c0bbb4822d831 libtool b1c8688e60f9580bcb9bb46e08737eb1 mercurial 5fcb2f60868c283ece4cadfce78a5b24 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
-_md5_=ce7d381147a0661b1d2daa00d480cecf
+_eclasses_=eutils f31a0ec0d081047cbf9c0bbb4822d831 mercurial 5fcb2f60868c283ece4cadfce78a5b24 multilib 892e597faee02a5b94eb02ab512e7622 toolchain-funcs 7ffd28a8c7eea27218865352bfd3ab2f user d0a4d0735a6c0183d707ca919bd72f28
+_md5_=9e243785fd90d8d0e81eb271c2e34eea