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

Diff of /eclass/gst-plugins-base.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.22 Revision 1.23
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.22 2012/06/02 19:02:42 zmedico Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.23 2012/10/21 07:48:32 tetromino Exp $
4 4
5# Author : foser <foser@gentoo.org> 5# Author : foser <foser@gentoo.org>
6 6
7# gst-plugins eclass 7# gst-plugins eclass
8# 8#
15# or the gstreamer team. 15# or the gstreamer team.
16 16
17inherit eutils gst-plugins10 multilib 17inherit eutils gst-plugins10 multilib
18 18
19GST_EXPF="src_unpack src_compile src_install" 19GST_EXPF="src_unpack src_compile src_install"
20GST_TARBALL_SUFFIX="bz2"
20case ${EAPI:-0} in 21case ${EAPI:-0} in
22 4) GST_EXPF="${GST_EXPF} src_prepare src_configure"
23 GST_TARBALL_SUFFIX="xz" ;;
21 2|3) GST_EXPF="${GST_EXPF} src_prepare src_configure" ;; 24 2|3) GST_EXPF="${GST_EXPF} src_prepare src_configure" ;;
22 1|0) ;; 25 1|0) ;;
23 *) die "Unknown EAPI" ;; 26 *) die "Unknown EAPI" ;;
24esac 27esac
25EXPORT_FUNCTIONS ${GST_EXPF} 28EXPORT_FUNCTIONS ${GST_EXPF}
36my_gst_plugins_base="x xvideo xshm gst_v4l alsa cdparanoia gnome_vfs 39my_gst_plugins_base="x xvideo xshm gst_v4l alsa cdparanoia gnome_vfs
37gio libvisual ogg oggtest theora ivorbis vorbis vorbistest examples 40gio libvisual ogg oggtest theora ivorbis vorbis vorbistest examples
38freetypetest pango" 41freetypetest pango"
39 42
40#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2" 43#SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2"
41SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-base/${MY_P}.tar.bz2" 44SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-base/${MY_P}.tar.${GST_TARBALL_SUFFIX}"
45[[ ${GST_TARBALL_SUFFIX} = "xz" ]] && DEPEND="${DEPEND} app-arch/xz-utils"
42 46
43S=${WORKDIR}/${MY_P} 47S=${WORKDIR}/${MY_P}
44 48
45# added to remove circular deps 49# added to remove circular deps
46# 6/2/2006 - zaheerm 50# 6/2/2006 - zaheerm
47if [ "${PN}" != "${MY_PN}" ]; then 51if [ "${PN}" != "${MY_PN}" ]; then
48RDEPEND=">=media-libs/gst-plugins-base-${PV}" 52RDEPEND=">=media-libs/gst-plugins-base-${PV}"
49DEPEND="${RDEPEND} 53DEPEND="${RDEPEND}
54 ${DEPEND}
50 ~media-libs/gst-plugins-base-${PV} 55 ~media-libs/gst-plugins-base-${PV}
51 >=sys-apps/sed-4 56 >=sys-apps/sed-4
52 virtual/pkgconfig" 57 virtual/pkgconfig"
53RESTRICT=test 58RESTRICT=test
54fi 59fi

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

  ViewVC Help
Powered by ViewVC 1.1.20