From 0d5c876523a678bd927733b5e1324aab9ad93d16 Mon Sep 17 00:00:00 2001 From: Alexandre Rostovtsev Date: Wed, 31 Oct 2012 01:51:52 +0000 Subject: Use versionator to slot gst-1.0 plugins. --- eclass/ChangeLog | 6 +++++- eclass/gst-plugins10.eclass | 8 ++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'eclass') 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 + gst-plugins10.eclass: + Use versionator to slot gst-1.0 plugins. 30 Oct 2012; Michał Górny 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 @@ -14,7 +14,7 @@ # Gentoo developers responsible for gstreamer 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 -- cgit v1.2.3-65-gdbad