summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2011-03-18 09:34:48 +0000
committerMart Raudsepp <leio@gentoo.org>2011-03-18 09:34:48 +0000
commit2c12b5828f8911e6d8f9197dbb168155bf60ac1f (patch)
tree345d0c03069f4f5fb3d839ebecc0a576d37245d2 /eclass
parentRemove old (diff)
downloadgentoo-2-2c12b5828f8911e6d8f9197dbb168155bf60ac1f.tar.gz
gentoo-2-2c12b5828f8911e6d8f9197dbb168155bf60ac1f.tar.bz2
gentoo-2-2c12b5828f8911e6d8f9197dbb168155bf60ac1f.zip
Prepare for gst-plugins-good-0.10.28 - since .24 the liboil dep is gone, but splits relied on RDEPEND in gst-plugins-good to pass configure check for it. So build depend on it here for old splits, as new -good does not pull it in anymore
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gst-plugins-good.eclass11
1 files changed, 10 insertions, 1 deletions
diff --git a/eclass/gst-plugins-good.eclass b/eclass/gst-plugins-good.eclass
index b0bf43ed14c0..9e422824c7d3 100644
--- a/eclass/gst-plugins-good.eclass
+++ b/eclass/gst-plugins-good.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-good.eclass,v 1.21 2010/07/30 11:08:44 leio Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-good.eclass,v 1.22 2011/03/18 09:34:48 leio Exp $
# Author : foser <foser@gentoo.org>, zaheerm <zaheerm@gentoo.org>
@@ -55,6 +55,15 @@ RDEPEND="=media-libs/gst-plugins-base-0.10*"
DEPEND="${RDEPEND}
>=sys-apps/sed-4
dev-util/pkgconfig"
+
+# -good-0.10.24 uses orc optionally instead of liboil unconditionally.
+# While <0.10.24 configure always checks for liboil, it is linked to only by non-split
+# plugins in gst/, so we only builddep for all old packages, and have a RDEPEND in old
+# versions of media-libs/gst-plugins-good
+if ! version_is_at_least "0.10.24"; then
+DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
+fi
+
RESTRICT=test
fi