summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2010-12-31 14:43:39 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2010-12-31 14:43:39 +0000
commit491082ced0c974e2b1a4be75af66647b9f9fc014 (patch)
treed93b5b423e43551da54fc2157ec91d82c1fa36a8 /media-plugins
parentStable on amd64 wrt bug #336465 (diff)
downloadgentoo-2-491082ced0c974e2b1a4be75af66647b9f9fc014.tar.gz
gentoo-2-491082ced0c974e2b1a4be75af66647b9f9fc014.tar.bz2
gentoo-2-491082ced0c974e2b1a4be75af66647b9f9fc014.zip
version bump
(Portage version: 2.1.9.24/cvs/Linux i686)
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/vdr-music/ChangeLog9
-rw-r--r--media-plugins/vdr-music/files/vdr-music-0.9.3-makefile.patch12
-rw-r--r--media-plugins/vdr-music/metadata.xml1
-rw-r--r--media-plugins/vdr-music/vdr-music-0.9.3.ebuild61
4 files changed, 82 insertions, 1 deletions
diff --git a/media-plugins/vdr-music/ChangeLog b/media-plugins/vdr-music/ChangeLog
index 05f9ba4accc1..107d90e47cb6 100644
--- a/media-plugins/vdr-music/ChangeLog
+++ b/media-plugins/vdr-music/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-plugins/vdr-music
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/ChangeLog,v 1.10 2010/12/30 00:02:54 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/ChangeLog,v 1.11 2010/12/31 14:43:39 hd_brummy Exp $
+
+*vdr-music-0.9.3 (31 Dec 2010)
+
+ 31 Dec 2010; Joerg Bornkessel <hd_brummy@gentoo.org>
+ +vdr-music-0.9.3.ebuild, +files/vdr-music-0.9.3-makefile.patch,
+ metadata.xml:
+ version bump
30 Dec 2010; Joerg Bornkessel <hd_brummy@gentoo.org>
vdr-music-0.2.0.ebuild, +files/vdr-music-0.2.0-ImageMagick-header.diff:
diff --git a/media-plugins/vdr-music/files/vdr-music-0.9.3-makefile.patch b/media-plugins/vdr-music/files/vdr-music-0.9.3-makefile.patch
new file mode 100644
index 000000000000..435c12c18ae4
--- /dev/null
+++ b/media-plugins/vdr-music/files/vdr-music-0.9.3-makefile.patch
@@ -0,0 +1,12 @@
+diff -Naur music-0.9.3-testing.orig//Makefile music-0.9.3-testing/Makefile
+--- music-0.9.3-testing.orig//Makefile 2010-03-18 18:54:58.000000000 +0100
++++ music-0.9.3-testing/Makefile 2010-03-18 18:56:11.000000000 +0100
+@@ -72,7 +72,7 @@
+ APIVERSION = $(shell sed -ne '/define APIVERSION/s/^.*"\(.*\)".*$$/\1/p' $(VDRDIR)/config.h)
+
+ ### Test whether VDR has locale support
+-VDRLOCALE = $(shell grep '^LOCALEDIR' $(VDRDIR)/Makefile)
++VDRLOCALE = $(shell grep '^LOCDIR' $(VDRDIR)/Make.config)
+
+ ### The name of the distribution archive:
+
diff --git a/media-plugins/vdr-music/metadata.xml b/media-plugins/vdr-music/metadata.xml
index e9f59c098cc7..f57f3232cf0a 100644
--- a/media-plugins/vdr-music/metadata.xml
+++ b/media-plugins/vdr-music/metadata.xml
@@ -12,6 +12,7 @@
<flag name='ff-card'>Enables scrollmode on FF-Card</flag>
<flag name='graphtft'>Enable support for
<pkg>media-plugins/vdr-graphtft</pkg></flag>
+ <flag name='hd'>Support for HighDefinition OSD on softdecoder( e.g xineliboutput, vdpau, ehd )</flag>
</use>
</pkgmetadata>
diff --git a/media-plugins/vdr-music/vdr-music-0.9.3.ebuild b/media-plugins/vdr-music/vdr-music-0.9.3.ebuild
new file mode 100644
index 000000000000..b4278b5a53d4
--- /dev/null
+++ b/media-plugins/vdr-music/vdr-music-0.9.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-music/vdr-music-0.9.3.ebuild,v 1.1 2010/12/31 14:43:39 hd_brummy Exp $
+
+EAPI="2"
+
+inherit vdr-plugin
+
+MY_P="${P}-testing"
+S="${WORKDIR}/music-${PV}-testing"
+
+DESCRIPTION="VDR plugin: music"
+HOMEPAGE="http://www.vdr.glaserei-franz.de/vdrplugins.htm"
+SRC_URI="http://www.vdr.glaserei-franz.de/files/${MY_P}.tgz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+
+IUSE="+hd +truetype +imagemagick debug graphtft sndfile vorbis"
+
+PATCHES=("${FILESDIR}/${P}-makefile.patch")
+
+DEPEND=">=media-video/vdr-1.6.0
+ media-libs/libmad
+ media-libs/libid3tag
+ graphtft? ( media-gfx/imagemagick[png] )
+ imagemagick? ( media-gfx/imagemagick[png] )
+ sndfile? ( media-libs/libsndfile )
+ vorbis? ( media-libs/libvorbis )
+ !imagemagick? (
+ !graphtft? ( media-libs/imlib2[png] )
+ )"
+
+RDEPEND="sys-process/at
+ graphtft? ( >=media-plugins/vdr-graphtft-0.1.5 )"
+
+src_prepare() {
+ vdr-plugin_src_prepare
+
+ use !vorbis && sed -i Makefile -e "s:#WITHOUT_LIBVORBISFILE=1:WITHOUT_LIBVORBISFILE=1:"
+ use !hd && sed -i Makefile -e "s:HAVE_HD_OSD=1:#HAVE_HD_OSD=1:"
+ use !sndfile && sed -i Makefile -e "s:#WITHOUT_LIBSNDFILE=1:WITHOUT_LIBSNDFILE=1:"
+ use !truetype && sed -i Makefile -e "s:HAVE_FREETYPE=1:#HAVE_FREETYPE=1:"
+ use !debug && sed -i Makefile -e "s:DEBUG=1:#DEBUG=1:"
+ use graphtft || use imagemagick && sed -i Makefile \
+ -e "s:#HAVE_MAGICK=1:HAVE_MAGICK=1:" \
+ -e "s:#MAGICKDIR=:MAGICKDIR=:"
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/music
+ doins -r music/*
+ chown -R vdr:vdr "${D}"/etc/vdr/plugins/music
+
+ exeinto /usr/share/vdr/music/downloads/music_cover
+ doexe music/downloads/music_cover/*
+ chown -R vdr:vdr "${D}"/usr/share/vdr/music
+}