summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2013-09-29 17:47:13 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2013-09-29 17:47:13 +0000
commit50309cc06d78e74085ab942248d37b6231c300be (patch)
tree132e6b123a9256080bbc1c7b030d1ed812361b5b /eclass/gst-plugins10.eclass
parentfix automake-1.13 warnings wrt #468808 (diff)
downloadgentoo-2-50309cc06d78e74085ab942248d37b6231c300be.tar.gz
gentoo-2-50309cc06d78e74085ab942248d37b6231c300be.tar.bz2
gentoo-2-50309cc06d78e74085ab942248d37b6231c300be.zip
Add support for gstreamer 1.2 release series.
Diffstat (limited to 'eclass/gst-plugins10.eclass')
-rw-r--r--eclass/gst-plugins10.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass
index 5d91e722ecbd..596d4e195fd2 100644
--- a/eclass/gst-plugins10.eclass
+++ b/eclass/gst-plugins10.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins10.eclass,v 1.10 2013/01/31 19:59:54 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins10.eclass,v 1.11 2013/09/29 17:47:13 eva Exp $
# @ECLASS: gst-plugins10.eclass
# @MAINTAINER:
@@ -102,7 +102,11 @@ HOMEPAGE="http://gstreamer.freedesktop.org/"
SRC_URI="http://gstreamer.freedesktop.org/src/${GST_ORG_MODULE}/${GST_ORG_MODULE}-${PV}.tar.${GST_TARBALL_SUFFIX}"
LICENSE="GPL-2"
-SLOT="${GST_ORG_PVP}"
+case ${GST_ORG_PVP} in
+ 0.10) SLOT="0.10" ;;
+ 1.*) SLOT="1.0" ;;
+ *) die "Unkown gstreamer release."
+esac
S="${WORKDIR}/${GST_ORG_MODULE}-${PV}"