summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregorio Guidi <greg_g@gentoo.org>2005-07-21 14:58:11 +0000
committerGregorio Guidi <greg_g@gentoo.org>2005-07-21 14:58:11 +0000
commitcbd37572e3da382baf4eeed394f89add1adc187b (patch)
tree795cf2c045c0870de474f1174f39833e686aeedc /media-video/kmplayer
parentStable on ppc64 (diff)
downloadhistorical-cbd37572e3da382baf4eeed394f89add1adc187b.tar.gz
historical-cbd37572e3da382baf4eeed394f89add1adc187b.tar.bz2
historical-cbd37572e3da382baf4eeed394f89add1adc187b.zip
Add check for xorg-x11 compiled with USE=xv.
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'media-video/kmplayer')
-rw-r--r--media-video/kmplayer/Manifest8
-rw-r--r--media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild16
2 files changed, 18 insertions, 6 deletions
diff --git a/media-video/kmplayer/Manifest b/media-video/kmplayer/Manifest
index ff8de5b22795..fd5f01971b09 100644
--- a/media-video/kmplayer/Manifest
+++ b/media-video/kmplayer/Manifest
@@ -1,6 +1,6 @@
-MD5 3ba3079a1060b2d736ca981909b83406 kmplayer-0.8.4b.ebuild 822
-MD5 080e3f32f17a9f3bb48ef07acdb71f76 kmplayer-0.9.0_rc1.ebuild 823
-MD5 0429af4f0d9f2ed09e63c857c3051d33 ChangeLog 5593
MD5 acc03a4b12bb0433a57e95bd253b9501 metadata.xml 156
-MD5 0a34698e081244f8427b939fa5c20d51 files/digest-kmplayer-0.9.0_rc1 71
+MD5 0429af4f0d9f2ed09e63c857c3051d33 ChangeLog 5593
+MD5 14f7282cda466fb07f055750a4ac4546 kmplayer-0.9.0_rc1.ebuild 1073
+MD5 3ba3079a1060b2d736ca981909b83406 kmplayer-0.8.4b.ebuild 822
MD5 ab1134edd8f4a6ae6b27f020d216107e files/digest-kmplayer-0.8.4b 68
+MD5 0a34698e081244f8427b939fa5c20d51 files/digest-kmplayer-0.9.0_rc1 71
diff --git a/media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild b/media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild
index a3eec3b643e2..608ad9439459 100644
--- a/media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild
+++ b/media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild,v 1.1 2005/07/10 20:28:32 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.0_rc1.ebuild,v 1.2 2005/07/21 14:58:11 greg_g Exp $
-inherit kde
+inherit kde eutils
MY_P="${P/_/-}"
S=${WORKDIR}/${MY_P}
@@ -22,6 +22,18 @@ DEPEND=">=media-video/mplayer-0.90
gstreamer? ( >=media-libs/gst-plugins-0.8.7 )"
need-kde 3.1
+pkg_setup() {
+ if ! built_with_use x11-base/xorg-x11 xv; then
+ echo
+ eerror "${PN} needs x11-base/xorg-x11 compiled with USE=\"xv\"."
+ eerror "Recompile x11-base/xorg-x11 with USE=\"xv\" and try again."
+ echo
+ die
+ fi
+
+ kde_pkg_setup
+}
+
src_compile(){
local myconf="$(use_with gstreamer) $(use_with xine)"
kde_src_compile