summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-05-04 09:02:59 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-05-04 09:02:59 +0000
commit2d25b3831255701bbe2fd4b5764c2f3d82bdc120 (patch)
treea7a242819ff7932ac8a8ddf7f999292dd87bb4e9 /media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild
parentfix typo in src_install (diff)
downloadgentoo-2-2d25b3831255701bbe2fd4b5764c2f3d82bdc120.tar.gz
gentoo-2-2d25b3831255701bbe2fd4b5764c2f3d82bdc120.tar.bz2
gentoo-2-2d25b3831255701bbe2fd4b5764c2f3d82bdc120.zip
mv vdr-mp3ng-0.9.13_pre3 -> vdr-mp3ng-0.0.1_pre3; bad versions fix is needed by a mistake with the developer on comming up versioning
(Portage version: 2203-svn)
Diffstat (limited to 'media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild')
-rw-r--r--media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild
new file mode 100644
index 000000000000..41f4effe87dd
--- /dev/null
+++ b/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mp3ng/vdr-mp3ng-0.0.1_pre3.ebuild,v 1.1 2006/05/04 09:02:59 hd_brummy Exp $
+
+inherit vdr-plugin
+
+MY_PV=${PV/0.0.1_pre3}0.9.13-MKIV-pre3
+MY_P=${PN}-${MY_PV}
+
+S=${WORKDIR}/mp3ng-0.9.13-MKIV-pre3
+
+DESCRIPTION="Plugin to play mp3 and ogg on VDR"
+HOMEPAGE="http://www.glaserei-franz.de/VDR/Moronimo2/vdrplugins.htm"
+SRC_URI="http://www.glaserei-franz.de/VDR/Moronimo2/downloads/${MY_P}.tar.gz
+ mirror://gentoo/${PN}-pictures-0.0.1.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="vorbis oss imagemagick"
+
+DEPEND=">=media-video/vdr-1.2.6
+ media-libs/libmad
+ media-libs/libid3tag
+ sys-libs/zlib
+ media-libs/libsndfile
+ vorbis? ( media-libs/libvorbis )
+ imagemagick? ( media-gfx/imagemagick )
+ !imagemagick? ( media-libs/imlib2 )"
+
+src_unpack() {
+ vdr-plugin_src_unpack
+
+ epatch ${FILESDIR}/${P}-gentoo.diff
+
+ use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile
+ use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile
+ use imagemagick && sed -i Makefile -e "s:HAVE_IMLIB2:#HAVE_IMLIB2:" \
+ -e "s:#HAVE_MAGICK:HAVE_MAGICK:"
+
+ has_version ">=media-video/vdr-1.3.37" && epatch ${FILESDIR}/${P}-1.3.37.diff
+}
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /etc/vdr/plugins/mp3ng
+ doins ${FILESDIR}/mp3ngsources
+
+ insinto /usr/share/vdr/mp3ng
+ doins ${WORKDIR}/${PN}-pictures-0.0.1/*.jpg
+
+ newbin examples/mount.sh.example mount-mp3ng.sh
+
+ dodoc HISTORY MANUAL README README-MORONIMO examples/network.sh.example
+}