/[gentoo-x86]/media-plugins/mythplugins/mythplugins-0.25.1.ebuild
Gentoo

Contents of /media-plugins/mythplugins/mythplugins-0.25.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Aug 26 02:44:38 2012 UTC (8 months, 3 weeks ago) by cardoe
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump for upstream fixes. Remove older version.

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/mythplugins-0.25.1.ebuild,v 1.3 2012/07/12 01:51:54 cardoe Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="2:2.6"
8 #BACKPORTS=""
9 MY_P=${P%_p*}
10
11 inherit eutils python
12
13 DESCRIPTION="Official MythTV plugins"
14 HOMEPAGE="http://www.mythtv.org"
15 SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/mythplugins-0.25.1.tar.bz2
16 ${BACKPORTS:+http://dev.gentoo.org/~cardoe/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
17
18 LICENSE="GPL-2"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21
22 MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \
23 mythmusic mythnetvision mythnews mythweather"
24
25 IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw"
26
27 DEPEND="!media-plugins/mytharchive
28 !media-plugins/mythbrowser
29 !media-plugins/mythgallery
30 !media-plugins/mythgame
31 !media-plugins/mythmovies
32 !media-plugins/mythmusic
33 !media-plugins/mythnetvision
34 !media-plugins/mythnews
35 !media-plugins/mythweather
36 =media-tv/mythtv-${PV}*[python]
37 mytharchive? (
38 app-cdr/dvd+rw-tools
39 dev-python/imaging
40 media-video/dvdauthor
41 media-video/mjpegtools[png]
42 media-video/transcode
43 virtual/cdrtools
44 )
45 mythgallery? (
46 media-libs/tiff
47 virtual/opengl
48 exif? ( >media-libs/libexif-0.6.9 )
49 raw? ( media-gfx/dcraw )
50 )
51 mythmusic? (
52 >=media-libs/flac-1.1.2
53 >=media-libs/libvorbis-1.0
54 >=media-libs/taglib-1.6
55 media-sound/lame
56 virtual/opengl
57 cdda? (
58 dev-libs/libcdio
59 cdr? ( virtual/cdrtools )
60 )
61 fftw? ( sci-libs/fftw )
62 )
63 mythnetvision? (
64 =dev-lang/python-2*[xml]
65 dev-python/lxml
66 dev-python/mysql-python
67 dev-python/oauth
68 dev-python/pycurl
69 )
70 mythweather? (
71 dev-perl/DateManip
72 dev-perl/DateTime-Format-ISO8601
73 dev-perl/ImageSize
74 dev-perl/JSON
75 dev-perl/SOAP-Lite
76 dev-perl/XML-Simple
77 dev-perl/XML-Parser
78 dev-perl/XML-SAX
79 dev-perl/XML-XPath
80 )"
81 RDEPEND="${DEPEND}"
82
83 REQUIRED_USE="
84 cdda? ( mythmusic )
85 cdr? ( mythmusic cdda )
86 exif? ( mythgallery )
87 fftw? ( mythmusic )
88 mythnews? ( mythbrowser )
89 raw? ( mythgallery )"
90
91 pkg_setup() {
92 python_set_active_version 2
93 python_pkg_setup
94 }
95
96 src_prepare() {
97 [[ -n ${BACKPORTS} ]] && \
98 EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \
99 epatch
100
101 epatch_user
102 }
103
104 src_configure() {
105 ./configure \
106 --prefix=/usr \
107 --python=python2 \
108 --enable-opengl \
109 --disable-mythzoneminder \
110 $(use_enable mytharchive) \
111 $(use_enable mythbrowser) \
112 $(use_enable mythgallery) \
113 $(use_enable mythgame) \
114 $(use_enable mythmusic) \
115 $(use_enable mythnetvision) \
116 $(use_enable mythnews) \
117 $(use_enable mythweather) \
118 $(use_enable cdda cdio) \
119 $(use_enable exif) \
120 $(use_enable exif new-exif) \
121 $(use_enable raw dcraw) \
122 || die "configure failed"
123 }
124
125 src_install() {
126 emake INSTALL_ROOT="${D}" install || die "make install failed"
127 }

  ViewVC Help
Powered by ViewVC 1.1.13