Gentoo Archives: gentoo-commits

From: "Richard Freeman (rich0)" <rich0@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-plugins/mythplugins: ChangeLog mythplugins-0.27_p20130924.ebuild
Date: Sat, 28 Sep 2013 22:11:08
Message-Id: 20130928221105.2C9912004C@flycatcher.gentoo.org
1 rich0 13/09/28 22:11:05
2
3 Modified: ChangeLog
4 Added: mythplugins-0.27_p20130924.ebuild
5 Log:
6 Major upstream 0.27 release.
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
9
10 Revision Changes Path
11 1.22 media-plugins/mythplugins/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/mythplugins/ChangeLog?rev=1.22&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/mythplugins/ChangeLog?rev=1.22&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/mythplugins/ChangeLog?r1=1.21&r2=1.22
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/ChangeLog,v
20 retrieving revision 1.21
21 retrieving revision 1.22
22 diff -u -r1.21 -r1.22
23 --- ChangeLog 23 Sep 2013 11:51:02 -0000 1.21
24 +++ ChangeLog 28 Sep 2013 22:11:05 -0000 1.22
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-plugins/mythplugins
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/ChangeLog,v 1.21 2013/09/23 11:51:02 rich0 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/ChangeLog,v 1.22 2013/09/28 22:11:05 rich0 Exp $
30 +
31 +*mythplugins-0.27_p20130924 (28 Sep 2013)
32 +
33 + 28 Sep 2013; Richard Freeman <rich0@g.o>
34 + +mythplugins-0.27_p20130924.ebuild:
35 + Major upstream 0.27 release.
36
37 *mythplugins-0.26.0_p20130922 (23 Sep 2013)
38
39
40
41
42 1.1 media-plugins/mythplugins/mythplugins-0.27_p20130924.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/mythplugins/mythplugins-0.27_p20130924.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-plugins/mythplugins/mythplugins-0.27_p20130924.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mythplugins-0.27_p20130924.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/mythplugins-0.27_p20130924.ebuild,v 1.1 2013/09/28 22:11:05 rich0 Exp $
52
53 EAPI=5
54
55 PYTHON_DEPEND="2:2.6"
56 BACKPORTS="d9561055abeec11fba234c9bdfbde5e79e695803"
57 MY_P=${P%_p*}
58
59 inherit eutils python
60
61 DESCRIPTION="Official MythTV plugins"
62 HOMEPAGE="http://www.mythtv.org"
63 SRC_URI="https://github.com/MythTV/mythtv/archive/v0.27.tar.gz -> mythtv-0.27.tar.gz
64 ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69
70 MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \
71 mythmusic mythnetvision mythnews mythweather mythzoneminder"
72
73 IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw"
74
75 DEPEND="!media-plugins/mytharchive
76 !media-plugins/mythbrowser
77 !media-plugins/mythgallery
78 !media-plugins/mythgame
79 !media-plugins/mythmovies
80 !media-plugins/mythmusic
81 !media-plugins/mythnetvision
82 !media-plugins/mythnews
83 !media-plugins/mythweather
84 =media-tv/mythtv-${PV}*:=[python]
85 mytharchive? (
86 app-cdr/dvd+rw-tools
87 virtual/python-imaging:=
88 media-video/dvdauthor
89 media-video/mjpegtools[png]
90 media-video/transcode
91 virtual/cdrtools
92 )
93 mythgallery? (
94 media-libs/tiff:=
95 virtual/opengl
96 exif? ( >media-libs/libexif-0.6.9:= )
97 raw? ( media-gfx/dcraw )
98 )
99 mythmusic? (
100 >=media-libs/flac-1.1.2:=
101 >=media-libs/libvorbis-1.0:=
102 >=media-libs/taglib-1.6:=
103 media-sound/lame
104 virtual/opengl
105 cdda? (
106 dev-libs/libcdio:=
107 cdr? ( virtual/cdrtools )
108 )
109 fftw? ( sci-libs/fftw:= )
110 )
111 mythnetvision? (
112 =dev-lang/python-2*:=[xml]
113 dev-python/lxml:=
114 dev-python/mysql-python:=
115 dev-python/oauth:=
116 dev-python/pycurl:=
117 )
118 mythweather? (
119 dev-perl/DateManip
120 dev-perl/DateTime-Format-ISO8601
121 dev-perl/ImageSize
122 dev-perl/JSON
123 dev-perl/SOAP-Lite
124 dev-perl/XML-Simple
125 dev-perl/XML-Parser
126 dev-perl/XML-SAX
127 dev-perl/XML-XPath
128 )"
129 RDEPEND="${DEPEND}"
130
131 REQUIRED_USE="
132 cdda? ( mythmusic )
133 cdr? ( mythmusic cdda )
134 exif? ( mythgallery )
135 fftw? ( mythmusic )
136 mythnews? ( mythbrowser )
137 raw? ( mythgallery )"
138
139 S="${WORKDIR}/mythtv-0.27/mythplugins"
140
141 pkg_setup() {
142 python_set_active_version 2
143 python_pkg_setup
144 }
145
146 src_prepare() {
147 [[ -n ${BACKPORTS} ]] && \
148 EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${WORKDIR}/${MY_P}/patches" \
149 epatch
150
151 epatch_user
152 }
153
154 src_configure() {
155 ./configure \
156 --prefix=/usr \
157 --python=python2 \
158 --enable-opengl \
159 $(use_enable mythzoneminder) \
160 $(use_enable mytharchive) \
161 $(use_enable mythbrowser) \
162 $(use_enable mythgallery) \
163 $(use_enable mythgame) \
164 $(use_enable mythmusic) \
165 $(use_enable mythnetvision) \
166 $(use_enable mythnews) \
167 $(use_enable mythweather) \
168 $(use_enable cdda cdio) \
169 $(use_enable exif) \
170 $(use_enable exif new-exif) \
171 $(use_enable raw dcraw) \
172 || die "configure failed"
173 }
174
175 src_install() {
176 emake INSTALL_ROOT="${D}" install || die "make install failed"
177 }