diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-10-21 07:48:32 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-10-21 07:48:32 +0000 |
commit | b72a29fe25752343978fb7194909e16b36b98002 (patch) | |
tree | e2088169192f8c343508e75dd1ae61fc4b5e6f16 | |
parent | Temporary mask to allow gradual addition of gstreamer-0.10.36 and its numerou... (diff) | |
download | gentoo-2-b72a29fe25752343978fb7194909e16b36b98002.tar.gz gentoo-2-b72a29fe25752343978fb7194909e16b36b98002.tar.bz2 gentoo-2-b72a29fe25752343978fb7194909e16b36b98002.zip |
Switch to xz tarballs in EAPI4.
-rw-r--r-- | eclass/ChangeLog | 6 | ||||
-rw-r--r-- | eclass/gst-plugins-base.eclass | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 4d313657e0d4..b34d4b8f9e52 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for eclass directory # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.454 2012/10/19 19:55:51 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.455 2012/10/21 07:48:32 tetromino Exp $ + + 21 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + gst-plugins-base.eclass: + Switch to xz tarballs in EAPI4. 19 Oct 2012; Michał Górny <mgorny@gentoo.org> distutils-r1.eclass: Call no-op default phases for each implementation (meaningless but more diff --git a/eclass/gst-plugins-base.eclass b/eclass/gst-plugins-base.eclass index b63e97cbce82..471c1187b5fc 100644 --- a/eclass/gst-plugins-base.eclass +++ b/eclass/gst-plugins-base.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.22 2012/06/02 19:02:42 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.23 2012/10/21 07:48:32 tetromino Exp $ # Author : foser <foser@gentoo.org> @@ -17,7 +17,10 @@ inherit eutils gst-plugins10 multilib GST_EXPF="src_unpack src_compile src_install" +GST_TARBALL_SUFFIX="bz2" case ${EAPI:-0} in + 4) GST_EXPF="${GST_EXPF} src_prepare src_configure" + GST_TARBALL_SUFFIX="xz" ;; 2|3) GST_EXPF="${GST_EXPF} src_prepare src_configure" ;; 1|0) ;; *) die "Unknown EAPI" ;; @@ -38,7 +41,8 @@ gio libvisual ogg oggtest theora ivorbis vorbis vorbistest examples freetypetest pango" #SRC_URI="mirror://gnome/sources/gst-plugins/${PV_MAJ_MIN}/${MY_P}.tar.bz2" -SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-base/${MY_P}.tar.bz2" +SRC_URI="http://gstreamer.freedesktop.org/src/gst-plugins-base/${MY_P}.tar.${GST_TARBALL_SUFFIX}" +[[ ${GST_TARBALL_SUFFIX} = "xz" ]] && DEPEND="${DEPEND} app-arch/xz-utils" S=${WORKDIR}/${MY_P} @@ -47,6 +51,7 @@ S=${WORKDIR}/${MY_P} if [ "${PN}" != "${MY_PN}" ]; then RDEPEND=">=media-libs/gst-plugins-base-${PV}" DEPEND="${RDEPEND} + ${DEPEND} ~media-libs/gst-plugins-base-${PV} >=sys-apps/sed-4 virtual/pkgconfig" |