summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-31 01:51:52 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-31 01:51:52 +0000
commit0d5c876523a678bd927733b5e1324aab9ad93d16 (patch)
treed2cf56fbf09e4aef71a69609b74b545e6dda2280 /eclass
parentstable ppc ppc64, bug #440318 (diff)
downloadgentoo-2-0d5c876523a678bd927733b5e1324aab9ad93d16.tar.gz
gentoo-2-0d5c876523a678bd927733b5e1324aab9ad93d16.tar.bz2
gentoo-2-0d5c876523a678bd927733b5e1324aab9ad93d16.zip
Use versionator to slot gst-1.0 plugins.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/gst-plugins10.eclass8
2 files changed, 9 insertions, 5 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index c9579868dd9a..e54e68196878 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.488 2012/10/30 21:56:31 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.489 2012/10/31 01:51:52 tetromino Exp $
+
+ 31 Oct 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ gst-plugins10.eclass:
+ Use versionator to slot gst-1.0 plugins.
30 Oct 2012; Michał Górny <mgorny@gentoo.org> systemd.eclass:
Add systemd_with_utildir() as well.
diff --git a/eclass/gst-plugins10.eclass b/eclass/gst-plugins10.eclass
index b7bea45642ba..42029d3cb285 100644
--- a/eclass/gst-plugins10.eclass
+++ b/eclass/gst-plugins10.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins10.eclass,v 1.6 2011/12/27 17:55:12 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins10.eclass,v 1.7 2012/10/31 01:51:52 tetromino Exp $
# Author : foser <foser@gentoo.org>
@@ -14,7 +14,7 @@
# Gentoo developers responsible for gstreamer <gstreamer@gentoo.org> or the application
# developer.
-inherit eutils
+inherit eutils versionator
###
@@ -24,7 +24,7 @@ inherit eutils
# Create a major/minor combo for our SLOT and executables suffix
PVP=(${PV//[-\._]/ })
#PV_MAJ_MIN=${PVP[0]}.${PVP[1]}
-PV_MAJ_MIN=0.10
+PV_MAJ_MIN=$(get_version_component_range '1-2')
# Extract the plugin to build from the ebuild name
# May be set by an ebuild and contain more than one indentifier, space seperated