summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-23 08:09:35 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-10-23 08:09:35 +0000
commitf77975dc07a9ef0683b248c454b33319dfdec959 (patch)
tree0f4a6d72dc478128fafb9800c7897eab966e46c4 /eclass/gst-plugins-base.eclass
parentRemove old. (diff)
downloadgentoo-2-f77975dc07a9ef0683b248c454b33319dfdec959.tar.gz
gentoo-2-f77975dc07a9ef0683b248c454b33319dfdec959.tar.bz2
gentoo-2-f77975dc07a9ef0683b248c454b33319dfdec959.zip
Punt plugin .la files for 0.10.36 and EAPI4
Diffstat (limited to 'eclass/gst-plugins-base.eclass')
-rw-r--r--eclass/gst-plugins-base.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/gst-plugins-base.eclass b/eclass/gst-plugins-base.eclass
index 471c1187b5fc..fa4a54b0811b 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.23 2012/10/21 07:48:32 tetromino Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gst-plugins-base.eclass,v 1.24 2012/10/23 08:09:35 tetromino Exp $
# Author : foser <foser@gentoo.org>
@@ -18,9 +18,11 @@ inherit eutils gst-plugins10 multilib
GST_EXPF="src_unpack src_compile src_install"
GST_TARBALL_SUFFIX="bz2"
+GST_LA_PUNT="no"
case ${EAPI:-0} in
4) GST_EXPF="${GST_EXPF} src_prepare src_configure"
- GST_TARBALL_SUFFIX="xz" ;;
+ GST_TARBALL_SUFFIX="xz"
+ GST_LA_PUNT="yes" ;;
2|3) GST_EXPF="${GST_EXPF} src_prepare src_configure" ;;
1|0) ;;
*) die "Unknown EAPI" ;;
@@ -143,6 +145,7 @@ gst-plugins-base_src_install() {
gst-plugins10_find_plugin_dir
einstall || die
+ [[ ${GST_LA_PUNT} = "yes" ]] && prune_libtool_files --modules
[[ -e README ]] && dodoc README
}