summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Stelling <blubb@gentoo.org>2006-06-23 14:06:24 +0000
committerSimon Stelling <blubb@gentoo.org>2006-06-23 14:06:24 +0000
commit27304aed55e9d27968d3b4232df4dce42496580e (patch)
tree262d6bd7ae63fe9adca651ba131c24dbefc8bd75 /media-video/kmplayer/kmplayer-0.9.2a.ebuild
parent1.0.2 requires xproto 7.0.6, while 1.0.1 cannot build against it. (diff)
downloadgentoo-2-27304aed55e9d27968d3b4232df4dce42496580e.tar.gz
gentoo-2-27304aed55e9d27968d3b4232df4dce42496580e.tar.bz2
gentoo-2-27304aed55e9d27968d3b4232df4dce42496580e.zip
fix bug 122835
(Portage version: 3387-svn)
Diffstat (limited to 'media-video/kmplayer/kmplayer-0.9.2a.ebuild')
-rw-r--r--media-video/kmplayer/kmplayer-0.9.2a.ebuild15
1 files changed, 11 insertions, 4 deletions
diff --git a/media-video/kmplayer/kmplayer-0.9.2a.ebuild b/media-video/kmplayer/kmplayer-0.9.2a.ebuild
index 093126afad39..d7bebf4a94c5 100644
--- a/media-video/kmplayer/kmplayer-0.9.2a.ebuild
+++ b/media-video/kmplayer/kmplayer-0.9.2a.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.2a.ebuild,v 1.2 2006/06/15 09:40:02 carlo Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.9.2a.ebuild,v 1.3 2006/06/23 14:06:24 blubb Exp $
-inherit kde
+inherit kde flag-o-matic
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
@@ -19,9 +19,9 @@ IUSE="gstreamer mplayer xine"
DEPEND="xine? ( >=media-libs/xine-lib-1.1.1 )
gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )"
-RDEPEND="mplayer? ( media-video/mplayer )
+RDEPEND="mplayer? ( || ( media-video/mplayer media-video/mplayer-bin ) )
xine? ( >=media-libs/xine-lib-1.1.1 )
- gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )"
+ gstreamer? ( || ( =media-libs/gst-plugins-base-0.10* =media-libs/gst-plugins-0.8* ) )"
need-kde 3
@@ -31,6 +31,13 @@ pkg_setup() {
ewarn "Neither mplayer nor xine use flag is set. Either one is needed."
ewarn "You can install mplayer later, though.\n"
fi
+
+ # on amd64, there are mplayer and mplayer-bin
+ if use mplayer && use amd64 ; then
+ if ! has_version media-libs/mplayer ; then
+ PATCHES=${FILESDIR}/${P}-use32bitbin.diff
+ fi
+ fi
}
src_compile(){