/[gentoo-x86]/eclass/gst-plugins-good.eclass
Gentoo

Contents of /eclass/gst-plugins-good.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.29 - (hide annotations) (download)
Sun Dec 2 17:16:20 2012 UTC (21 months, 4 weeks ago) by eva
Branch: MAIN
CVS Tags: HEAD
Changes since 1.28: +33 -149 lines
Commit new gstreamer eclasses as reviewed on gentoo-dev mailing list with a few more fixes, most notably EAPI=1 support fixes. For a more detailed changelog, please see gnome overlay git log.

1 jdhore 1.27 # Copyright 1999-2012 Gentoo Foundation
2 zaheerm 1.1 # Distributed under the terms of the GNU General Public License v2
3 eva 1.29 # $Header: $
4 zaheerm 1.1
5 eva 1.29 # @ECLASS: gst-plugins-good.eclass
6     # @MAINTAINER:
7     # gstreamer@gentoo.org
8     # @AUTHOR:
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-good.
14     # @DESCRIPTION:
15     # See gst-plugins10.eclass documentation.
16    
17     GST_ORG_MODULE="gst-plugins-good"
18    
19     inherit eutils gst-plugins10
20    
21     case "${EAPI:-0}" in
22     1|2|3|4|5)
23     ;;
24     0)
25     die "EAPI=\"${EAPI}\" is not supported anymore"
26     ;;
27     *)
28     die "EAPI=\"${EAPI}\" is not supported yet"
29     ;;
30 tetromino 1.28 esac
31 leio 1.21
32 leio 1.22
33 eva 1.29 if [[ ${PN} != ${GST_ORG_MODULE} ]]; then
34 leio 1.22 # -good-0.10.24 uses orc optionally instead of liboil unconditionally.
35 eva 1.29 # While <0.10.24 configure always checks for liboil, it is linked to only by
36     # non-split plugins in gst/, so we only builddep for all old packages, and have
37     # a RDEPEND in old versions of media-libs/gst-plugins-good
38     if [[ ${SLOT} = "0.10" ]] && ! version_is_at_least "0.10.24"; then
39     DEPEND="${DEPEND} >=dev-libs/liboil-0.3.8"
40     fi
41 leio 1.22 fi

  ViewVC Help
Powered by ViewVC 1.1.20