1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 # @ECLASS: gst-plugins10-bad.eclass
9 # Gilles Dartiguelongue <eva@gentoo.org>
10 # Saleem Abdulrasool <compnerd@gentoo.org>
11 # foser <foser@gentoo.org>
12 # zaheerm <zaheerm@gentoo.org>
13 # @BLURB: Manages build for invididual ebuild for gst-plugins-bad.
15 # See gst-plugins10.eclass documentation.
17 GST_ORG_MODULE="gst-plugins-bad"
19 inherit eutils gst-plugins10
25 die "EAPI=\"${EAPI}\" is not supported anymore"
28 die "EAPI=\"${EAPI}\" is not supported yet"
33 if [[ ${PN} != ${GST_ORG_MODULE} ]]; then
34 # -bad-0.10.20 uses orc optionally instead of liboil unconditionally.
35 # While <0.10.20 configure always check for liboil, it is used only by
36 # non-split plugins in gst/ (legacyresample and mpegdemux), so we only
37 # builddep for all old packages, and have a RDEPEND in old versions of
38 # media-libs/gst-plugins-bad
39 if [[ ${SLOT} = "0.10" ]] && ! version_is_at_least "0.10.20"; then
40 DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"