/[gentoo-x86]/media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild
Gentoo

Contents of /media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Thu May 4 09:02:59 2006 UTC (13 years, 8 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
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)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-mp3ng/vdr-mp3ng-0.9.13_pre3.ebuild,v 1.4 2006/03/31 17:45:16 hd_brummy Exp $
4
5 inherit vdr-plugin
6
7 MY_P=${P/_pre3}-MKIV-pre3
8
9 S=${WORKDIR}/mp3ng-0.9.13-MKIV-pre3
10
11 DESCRIPTION="Plugin to play mp3 and ogg on VDR"
12 HOMEPAGE="http://www.glaserei-franz.de/VDR/Moronimo2/vdrplugins.htm"
13 SRC_URI="http://www.glaserei-franz.de/VDR/Moronimo2/downloads/${MY_P}.tar.gz
14 mirror://gentoo/${PN}-pictures-0.0.1.tar.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~x86 ~amd64"
19 IUSE="vorbis oss imagemagick"
20
21 DEPEND=">=media-video/vdr-1.2.6
22 media-libs/libmad
23 media-libs/libid3tag
24 sys-libs/zlib
25 media-libs/libsndfile
26 vorbis? ( media-libs/libvorbis )
27 imagemagick? ( media-gfx/imagemagick )
28 !imagemagick? ( media-libs/imlib2 )"
29
30 src_unpack() {
31 vdr-plugin_src_unpack
32
33 epatch ${FILESDIR}/${P}-gentoo.diff
34
35 use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile
36 use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile
37 use imagemagick && sed -i Makefile -e "s:HAVE_IMLIB2:#HAVE_IMLIB2:" \
38 -e "s:#HAVE_MAGICK:HAVE_MAGICK:"
39
40 has_version ">=media-video/vdr-1.3.37" && epatch ${FILESDIR}/${P}-1.3.37.diff
41 }
42
43 src_install() {
44 vdr-plugin_src_install
45
46 insinto /etc/vdr/plugins/mp3ng
47 doins ${FILESDIR}/mp3ngsources
48
49 insinto /usr/share/vdr/mp3ng
50 doins ${WORKDIR}/${PN}-pictures-0.0.1/*.jpg
51
52 newbin examples/mount.sh.example mount-mp3ng.sh
53
54 dodoc HISTORY MANUAL README README-MORONIMO examples/network.sh.example
55 }

  ViewVC Help
Powered by ViewVC 1.1.20