Add experimental ebuild for MythTV 0.23
authorDoug Goldstein <cardoe@gentoo.org>
Thu, 10 Jun 2010 14:54:54 +0000 (14:54 +0000)
committerDoug Goldstein <cardoe@gentoo.org>
Thu, 10 Jun 2010 14:54:54 +0000 (14:54 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64

20 files changed:
media-plugins/mytharchive/ChangeLog
media-plugins/mytharchive/mytharchive-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythbrowser/ChangeLog
media-plugins/mythbrowser/mythbrowser-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythgallery/ChangeLog
media-plugins/mythgallery/mythgallery-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythgame/ChangeLog
media-plugins/mythgame/mythgame-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythmovies/ChangeLog
media-plugins/mythmovies/mythmovies-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythmusic/ChangeLog
media-plugins/mythmusic/mythmusic-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythnews/ChangeLog
media-plugins/mythnews/mythnews-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythvideo/ChangeLog
media-plugins/mythvideo/mythvideo-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythweather/ChangeLog
media-plugins/mythweather/mythweather-0.23_p25065.ebuild [new file with mode: 0644]
media-plugins/mythzoneminder/ChangeLog
media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild [new file with mode: 0644]

index 4f1e97cda4d093f94b1e164168b839f1ddcf7e6c..0713b05a7b333cc8e0c90d1581e3aee3c8c0e59f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mytharchive
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mytharchive/ChangeLog,v 1.41 2010/03/22 02:30:57 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mytharchive/ChangeLog,v 1.42 2010/06/10 14:42:43 cardoe Exp $
+
+*mytharchive-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mytharchive-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   22 Mar 2010; Ben de Groot <yngwin@gentoo.org>
   -mytharchive-0.21_p20566.ebuild:
diff --git a/media-plugins/mytharchive/mytharchive-0.23_p25065.ebuild b/media-plugins/mytharchive/mytharchive-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..2e38f16
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mytharchive/mytharchive-0.23_p25065.ebuild,v 1.1 2010/06/10 14:42:43 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Allows for archiving your videos to DVD."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=dev-lang/python-2.3.5
+               dev-python/mysql-python
+               dev-python/imaging
+               >=media-video/mjpegtools-1.6.2[png]
+               >=media-video/dvdauthor-0.6.11
+               >=media-video/ffmpeg-0.4.9
+               >=app-cdr/dvd+rw-tools-5.21.4.10.8
+               virtual/cdrtools
+               media-video/transcode"
+DEPEND="${RDEPEND}"
index e924203a1cb38189b7e536a6de2b6ac0350380b4..93177905bee65272e425eb56876259eb5475ac67 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythbrowser
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythbrowser/ChangeLog,v 1.49 2010/01/09 10:34:04 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythbrowser/ChangeLog,v 1.50 2010/06/10 14:43:43 cardoe Exp $
+
+*mythbrowser-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythbrowser-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   09 Jan 2010; Samuli Suominen <ssuominen@gentoo.org>
   -mythbrowser-0.21_p17105.ebuild:
diff --git a/media-plugins/mythbrowser/mythbrowser-0.23_p25065.ebuild b/media-plugins/mythbrowser/mythbrowser-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..fb43371
--- /dev/null
@@ -0,0 +1,13 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythbrowser/mythbrowser-0.23_p25065.ebuild,v 1.1 2010/06/10 14:43:44 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Web browser module for MythTV."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=x11-libs/qt-webkit-4.5:4"
+DEPEND="${RDEPEND}"
index 9c691a5a5208e1bdba733cd03a1da7e5c2010b58..600e5adb14d84a0b3868f3d3cb495af775d99787 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythgallery
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/ChangeLog,v 1.59 2009/11/17 22:38:06 cardoe Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/ChangeLog,v 1.60 2010/06/10 14:44:54 cardoe Exp $
+
+*mythgallery-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythgallery-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   17 Nov 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
   replace media-tv herd for MythTV
diff --git a/media-plugins/mythgallery/mythgallery-0.23_p25065.ebuild b/media-plugins/mythgallery/mythgallery-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..1340ab6
--- /dev/null
@@ -0,0 +1,17 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/mythgallery-0.23_p25065.ebuild,v 1.1 2010/06/10 14:44:54 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Gallery and slideshow module for MythTV."
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="+exif opengl"
+
+RDEPEND="exif? ( >=media-libs/libexif-0.6.10 )
+       opengl? ( virtual/opengl )
+       media-libs/tiff"
+DEPEND="${RDEPEND}"
+
+MTVCONF="$(use_enable exif) $(use_enable exif new-exif) $(use_enable opengl)"
index 97ca235b5cbaa862f49caced78be987b1a6f4c75..910eb2ea86e2e1700ddc705d3e3c79faa9c387b6 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythgame
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/ChangeLog,v 1.58 2009/11/17 23:04:24 cardoe Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/ChangeLog,v 1.59 2010/06/10 14:46:41 cardoe Exp $
+
+*mythgame-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythgame-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   17 Nov 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
   replace media-tv herd for MythTV
diff --git a/media-plugins/mythgame/mythgame-0.23_p25065.ebuild b/media-plugins/mythgame/mythgame-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..64f28e7
--- /dev/null
@@ -0,0 +1,19 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/mythgame-0.23_p25065.ebuild,v 1.1 2010/06/10 14:46:41 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Game emulator module for MythTV."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="sys-libs/zlib"
+DEPEND="${RDEPEND}"
+
+src_install () {
+       mythtv-plugins_src_install
+
+       dodoc gamelist.xml
+}
index 559400735aefdc608f82dc0c3882daebc33fed0a..b1bb16448702fc72c038e29236215e7c478a2a0e 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythmovies
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmovies/ChangeLog,v 1.14 2010/05/26 15:56:02 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmovies/ChangeLog,v 1.15 2010/06/10 14:47:31 cardoe Exp $
+
+*mythmovies-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythmovies-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
 *mythmovies-0.22_p23469 (26 May 2010)
 
diff --git a/media-plugins/mythmovies/mythmovies-0.23_p25065.ebuild b/media-plugins/mythmovies/mythmovies-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..2d92f8f
--- /dev/null
@@ -0,0 +1,10 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmovies/mythmovies-0.23_p25065.ebuild,v 1.1 2010/06/10 14:47:31 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Local movie listings via MythTV."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
index 84003ffb5a1d8cdb1e4cd052be417d748b2d8a2d..50c9340c56303f0e93a932feabee07a77b3faef2 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythmusic
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.85 2010/06/03 16:05:25 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.86 2010/06/10 14:48:18 cardoe Exp $
+
+*mythmusic-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythmusic-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   03 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
   mythmusic-0.22_p22763.ebuild:
diff --git a/media-plugins/mythmusic/mythmusic-0.23_p25065.ebuild b/media-plugins/mythmusic/mythmusic-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..7912b8a
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.23_p25065.ebuild,v 1.1 2010/06/10 14:48:18 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Music player module for MythTV."
+IUSE="cdr fftw libvisual opengl sdl"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND=">=media-sound/cdparanoia-3.9.8
+       >=media-libs/libcdaudio-0.99.6
+       >=media-libs/taglib-1.5
+       >=media-libs/flac-1.2.1
+       >=media-libs/libogg-1.1.4
+       >=media-libs/libvorbis-1.2.1
+       cdr? ( virtual/cdrtools )
+       fftw? ( sci-libs/fftw )
+       opengl? ( virtual/opengl )
+       sdl? ( >=media-libs/libsdl-1.2.5
+               libvisual? ( =media-libs/libvisual-0.4* )
+               )"
+
+DEPEND="${RDEPEND}"
+
+pkg_config() {
+       if use libvisual && ! use sdl; then
+               ewarn
+               ewarn "libvisual support requires sdl support. Enable 'sdl' USE flag"
+               ewarn "if you really want libvisual support"
+               ewarn
+       fi
+}
+
+MTVCONF="$(use_enable fftw) $(use_enable sdl) $(use_enable opengl)"
index 725e0ef70bbe1eb86f4396e71f517adc26c50dbd..4da57797c0c42ddced20e3d99cfdb9d6b032620f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythnews
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythnews/ChangeLog,v 1.48 2010/05/26 15:58:56 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythnews/ChangeLog,v 1.49 2010/06/10 14:50:53 cardoe Exp $
+
+*mythnews-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythnews-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   26 May 2010; Doug Goldstein <cardoe@gentoo.org>
   -mythnews-0.22_p22763.ebuild, -mythnews-0.22_p22807.ebuild:
diff --git a/media-plugins/mythnews/mythnews-0.23_p25065.ebuild b/media-plugins/mythnews/mythnews-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..09023c1
--- /dev/null
@@ -0,0 +1,10 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythnews/mythnews-0.23_p25065.ebuild,v 1.1 2010/06/10 14:50:53 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="RSS feed news reading module for MythTV."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
index bcbeb9f4343884e747c07c923299411210fdc3f3..8d422feff3e31d73f5c33c1547ea442636fba340 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythvideo
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/ChangeLog,v 1.85 2010/05/26 16:01:54 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/ChangeLog,v 1.86 2010/06/10 14:53:22 cardoe Exp $
+
+*mythvideo-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythvideo-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
 *mythvideo-0.22_p23469 (26 May 2010)
 
diff --git a/media-plugins/mythvideo/mythvideo-0.23_p25065.ebuild b/media-plugins/mythvideo/mythvideo-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..dccab24
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.23_p25065.ebuild,v 1.1 2010/06/10 14:53:22 cardoe Exp $
+
+EAPI=2
+
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Video player module for MythTV."
+IUSE="+jamu"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="dev-perl/libwww-perl
+       dev-perl/HTML-Parser
+       dev-perl/URI
+       dev-perl/XML-Simple
+       sys-apps/eject
+       jamu? ( >=dev-python/imdbpy-3.8
+                       >=dev-python/mysql-python-1.2.2
+                       media-tv/mythtv[python] )"
+DEPEND=""
+
+src_install() {
+       mythtv-plugins_src_install
+
+       newinitd "${FILESDIR}"/mtd.init.d mtd
+
+       # correct permissions so MythVideo is actually usable
+       fperms 755 /usr/share/mythtv/mythvideo/scripts/*.pl
+       fperms 755 /usr/share/mythtv/mythvideo/scripts/*.py
+
+       # setup JAMU cron jobs
+       if use jamu; then
+               exeinto /etc/cron.daily
+               newexe "${FILESDIR}/mythvideo.daily" mythvideo || die
+               exeinto /etc/cron.hourly
+               newexe "${FILESDIR}/mythvideo.hourly" mythvideo || die
+               exeinto /etc/cron.weekly
+               newexe "${FILESDIR}/mythvideo.weekly" mythvideo || die
+               insinto /home/mythtv/.mythtv/
+               newins mythvideo/scripts/jamu-example.conf jamu.conf || die
+       fi
+}
+
+pkg_postinst() {
+       elog "MythVideo can use any media player to playback files if you"
+       elog "are *NOT* using Storage Groups. If you are using Storage"
+       elog "Groups, you *MUST* use the Internal player."
+       elog
+       elog "Otherwise, you can install mplayer, xine or any other video"
+       elog "player and use that instead by configuring the player to use."
+       elog "The default is 'Internal'."
+}
index e594dd28dd25280103215f910b4230a894b978e1..424c3cebbc7716366a58444a0c12de6463d9f8aa 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythweather
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/ChangeLog,v 1.60 2010/01/04 05:58:18 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/ChangeLog,v 1.61 2010/06/10 14:54:05 cardoe Exp $
+
+*mythweather-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythweather-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
 *mythweather-0.22_p22991 (04 Jan 2010)
 
diff --git a/media-plugins/mythweather/mythweather-0.23_p25065.ebuild b/media-plugins/mythweather/mythweather-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..5ffdbe4
--- /dev/null
@@ -0,0 +1,24 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythweather/mythweather-0.23_p25065.ebuild,v 1.1 2010/06/10 14:54:05 cardoe Exp $
+
+EAPI=2
+inherit qt4 mythtv-plugins
+
+DESCRIPTION="Weather forecast module for MythTV."
+IUSE=""
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="dev-perl/DateManip
+       dev-perl/ImageSize
+       dev-perl/SOAP-Lite
+       dev-perl/XML-Simple
+       dev-perl/XML-Parser
+       dev-perl/XML-SAX"
+
+src_install() {
+       mythtv-plugins_src_install
+
+       # correct permissions so MythWeather is actually usable
+       fperms 755 /usr/share/mythtv/mythweather/scripts/*/*.pl
+}
index fc2ee065773dc8d0466881a7f798e63559b72117..180850666c81a126e35e00df9cf8cf3364d2e20f 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for media-plugins/mythzoneminder
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/ChangeLog,v 1.6 2009/11/18 00:24:21 cardoe Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/ChangeLog,v 1.7 2010/06/10 14:54:54 cardoe Exp $
+
+*mythzoneminder-0.23_p25065 (10 Jun 2010)
+
+  10 Jun 2010; Doug Goldstein <cardoe@gentoo.org>
+  +mythzoneminder-0.23_p25065.ebuild:
+  Add experimental ebuild for MythTV 0.23
 
   18 Nov 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
   add MythTV herd
diff --git a/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild b/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild
new file mode 100644 (file)
index 0000000..b57e7f6
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythzoneminder/mythzoneminder-0.23_p25065.ebuild,v 1.1 2010/06/10 14:54:54 cardoe Exp $
+
+EAPI=2
+MYTHTV_NODEPS="true"
+inherit qt4 mythtv-plugins toolchain-funcs
+
+DESCRIPTION="Allows for viewing of CCTV cameras through zoneminder"
+IUSE="minimal"
+KEYWORDS="~amd64"
+
+DEPEND="minimal? ( dev-db/mysql
+       www-misc/zoneminder )
+       =media-tv/mythtv-${MY_PV}*"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       sed -i -e "s:g++:$(tc-getCXX):" \
+               "${S}"/mythzoneminder/mythzmserver/Makefile.standalone \
+               || die "Sed failed"
+}
+
+src_compile() {
+       if use minimal; then
+               cd "${S}/mythzoneminder/mythzmserver"
+               emake CXX=$(tc-getCXX) -f Makefile.standalone || die "Emake failed"
+       else
+               mythtv-plugins_src_compile
+       fi
+}
+
+src_install() {
+       if use minimal; then
+               dodoc README
+               dobin "${S}/mythzoneminder/mythzmserver/mythzmserver" || die "Installing mythzmserver failed"
+       else
+               mythtv-plugins_src_install
+       fi
+}