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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sat Jan 17 21:22:44 2015 UTC (5 years, 1 month ago) by hd_brummy
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
fixed typo, this fixed the not founding patch sources, wrt bug 536824, thx to T.Foerster for reporting this

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 34C2808A)

1 # Copyright 1999-2015 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_pre5.ebuild,v 1.3 2014/11/08 18:13:01 hd_brummy Exp $
4
5 EAPI=5
6
7 inherit vdr-plugin-2
8
9 MY_PV=0.9.13-MKIV-pre3
10 MY_P=${PN}-${MY_PV}
11
12 S=${WORKDIR}/mp3ng-0.9.13-MKIV-pre3
13
14 DESCRIPTION="VDR Plugin: play mp3 and ogg on VDR"
15 HOMEPAGE="http://www.glaserei-franz.de/VDR/Moronimo2/vdrplugins.htm"
16 SRC_URI="http://www.glaserei-franz.de/VDR/Moronimo2/downloads/${MY_P}.tar.gz
17 mirror://gentoo/${PN}-pictures-0.0.1.tar.gz
18 mirror://gentoo/${PN}-0.0.1_pre4-span-0.0.3.diff.tar.gz"
19
20 LICENSE="GPL-2"
21 SLOT="0"
22 KEYWORDS="~amd64 ~x86"
23 IUSE="vorbis oss imagemagick"
24
25 DEPEND=">=media-video/vdr-1.6
26 media-libs/libmad
27 media-libs/libid3tag
28 sys-libs/zlib
29 media-libs/libsndfile
30 vorbis? ( media-libs/libvorbis )
31 imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )
32 !imagemagick? ( media-libs/imlib2 )"
33
34 src_prepare() {
35 vdr-plugin-2_src_prepare
36
37 epatch "${FILESDIR}/${PN}-0.0.1_pre4-gentoo.diff"
38 epatch "${FILESDIR}/${PN}-0.0.1_pre4-gcc4.diff"
39 epatch "${DISTDIR}/${PN}-0.0.1_pre4-span-0.0.3.diff.tar.gz"
40 epatch "${FILESDIR}/${PN}-0.0.1_pre4-vdr-1.5.1.diff"
41 epatch "${FILESDIR}/${PN}-0.0.1_pre4-glibc-2.10.patch"
42
43 use !vorbis && sed -i "s:#WITHOUT_LIBVORBISFILE:WITHOUT_LIBVORBISFILE:" Makefile
44 use oss && sed -i "s:#WITH_OSS_OUTPUT:WITH_OSS_OUTPUT:" Makefile
45 use imagemagick && sed -i Makefile \
46 -e "s:HAVE_IMLIB2:#HAVE_IMLIB2:" \
47 -e "s:#HAVE_MAGICK:HAVE_MAGICK:"
48
49 has_version ">=media-video/vdr-1.3.37" && epatch "${FILESDIR}/${PN}-0.0.1_pre4-1.3.37.diff"
50 has_version ">=media-gfx/imagemagick-6.4" && epatch "${FILESDIR}/imagemagick-6.4.x.diff"
51
52 sed -i mp3ng.c -e "s:RegisterI18n:// RegisterI18n:"
53 }
54
55 src_install() {
56 vdr-plugin-2_src_install
57
58 insinto /etc/vdr/plugins/mp3ng
59 doins "${FILESDIR}/mp3ngsources"
60
61 insinto /usr/share/vdr/mp3ng
62 doins "${WORKDIR}/${PN}-pictures-0.0.1"/*.jpg
63 doins "${S}/images/mp3MKIV-spectrum-analyzer-bg.png"
64
65 newbin examples/mount.sh.example mount-mp3ng.sh
66
67 dodoc HISTORY MANUAL README README-MORONIMO examples/network.sh.example
68 }

  ViewVC Help
Powered by ViewVC 1.1.20