summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-11-20 09:58:26 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-11-20 09:58:26 +0000
commit7b02df94f1c9dfd21cc00973581a1bbddd512369 (patch)
tree6ce4a3d7b0a1dc2a5b95427541cf41d303be11b7 /media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild
parentversion bump - remove old versions (diff)
downloadhistorical-7b02df94f1c9dfd21cc00973581a1bbddd512369.tar.gz
historical-7b02df94f1c9dfd21cc00973581a1bbddd512369.tar.bz2
historical-7b02df94f1c9dfd21cc00973581a1bbddd512369.zip
Fix installing sub-plugins, thanks to chub for reporting.
Package-Manager: portage-2.2_rc50/cvs/Linux i686
Diffstat (limited to 'media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild')
-rw-r--r--media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild21
1 files changed, 11 insertions, 10 deletions
diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild
index 98e243133e66..1dc65ce3cd3b 100644
--- a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild
+++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild,v 1.1 2009/08/26 08:20:13 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.4_p20090820.ebuild,v 1.2 2009/11/20 09:58:26 zzam Exp $
GENTOO_VDR_CONDITIONAL=yes
@@ -11,9 +11,6 @@ inherit vdr-plugin eutils multilib versionator
MY_PV=${PV#*_p}
MY_P=${PN}-cvs-${MY_PV}
-SO_VERSION="${PV%_p*}"
-SO_VERSION="${SO_VERSION/_/}"
-
DESCRIPTION="Video Disk Recorder Xinelib PlugIn"
HOMEPAGE="http://sourceforge.net/projects/xineliboutput/"
SRC_URI="http://dev.gentoo.org/~ssuominen/${MY_P}.tar.bz2"
@@ -130,13 +127,17 @@ src_install() {
# install vdr plugin
vdr-plugin_src_install
- # There may be no sub-plugin, depending on use-flags
+ # version number that the sources contain
+ local SO_VERSION="$(grep 'static const char \*VERSION *=' xineliboutput.c |\
+ cut -d'"' -f2)"
+ echo SO_VERSION=$SO_VERSION
insinto ${VDR_PLUGIN_DIR}
- local f
- for f in libxineliboutput*.so.${SO_VERSION}; do
- [[ -f "$f" ]] || continue
- doins "${f}" || die "could not install sub-plugin ${f}"
- done
+ if use fbcon; then
+ doins libxineliboutput-fbfe.so.${SO_VERSION} || die "doins failed"
+ fi
+ if use X; then
+ doins libxineliboutput-sxfe.so.${SO_VERSION} || die "doins failed"
+ fi
fi
if use xine; then