summaryrefslogtreecommitdiff
path: root/media-plugins/mythplugins
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/mythplugins')
-rw-r--r--media-plugins/mythplugins/Manifest5
-rw-r--r--media-plugins/mythplugins/metadata.xml24
-rw-r--r--media-plugins/mythplugins/mythplugins-0.28.1.ebuild163
3 files changed, 192 insertions, 0 deletions
diff --git a/media-plugins/mythplugins/Manifest b/media-plugins/mythplugins/Manifest
new file mode 100644
index 000000000000..38ec8b14f16c
--- /dev/null
+++ b/media-plugins/mythplugins/Manifest
@@ -0,0 +1,5 @@
+DIST mythtv-0.28.1.tar.gz 104477892 SHA256 73dd4de0de6fe5688c290781b76de6380b256a87159f2c6e3dad66870389da1f SHA512 67a81858cd19b90f519113b234119ecc248366d8545c862d887755f256cddf04d9ca16a7bf67f63e06f7628730e7dbde2a2099ca8aaeb9061b2e55a5a0b7d5e7 WHIRLPOOL 370f3a528438d50d302ab6adadba5089b32749f8127cbf270b85ef16d35ca15026e0947e292920a3dd6acf2ed65de68af8754d985944bd59f3310a42b03551de
+EBUILD mythplugins-0.28.1.ebuild 3719 SHA256 45f9419fc92ea777ae1674d3a0927a7e082cddf83042e7a15e1a652c0535da74 SHA512 5f9deaaa49039c340022419a6b518c0143110762f4840bd6e9b7a5315e42ad2aaf551667a09caf2f290e1ba2af839b50c3700fcca60a7904eed34cfc4f3228b4 WHIRLPOOL a1901c03ecdb11b89ee4f8821b4df6e41b6240bf8a7d6b7224af8be3693b615055cb1d274a463c0c25e16a8669bddef23c90f369bdfa314cbfee6f4d5849eaea
+MISC ChangeLog 7459 SHA256 7114d8ea201ee6d7835238d83660068b0286f43916e71e891a13516f6dcf33ae SHA512 3cc6335447fee4000b884d2b2255b6f43db5b1e50a74a90fa3d16c7e1811a53aecf7af2fc87d00ef1afc3b07e446f4164c8959be56355af4c18366df2f2996ee WHIRLPOOL c27d298381291c5e07aa4566c50951391109049585866fb6af0bc908ec6f78197a8b570a140c0771f364a68d8fd71940fa31ace925d935a771b9d5e1103bc106
+MISC ChangeLog-2015 6909 SHA256 12f17d111fe2287411ef9d6c71d024420ed37eb4d3c6725ef746466fb2eb1d43 SHA512 d1724140e1e0a874230f879db55ee8e0acbb4853b99376e9350d5ae45e015e95f8de4bb167b10cbd9363142f07eb626b203e3cb97ac6ed3c11ca667f9ed29de2 WHIRLPOOL 061572eb880cfa8f291cd986f895af41b4939aceff10c5bfbd5ddbd43c542989001a62ce970a24fe1102f411df756be82f39457546700971afb53658bc7b9157
+MISC metadata.xml 1390 SHA256 84f7b1eb2ac49b3edb10873a1d8f6a5e1e785b3e390174b9e9121f906549c7bf SHA512 39e7f486f82acf9e052eb0e26e3f1a2ad2796babb4a7c93885caa4be24ee9b820f6dc7490b670407054dbb5ce06d8d63e093e98a064383d050bd99912d73caef WHIRLPOOL 787c7a8d5d9e3f9b528fc7c95c280c2da2b34c4c8845465b46f392c89c50f3f89c4da0fa6e30ae8f8e22ede2a42217d52259fb6093961adc5be56decd9fed900
diff --git a/media-plugins/mythplugins/metadata.xml b/media-plugins/mythplugins/metadata.xml
new file mode 100644
index 000000000000..05e99f352b02
--- /dev/null
+++ b/media-plugins/mythplugins/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <use>
+ <flag name="cdr">Allows MythMusic to burn CD-Rs</flag>
+ <flag name="exif">Allows MythGallery to read EXIF data from photos</flag>
+ <flag name="fftw">Adds visual effects to MythMusic when playing back music</flag>
+ <flag name="hls">HTTP Live Streaming support</flag>
+ <flag name="raw">Allows MythGallery to view photos saved in RAW format</flag>
+ <flag name="mytharchive">Allows you to archive recorded content to CD or DVD</flag>
+ <flag name="mythbrowser">Adds a web browser within MythTV</flag>
+ <flag name="mythgallery">Adds a picture viewing gallery within MythTV</flag>
+ <flag name="mythgame">Adds a frontend to various ROM emulators within MythTV</flag>
+ <flag name="mythmusic">Adds the ability for MythTV to act as a music player</flag>
+ <flag name="mythnetvision">Adds the ability to view netvision devices within MythTV</flag>
+ <flag name="mythnews">Adds a news viewer within MythTV</flag>
+ <flag name="mythweather">Adds weather information within MythTV</flag>
+ <flag name="mythzoneminder">Adds support for zoneminder (requires a server with the appropriate mythtv daemon somewhere on the network).</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">MythTV/mythtv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-plugins/mythplugins/mythplugins-0.28.1.ebuild b/media-plugins/mythplugins/mythplugins-0.28.1.ebuild
new file mode 100644
index 000000000000..3f901e40b892
--- /dev/null
+++ b/media-plugins/mythplugins/mythplugins-0.28.1.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="xml"
+BACKPORTS="03f44039848bd09444ff4baa8dc158bd61454079"
+MY_P=${P%_p*}
+
+inherit eutils python-single-r1 vcs-snapshot
+
+DESCRIPTION="Official MythTV plugins"
+HOMEPAGE="https://www.mythtv.org"
+SRC_URI="https://github.com/MythTV/mythtv/archive/${BACKPORTS}.tar.gz -> mythtv-${PV}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+MYTHPLUGINS="+mytharchive +mythbrowser +mythgallery +mythgame \
++mythmusic +mythnetvision +mythnews +mythweather +mythzoneminder"
+IUSE="${MYTHPLUGINS} alsa cdda cdr exif fftw +hls ieee1394 libass raw +theora +vorbis +xml xvid"
+
+DEPEND="
+ dev-libs/glib:2
+ dev-libs/openssl:=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtopengl:5
+ dev-qt/qtsql:5
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ ~media-tv/mythtv-${PV}:=[alsa=,hls=,ieee1394=,libass=,python,theora=,vorbis=,xml=,xvid=]
+ sys-apps/util-linux
+ sys-libs/zlib
+ virtual/libudev:=
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXv
+ x11-libs/libXxf86vm
+ alsa? ( >=media-libs/alsa-lib-1.0.24 )
+ fftw? ( sci-libs/fftw:3.0= )
+ hls? (
+ media-libs/faac
+ media-libs/libvpx:=
+ >=media-libs/x264-0.0.20111220:=
+ >=media-sound/lame-3.93.1
+ )
+ ieee1394? (
+ >=media-libs/libiec61883-1.0.0
+ >=sys-libs/libavc1394-0.5.3
+ >=sys-libs/libraw1394-1.2.0
+ )
+ libass? ( >=media-libs/libass-0.9.11:= )
+ mytharchive? (
+ app-cdr/dvd+rw-tools
+ dev-python/pillow
+ media-video/dvdauthor
+ media-video/mjpegtools[png]
+ media-video/transcode
+ virtual/cdrtools
+ )
+ mythbrowser? ( dev-qt/qtwebkit:5 )
+ mythgallery? (
+ media-libs/tiff:0
+ virtual/opengl
+ exif? ( >media-libs/libexif-0.6.9:= )
+ raw? ( media-gfx/dcraw )
+ )
+ mythmusic? (
+ >=media-libs/flac-1.1.2
+ media-libs/libogg
+ >=media-libs/libvorbis-1.0
+ >=media-libs/taglib-1.6
+ >=media-sound/lame-3.93.1
+ virtual/opengl
+ cdda? (
+ dev-libs/libcdio:=
+ cdr? ( virtual/cdrtools )
+ )
+ )
+ mythnetvision? (
+ ${PYTHON_DEPS}
+ dev-python/lxml
+ dev-python/mysql-python
+ dev-python/oauth
+ dev-python/pycurl
+ )
+ mythweather? (
+ dev-perl/Date-Manip
+ dev-perl/DateTime
+ dev-perl/DateTime-Format-ISO8601
+ dev-perl/Image-Size
+ dev-perl/JSON
+ dev-perl/SOAP-Lite
+ dev-perl/XML-Parser
+ dev-perl/XML-SAX
+ dev-perl/XML-Simple
+ dev-perl/XML-XPath
+ )
+ mythzoneminder? ( virtual/mysql )
+ theora? (
+ media-libs/libogg
+ media-libs/libtheora
+ )
+ xml? ( >=dev-libs/libxml2-2.6.0:= )
+ xvid? ( >=media-libs/xvid-1.1.0 )
+"
+RDEPEND="${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
+"
+REQUIRED_USE="
+ cdda? ( mythmusic )
+ cdr? ( mythmusic cdda )
+ exif? ( mythgallery )
+ fftw? ( mythmusic )
+ mythmusic? ( vorbis )
+ mythnetvision? ( ${PYTHON_REQUIRED_USE} )
+ mythnews? ( mythbrowser )
+ raw? ( mythgallery )
+"
+
+S="${WORKDIR}/mythtv-${PV}/mythplugins"
+
+src_prepare() {
+ default
+ sed -i '1i#define OF(x) x' mythgame/mythgame/external/ioapi.h
+}
+
+src_configure() {
+ econf \
+ --prefix=/usr \
+ --python=${EPYTHON} \
+ --enable-opengl \
+ $(use_enable cdda cdio) \
+ $(use_enable exif) \
+ $(use_enable exif new-exif) \
+ $(use_enable raw dcraw) \
+ $(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 mythzoneminder)
+}
+
+src_install() {
+ emake INSTALL_ROOT="${D}" install || die "make install failed"
+}