diff options
author | Richard Freeman <rich0@gentoo.org> | 2013-07-03 11:36:31 +0000 |
---|---|---|
committer | Richard Freeman <rich0@gentoo.org> | 2013-07-03 11:36:31 +0000 |
commit | b0964bae81ed91f17c96004706edb890504cd675 (patch) | |
tree | a0221dfed0ba8c3a141ede281d9def64b9cb2b1f /media-plugins/mythplugins | |
parent | Update patchset. (diff) | |
download | gentoo-2-b0964bae81ed91f17c96004706edb890504cd675.tar.gz gentoo-2-b0964bae81ed91f17c96004706edb890504cd675.tar.bz2 gentoo-2-b0964bae81ed91f17c96004706edb890504cd675.zip |
Update patchset, EAPI, bug 475368.
(Portage version: 2.1.12.2/cvs/Linux x86_64, signed Manifest commit with key 0x08C170DE55EC123A)
Diffstat (limited to 'media-plugins/mythplugins')
-rw-r--r-- | media-plugins/mythplugins/ChangeLog | 8 | ||||
-rw-r--r-- | media-plugins/mythplugins/mythplugins-0.26.0_p20130630.ebuild | 129 |
2 files changed, 136 insertions, 1 deletions
diff --git a/media-plugins/mythplugins/ChangeLog b/media-plugins/mythplugins/ChangeLog index 86a3c147b5e8..23933f371be4 100644 --- a/media-plugins/mythplugins/ChangeLog +++ b/media-plugins/mythplugins/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-plugins/mythplugins # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/ChangeLog,v 1.16 2013/06/09 19:48:44 rich0 Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/ChangeLog,v 1.17 2013/07/03 11:36:31 rich0 Exp $ + +*mythplugins-0.26.0_p20130630 (03 Jul 2013) + + 03 Jul 2013; Richard Freeman <rich0@gentoo.org> + +mythplugins-0.26.0_p20130630.ebuild: + Update patchset, EAPI, bug 475368. *mythplugins-0.26.0_p20130526 (09 Jun 2013) diff --git a/media-plugins/mythplugins/mythplugins-0.26.0_p20130630.ebuild b/media-plugins/mythplugins/mythplugins-0.26.0_p20130630.ebuild new file mode 100644 index 000000000000..729cb60bf9b5 --- /dev/null +++ b/media-plugins/mythplugins/mythplugins-0.26.0_p20130630.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythplugins/mythplugins-0.26.0_p20130630.ebuild,v 1.1 2013/07/03 11:36:31 rich0 Exp $ + +EAPI=5 + +PYTHON_DEPEND="2:2.6" +BACKPORTS="8916cd7f6bf255a4325ede834b5e3d6e555b2338" +MY_P=${P%_p*} + +inherit eutils python + +DESCRIPTION="Official MythTV plugins" +HOMEPAGE="http://www.mythtv.org" +SRC_URI="ftp://ftp.osuosl.org/pub/mythtv/${MY_P}.tar.bz2 + ${BACKPORTS:+http://dev.gentoo.org/~rich0/distfiles/${MY_P}-${BACKPORTS}.tar.xz}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +MYTHPLUGINS="mytharchive mythbrowser mythgallery mythgame \ +mythmusic mythnetvision mythnews mythweather mythzoneminder" + +IUSE="${MYTHPLUGINS} cdda cdr exif fftw raw" + +DEPEND="!media-plugins/mytharchive + !media-plugins/mythbrowser + !media-plugins/mythgallery + !media-plugins/mythgame + !media-plugins/mythmovies + !media-plugins/mythmusic + !media-plugins/mythnetvision + !media-plugins/mythnews + !media-plugins/mythweather + =media-tv/mythtv-${PV}*:=[python] + mytharchive? ( + app-cdr/dvd+rw-tools + virtual/python-imaging:= + media-video/dvdauthor + media-video/mjpegtools[png] + media-video/transcode + virtual/cdrtools + ) + mythgallery? ( + media-libs/tiff:= + virtual/opengl + exif? ( >media-libs/libexif-0.6.9:= ) + raw? ( media-gfx/dcraw ) + ) + mythmusic? ( + >=media-libs/flac-1.1.2:= + >=media-libs/libvorbis-1.0:= + >=media-libs/taglib-1.6:= + media-sound/lame + virtual/opengl + cdda? ( + dev-libs/libcdio:= + cdr? ( virtual/cdrtools ) + ) + fftw? ( sci-libs/fftw:= ) + ) + mythnetvision? ( + =dev-lang/python-2*:=[xml] + dev-python/lxml:= + dev-python/mysql-python:= + dev-python/oauth:= + dev-python/pycurl:= + ) + mythweather? ( + dev-perl/DateManip + dev-perl/DateTime-Format-ISO8601 + dev-perl/ImageSize + dev-perl/JSON + dev-perl/SOAP-Lite + dev-perl/XML-Simple + dev-perl/XML-Parser + dev-perl/XML-SAX + dev-perl/XML-XPath + )" +RDEPEND="${DEPEND}" + +REQUIRED_USE=" + cdda? ( mythmusic ) + cdr? ( mythmusic cdda ) + exif? ( mythgallery ) + fftw? ( mythmusic ) + mythnews? ( mythbrowser ) + raw? ( mythgallery )" + +S="${WORKDIR}/${MY_P}" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + [[ -n ${BACKPORTS} ]] && \ + EPATCH_FORCE=yes EPATCH_SUFFIX="patch" EPATCH_SOURCE="${S}/patches" \ + epatch + + epatch_user +} + +src_configure() { + ./configure \ + --prefix=/usr \ + --python=python2 \ + --enable-opengl \ + $(use_enable mythzoneminder) \ + $(use_enable mytharchive) \ + $(use_enable mythbrowser) \ + $(use_enable mythgallery) \ + $(use_enable mythgame) \ + $(use_enable mythmusic) \ + $(use_enable mythnetvision) \ + $(use_enable mythnews) \ + $(use_enable mythweather) \ + $(use_enable cdda cdio) \ + $(use_enable exif) \ + $(use_enable exif new-exif) \ + $(use_enable raw dcraw) \ + || die "configure failed" +} + +src_install() { + emake INSTALL_ROOT="${D}" install || die "make install failed" +} |