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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Oct 25 11:18:13 2008 UTC (11 years, 3 months ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
cleanup; added patch to fix missing imagemagick header; thanks also to g.naray on #241618 for reporting this
(Portage version: 2.1.4.5)

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

  ViewVC Help
Powered by ViewVC 1.1.20