summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2008-02-18 13:33:58 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2008-02-18 13:33:58 +0000
commit694e738e5b61ec8eb20a4b76bb8ebc6b676f90c3 (patch)
treeb19bab7abe1decfcf793788733823941d735b339 /media-plugins/vdr-xineliboutput
parentDon't install a web shortcut for packages.gentoo.org,as it doesn't have searc... (diff)
downloadgentoo-2-694e738e5b61ec8eb20a4b76bb8ebc6b676f90c3.tar.gz
gentoo-2-694e738e5b61ec8eb20a4b76bb8ebc6b676f90c3.tar.bz2
gentoo-2-694e738e5b61ec8eb20a4b76bb8ebc6b676f90c3.zip
Using correct way to determine xine-plugin-directory.
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-plugins/vdr-xineliboutput')
-rw-r--r--media-plugins/vdr-xineliboutput/ChangeLog6
-rw-r--r--media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild14
2 files changed, 13 insertions, 7 deletions
diff --git a/media-plugins/vdr-xineliboutput/ChangeLog b/media-plugins/vdr-xineliboutput/ChangeLog
index 6d70f7315f34..2b3547fff63a 100644
--- a/media-plugins/vdr-xineliboutput/ChangeLog
+++ b/media-plugins/vdr-xineliboutput/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-plugins/vdr-xineliboutput
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.34 2008/02/17 21:52:16 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/ChangeLog,v 1.35 2008/02/18 13:33:58 zzam Exp $
+
+ 18 Feb 2008; Matthias Schwarzott <zzam@gentoo.org>
+ vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild:
+ Using correct way to determine xine-plugin-directory.
*vdr-xineliboutput-1.0.0_rc2_p20080120-r1 (17 Feb 2008)
diff --git a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild
index e2c0d129f9f8..7d45413a20fc 100644
--- a/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild
+++ b/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 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.0_rc2_p20080120-r1.ebuild,v 1.2 2008/02/18 00:40:05 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-xineliboutput/vdr-xineliboutput-1.0.0_rc2_p20080120-r1.ebuild,v 1.3 2008/02/18 13:33:58 zzam Exp $
inherit vdr-plugin eutils multilib versionator
@@ -67,9 +67,11 @@ src_unpack() {
cd "${S}"
- XINE_LIB_VERSION=$(awk -F'"' '/XINE_VERSION/ {print $2}' /usr/include/xine.h)
- XINE_LIB_VERSION=$(get_version_component_range 1-3 "${XINE_LIB_VERSION}")
- einfo "Compiling against xine-lib version ${XINE_LIB_VERSION}"
+ XINE_PLUGIN_DIR=$(xine-config --plugindir)
+ if [[ ${XINE_PLUGIN_DIR} = "" ]]; then
+ eerror "Could not find xine plugin dir"
+ die "Could not find xine plugin dir"
+ fi
set_var_in_makefile VDRPLUGIN 1
set_var_in_makefile XINEPLUGIN 1
@@ -94,9 +96,9 @@ src_install() {
insinto ${VDR_PLUGIN_DIR}
doins *.so.${SO_VERSION} || die "could not install sub-plugins"
- insinto /usr/$(get_libdir)/xine/plugins/${XINE_LIB_VERSION}
+ insinto "${XINE_PLUGIN_DIR}"
doins xineplug_inp_*.so
- insinto /usr/$(get_libdir)/xine/plugins/${XINE_LIB_VERSION}/post
+ insinto "${XINE_PLUGIN_DIR}"/post
doins xineplug_post_*.so
}