2012-05-03 08:04:48 +04:00
|
|
|
# Copyright 1999-2012 Gentoo Foundation
|
2011-11-09 11:33:19 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2012-12-03 10:18:31 +04:00
|
|
|
|
2017-05-16 23:50:24 +03:00
|
|
|
# @DEAD
|
|
|
|
# Michał Górny <mgorny@gentoo.org> (16 May 2017)
|
|
|
|
# gst-plugins* eclasses are no longer used. They will be removed
|
|
|
|
# in 30 days.
|
|
|
|
|
2012-12-03 10:18:31 +04:00
|
|
|
# @ECLASS: gst-plugins-good.eclass
|
|
|
|
# @MAINTAINER:
|
|
|
|
# gstreamer@gentoo.org
|
|
|
|
# @AUTHOR:
|
|
|
|
# Gilles Dartiguelongue <eva@gentoo.org>
|
|
|
|
# Saleem Abdulrasool <compnerd@gentoo.org>
|
|
|
|
# foser <foser@gentoo.org>
|
|
|
|
# zaheerm <zaheerm@gentoo.org>
|
|
|
|
# @BLURB: Manages build for invididual ebuild for gst-plugins-good.
|
|
|
|
# @DESCRIPTION:
|
|
|
|
# See gst-plugins10.eclass documentation.
|
|
|
|
|
|
|
|
GST_ORG_MODULE="gst-plugins-good"
|
|
|
|
|
|
|
|
inherit eutils gst-plugins10
|
|
|
|
|
|
|
|
case "${EAPI:-0}" in
|
|
|
|
1|2|3|4|5)
|
|
|
|
;;
|
|
|
|
0)
|
|
|
|
die "EAPI=\"${EAPI}\" is not supported anymore"
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
die "EAPI=\"${EAPI}\" is not supported yet"
|
|
|
|
;;
|
2012-10-23 17:45:01 +04:00
|
|
|
esac
|
2011-11-09 11:33:19 +04:00
|
|
|
|
|
|
|
|
2012-12-03 10:18:31 +04:00
|
|
|
if [[ ${PN} != ${GST_ORG_MODULE} ]]; then
|
2011-11-09 11:33:19 +04:00
|
|
|
# -good-0.10.24 uses orc optionally instead of liboil unconditionally.
|
2012-12-03 10:18:31 +04:00
|
|
|
# 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 [[ ${SLOT} = "0.10" ]] && ! version_is_at_least "0.10.24"; then
|
|
|
|
DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
|
|
|
|
fi
|
2011-11-09 11:33:19 +04:00
|
|
|
fi
|
|
|
|
|