summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-06-01 17:15:29 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-06-01 17:15:29 +0000
commit033706fee020d3e1eab421574e8e73a1a7d6098b (patch)
tree776d5dae0e08e72eebca76c6a8ec90539cec0982 /media-plugins
parentIntegrated the python module from snns-dev.berlios.de (Manifest recommit) (diff)
downloadgentoo-2-033706fee020d3e1eab421574e8e73a1a7d6098b.tar.gz
gentoo-2-033706fee020d3e1eab421574e8e73a1a7d6098b.tar.bz2
gentoo-2-033706fee020d3e1eab421574e8e73a1a7d6098b.zip
Version bump and cleanup.
Diffstat (limited to 'media-plugins')
-rw-r--r--media-plugins/mythdvd/ChangeLog8
-rw-r--r--media-plugins/mythdvd/Manifest2
-rw-r--r--media-plugins/mythdvd/files/digest-mythdvd-0.111
-rw-r--r--media-plugins/mythdvd/files/digest-mythdvd-0.121
-rw-r--r--media-plugins/mythdvd/files/digest-mythdvd-0.151
-rw-r--r--media-plugins/mythdvd/mythdvd-0.11.ebuild70
-rw-r--r--media-plugins/mythdvd/mythdvd-0.12.ebuild82
-rw-r--r--media-plugins/mythdvd/mythdvd-0.15.ebuild50
-rw-r--r--media-plugins/mythgallery/ChangeLog8
-rw-r--r--media-plugins/mythgallery/Manifest2
-rw-r--r--media-plugins/mythgallery/files/digest-mythgallery-0.111
-rw-r--r--media-plugins/mythgallery/files/digest-mythgallery-0.121
-rw-r--r--media-plugins/mythgallery/files/digest-mythgallery-0.151
-rw-r--r--media-plugins/mythgallery/mythgallery-0.11.ebuild63
-rw-r--r--media-plugins/mythgallery/mythgallery-0.12.ebuild62
-rw-r--r--media-plugins/mythgallery/mythgallery-0.15.ebuild46
16 files changed, 116 insertions, 283 deletions
diff --git a/media-plugins/mythdvd/ChangeLog b/media-plugins/mythdvd/ChangeLog
index e72974acaccc..34c91d48568e 100644
--- a/media-plugins/mythdvd/ChangeLog
+++ b/media-plugins/mythdvd/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/mythdvd
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythdvd/ChangeLog,v 1.10 2004/04/26 18:16:38 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythdvd/ChangeLog,v 1.11 2004/06/01 17:13:13 aliz Exp $
+
+*mythdvd-0.15 (01 Jun 2004)
+
+ 01 Jun 2004; Daniel Ahlberg <aliz@gentoo.org> mythdvd-0.11.ebuild,
+ mythdvd-0.12.ebuild, mythdvd-0.15.ebuild:
+ Version bump and ebuilds cleanup.
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> mythdvd-0.11.ebuild,
mythdvd-0.12.ebuild, mythdvd-0.13.ebuild, mythdvd-0.14.ebuild:
diff --git a/media-plugins/mythdvd/Manifest b/media-plugins/mythdvd/Manifest
index ef76cb2aa3a3..c138cce8f4ea 100644
--- a/media-plugins/mythdvd/Manifest
+++ b/media-plugins/mythdvd/Manifest
@@ -1,5 +1,6 @@
MD5 2770a980a01ad507d396e1976d8a8339 mythdvd-0.11.ebuild 1989
MD5 fb4b5f49808d1cf354631ebf3d207482 mythdvd-0.13.ebuild 2401
+MD5 2d9f0b30b62ca33e8dc6411e22554133 mythdvd-0.15.ebuild 1305
MD5 f0da973ae2176d631cc4220ff41c20f4 mythdvd-0.12.ebuild 2401
MD5 2d9f0b30b62ca33e8dc6411e22554133 mythdvd-0.14.ebuild 1305
MD5 461f653725819587e9c922c38a2ba8c6 ChangeLog 1381
@@ -8,3 +9,4 @@ MD5 29d1ec475eee7e6e4d5b6a605611c4c7 files/digest-mythdvd-0.11 64
MD5 43523be8d2e4958df76e6e1b2b63791c files/digest-mythdvd-0.12 65
MD5 afa9416eab98d5f2ad7a39bc35be2561 files/digest-mythdvd-0.13 65
MD5 11e5f49a3ebb04645d97007cb08afdd7 files/digest-mythdvd-0.14 65
+MD5 b55c9f7a0cd1aca33657af5716845ae4 files/digest-mythdvd-0.15 65
diff --git a/media-plugins/mythdvd/files/digest-mythdvd-0.11 b/media-plugins/mythdvd/files/digest-mythdvd-0.11
deleted file mode 100644
index 031bee3283f4..000000000000
--- a/media-plugins/mythdvd/files/digest-mythdvd-0.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0ed928b49be755e6b66d7d0b153e94e8 mythdvd-0.11.tar.bz2 87816
diff --git a/media-plugins/mythdvd/files/digest-mythdvd-0.12 b/media-plugins/mythdvd/files/digest-mythdvd-0.12
deleted file mode 100644
index c393d99b65da..000000000000
--- a/media-plugins/mythdvd/files/digest-mythdvd-0.12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 877a5746006e27267c5119777f52dd86 mythdvd-0.12.tar.bz2 112111
diff --git a/media-plugins/mythdvd/files/digest-mythdvd-0.15 b/media-plugins/mythdvd/files/digest-mythdvd-0.15
new file mode 100644
index 000000000000..f6043ee14009
--- /dev/null
+++ b/media-plugins/mythdvd/files/digest-mythdvd-0.15
@@ -0,0 +1 @@
+MD5 23c979a49adb12979ffb3c2fd5a3522f mythdvd-0.15.tar.bz2 124367
diff --git a/media-plugins/mythdvd/mythdvd-0.11.ebuild b/media-plugins/mythdvd/mythdvd-0.11.ebuild
deleted file mode 100644
index 2318fbd88d89..000000000000
--- a/media-plugins/mythdvd/mythdvd-0.11.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythdvd/mythdvd-0.11.ebuild,v 1.5 2004/04/26 18:16:38 agriffis Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="DVD player module for MythTV."
-HOMEPAGE="http://www.mythtv.org/"
-SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE="transcode"
-
-DEPEND="media-libs/libdvdread
- >=sys-apps/sed-4
- >=media-plugins/mythvideo-${PV}
- transcode? ( media-video/transcode )
- || ( media-video/mplayer media-video/xine-ui media-video/ogle )
- || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )"
-
-src_unpack() {
- unpack ${A}
-
- for i in `grep -lr "usr/local" "${S}"` ; do
- sed -e "s:/usr/local:/usr:" -i "${i}" || die "sed failed"
- done
-}
-
-src_compile() {
-
- cpu="`get-flag march`"
- if [ ! -z "${cpu}" ] ; then
- sed -e "s:pentiumpro:${cpu}:g" -i "${S}/settings.pro" || die "sed failed"
- fi
-
- qmake -o "${S}/Makefile" "${S}/${PN}.pro"
-
- econf "`use_enable transcode`" || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install () {
- einstall INSTALL_ROOT="${D}"
-
- insinto "/usr/share/mythtv/database/${PN}"
- doins dvddb/*.sql
-
- dodoc AUTHORS COPYING README UPGRADING
- newdoc dvddb/README README.db
-}
-
-pkg_postinst() {
- einfo "If this is the first time you install MythDVD,"
- einfo "you need to add /usr/share/mythtv/database/${PN}/metadata.sql"
- einfo "to your MythTV database."
- einfo
- einfo "You might run 'mysql < /usr/share/mythtv/database/${PN}/metadata.sql'"
- einfo
- einfo "If you're upgrading from an older version and for more"
- einfo "setup and usage instructions, please refer to:"
- einfo " /usr/share/doc/${PF}/README.gz"
- einfo " /usr/share/doc/${PF}/README.db.gz"
- einfo " /usr/share/doc/${PF}/UPGRADING.gz"
- ewarn "This part is important as there might be database changes"
- ewarn "which need to be performed or this package will not work"
- ewarn "properly."
- echo
-}
diff --git a/media-plugins/mythdvd/mythdvd-0.12.ebuild b/media-plugins/mythdvd/mythdvd-0.12.ebuild
deleted file mode 100644
index 2331ecf56106..000000000000
--- a/media-plugins/mythdvd/mythdvd-0.12.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythdvd/mythdvd-0.12.ebuild,v 1.4 2004/04/26 18:16:38 agriffis Exp $
-
-inherit flag-o-matic
-
-DESCRIPTION="DVD player module for MythTV."
-HOMEPAGE="http://www.mythtv.org/"
-SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-IUSE="alsa lirc transcode"
-
-DEPEND="media-libs/libdvdread
- >=sys-apps/sed-4
- >=media-plugins/mythvideo-${PV}
- transcode? ( media-video/transcode )
- || ( media-video/mplayer media-video/xine-ui media-video/ogle )
- || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )"
-
-src_unpack() {
- unpack ${A}
-
- for i in `grep -lr "usr/local" "${S}"` ; do
- sed -e "s:/usr/local:/usr:g" -i "${i}" || die "sed failed"
- done
-}
-
-src_compile() {
- local myconf="--enable-vcd"
- myconf="${myconf} `use_enable transcode`"
-
- local cpu="`get-flag march || get-flag mcpu`"
- if [ "${cpu}" ] ; then
- sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed"
- fi
-
- qmake -o "Makefile" "${PN}.pro"
-
- if [ "`use alsa`" ] ; then
- echo "CONFIG += using_alsa" >> settings.pro
- echo "EXTRA_LIBS += -lasound" >> settings.pro
- fi
- if [ "`use lirc`" ] ; then
- sed -e "s:#CONFIG += using_lirc:CONFIG += using_lirc:" \
- -e "s:#EXTRA_LIBS += -llirc_client:EXTRA_LIBS += -llirc_client:" \
- -i "settings.pro" || die "enable lirc sed failed"
- fi
-
- econf ${myconf} || die "econf failed"
- emake || die "compile problem"
-}
-
-src_install () {
- einstall INSTALL_ROOT="${D}"
-
- insinto "/usr/share/mythtv/database/${PN}"
- doins dvddb/*.sql
-
- dodoc AUTHORS COPYING README UPGRADING
- newdoc dvddb/README README.db
-}
-
-pkg_postinst() {
- einfo "If this is the first time you install MythDVD,"
- einfo "you need to add /usr/share/mythtv/database/${PN}/metadata.sql"
- einfo "to your MythTV database."
- einfo
- einfo "You might run 'mysql < /usr/share/mythtv/database/${PN}/metadata.sql'"
- einfo
- einfo "If you're upgrading from an older version and for more"
- einfo "setup and usage instructions, please refer to:"
- einfo " /usr/share/doc/${PF}/README.gz"
- einfo " /usr/share/doc/${PF}/README.db.gz"
- einfo " /usr/share/doc/${PF}/UPGRADING.gz"
- ewarn "This part is important as there might be database changes"
- ewarn "which need to be performed or this package will not work"
- ewarn "properly."
- echo
-}
diff --git a/media-plugins/mythdvd/mythdvd-0.15.ebuild b/media-plugins/mythdvd/mythdvd-0.15.ebuild
new file mode 100644
index 000000000000..6fe988176e74
--- /dev/null
+++ b/media-plugins/mythdvd/mythdvd-0.15.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythdvd/mythdvd-0.15.ebuild,v 1.1 2004/06/01 17:13:13 aliz Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="DVD player module for MythTV."
+HOMEPAGE="http://www.mythtv.org/"
+SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="transcode"
+
+DEPEND=">=sys-apps/sed-4
+ >=media-plugins/mythvideo-${PV}*
+ media-libs/libdvdread
+ transcode? ( media-video/transcode )
+ || ( media-video/mplayer media-video/xine-ui media-video/ogle )
+ || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+
+ for i in `grep -lr "usr/local" "${S}"` ; do
+ sed -e "s:/usr/local:/usr:g" -i "${i}" || die "sed failed"
+ done
+}
+
+src_compile() {
+ local myconf
+ myconf="--enable-vcd"
+ myconf="${myconf} `use_enable transcode`"
+
+ local cpu="`get-flag march || get-flag mcpu`"
+ if [ "${cpu}" ] ; then
+ sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed"
+ fi
+
+ qmake -o "Makefile" "${PN}.pro"
+
+ econf ${myconf} || die "econf failed"
+ emake || die "compile problem"
+}
+
+src_install () {
+ einstall INSTALL_ROOT="${D}"
+ dodoc AUTHORS COPYING README README-database UPGRADING
+}
diff --git a/media-plugins/mythgallery/ChangeLog b/media-plugins/mythgallery/ChangeLog
index 1390a6788789..cf4a4194f93c 100644
--- a/media-plugins/mythgallery/ChangeLog
+++ b/media-plugins/mythgallery/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-plugins/mythgallery
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/ChangeLog,v 1.16 2004/04/26 18:21:03 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/ChangeLog,v 1.17 2004/06/01 17:15:29 aliz Exp $
+
+*mythgallery-0.15 (01 Jun 2004)
+
+ 01 Jun 2004; Daniel Ahlberg <aliz@gentoo.org> mythgallery-0.11.ebuild,
+ mythgallery-0.12.ebuild, mythgallery-0.15.ebuild:
+ Version bump and cleanups.
26 Apr 2004; Aron Griffis <agriffis@gentoo.org> mythgallery-0.14.ebuild:
Add die following econf for bug 48950
diff --git a/media-plugins/mythgallery/Manifest b/media-plugins/mythgallery/Manifest
index b654be05d47d..87125b7fec0e 100644
--- a/media-plugins/mythgallery/Manifest
+++ b/media-plugins/mythgallery/Manifest
@@ -1,6 +1,7 @@
MD5 134dcb09725981d9cd1a230f9b16e3ee mythgallery-0.14.ebuild 1147
MD5 8d127105f66ad8835d354c6911168476 mythgallery-0.11.ebuild 1707
MD5 e84837db0758d77b2fdeddc7f84d64f3 mythgallery-0.13.ebuild 1710
+MD5 134dcb09725981d9cd1a230f9b16e3ee mythgallery-0.15.ebuild 1147
MD5 f1d01fb5674e783ce920d55f829bd659 mythgallery-0.12.ebuild 1710
MD5 3ce11bce5c1c869699403422703f0d6f ChangeLog 2836
MD5 20e2255501865de5b568424821abf69d metadata.xml 161
@@ -8,3 +9,4 @@ MD5 f367099e5641367ed71e682eed2243e5 files/digest-mythgallery-0.11 67
MD5 2ead189a9b4ae726aa0565a7f4d7a78f files/digest-mythgallery-0.12 68
MD5 be630e30bf64c7e32e3675cdd626bf02 files/digest-mythgallery-0.13 68
MD5 289cc198151b47c06f4b8767ab79d0be files/digest-mythgallery-0.14 68
+MD5 12c009b36daaaa5323bdc46f38c9ff00 files/digest-mythgallery-0.15 68
diff --git a/media-plugins/mythgallery/files/digest-mythgallery-0.11 b/media-plugins/mythgallery/files/digest-mythgallery-0.11
deleted file mode 100644
index 26f97524e9ef..000000000000
--- a/media-plugins/mythgallery/files/digest-mythgallery-0.11
+++ /dev/null
@@ -1 +0,0 @@
-MD5 03c4466e71b98ba1535210a3781ba952 mythgallery-0.11.tar.bz2 9981
diff --git a/media-plugins/mythgallery/files/digest-mythgallery-0.12 b/media-plugins/mythgallery/files/digest-mythgallery-0.12
deleted file mode 100644
index 6f980e8baa29..000000000000
--- a/media-plugins/mythgallery/files/digest-mythgallery-0.12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e9b9ca211bf928d4cb6b1ff1f5e00406 mythgallery-0.12.tar.bz2 15495
diff --git a/media-plugins/mythgallery/files/digest-mythgallery-0.15 b/media-plugins/mythgallery/files/digest-mythgallery-0.15
new file mode 100644
index 000000000000..66f4e54d2a1c
--- /dev/null
+++ b/media-plugins/mythgallery/files/digest-mythgallery-0.15
@@ -0,0 +1 @@
+MD5 3afde5f72d071c24db11746dd3e66c61 mythgallery-0.15.tar.bz2 43595
diff --git a/media-plugins/mythgallery/mythgallery-0.11.ebuild b/media-plugins/mythgallery/mythgallery-0.11.ebuild
deleted file mode 100644
index ecb3a9665bfd..000000000000
--- a/media-plugins/mythgallery/mythgallery-0.11.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/mythgallery-0.11.ebuild,v 1.4 2004/04/20 17:45:06 eradicator Exp $
-
-IUSE=""
-
-inherit flag-o-matic
-
-DESCRIPTION="Gallery and slideshow module for MythTV."
-HOMEPAGE="http://www.mythtv.org/"
-SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-DEPEND=">=sys-apps/sed-4
- || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )"
-
-src_unpack() {
- unpack ${A}
-
- for i in `grep -lr "usr/local" "${S}"` ; do
- sed -e "s:/usr/local:/usr:" -i "${i}" || die "sed failed"
- done
-}
-
-src_compile() {
- cpu="`get-flag march`"
- if [ ! -z "${cpu}" ] ; then
- sed -e "s:pentiumpro:${cpu}:g" -i "${S}/settings.pro" || die "sed failed"
- fi
-
- qmake -o "${S}/Makefile" "${S}/${PN}.pro"
-
- emake || die "compile problem"
-}
-
-src_install() {
- einstall INSTALL_ROOT="${D}"
-
- insinto "/usr/share/mythtv/database/${PN}"
- doins database/*.sql
-
- dodoc COPYING README UPGRADING
-}
-
-pkg_postinst() {
- einfo "If this is the first time you install MythGallery,"
- einfo "you need to add /usr/share/mythtv/database/${PN}/gallery.sql"
- einfo "to your MythTV database."
- einfo
- einfo "You might run 'mysql < /usr/share/mythtv/database/${PN}/gallery.sql'"
- einfo
- einfo "If you're upgrading from an older version and for more"
- einfo "setup and usage instructions, please refer to:"
- einfo " /usr/share/doc/${PF}/README.gz"
- einfo " /usr/share/doc/${PF}/UPGRADING.gz"
- ewarn "This part is important as there might be database changes"
- ewarn "which need to be performed or this package will not work"
- ewarn "properly."
- echo
-}
diff --git a/media-plugins/mythgallery/mythgallery-0.12.ebuild b/media-plugins/mythgallery/mythgallery-0.12.ebuild
deleted file mode 100644
index 26ea04bd342a..000000000000
--- a/media-plugins/mythgallery/mythgallery-0.12.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/mythgallery-0.12.ebuild,v 1.4 2004/04/20 17:45:06 eradicator Exp $
-
-IUSE=""
-
-inherit flag-o-matic
-
-DESCRIPTION="Gallery and slideshow module for MythTV."
-HOMEPAGE="http://www.mythtv.org/"
-SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86"
-
-DEPEND=">=sys-apps/sed-4
- || ( >=media-tv/mythtv-${PV} >=media-tv/mythfrontend-${PV} )"
-
-src_unpack() {
- unpack ${A}
-
- for i in `grep -lr "usr/local" "${S}"` ; do
- sed -e "s:/usr/local:/usr:g" -i "${i}" || die "sed failed"
- done
-}
-
-src_compile() {
- local cpu="`get-flag march || get-flag mcpu`"
- if [ "${cpu}" ] ; then
- sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed"
- fi
-
- qmake -o "Makefile" "${PN}.pro"
- emake || die "compile problem"
-}
-
-src_install() {
- einstall INSTALL_ROOT="${D}"
-
- insinto "/usr/share/mythtv/database/${PN}"
- doins database/*.sql
-
- dodoc COPYING README UPGRADING
-}
-
-pkg_postinst() {
- einfo "If this is the first time you install MythGallery,"
- einfo "you need to add /usr/share/mythtv/database/${PN}/gallery.sql"
- einfo "to your MythTV database."
- einfo
- einfo "You might run 'mysql < /usr/share/mythtv/database/${PN}/gallery.sql'"
- einfo
- einfo "If you're upgrading from an older version and for more"
- einfo "setup and usage instructions, please refer to:"
- einfo " /usr/share/doc/${PF}/README.gz"
- einfo " /usr/share/doc/${PF}/UPGRADING.gz"
- ewarn "This part is important as there might be database changes"
- ewarn "which need to be performed or this package will not work"
- ewarn "properly."
- echo
-}
diff --git a/media-plugins/mythgallery/mythgallery-0.15.ebuild b/media-plugins/mythgallery/mythgallery-0.15.ebuild
new file mode 100644
index 000000000000..474a3beaefb9
--- /dev/null
+++ b/media-plugins/mythgallery/mythgallery-0.15.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/mythgallery-0.15.ebuild,v 1.1 2004/06/01 17:15:29 aliz Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Gallery and slideshow module for MythTV."
+HOMEPAGE="http://www.mythtv.org/"
+SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="opengl"
+
+DEPEND=">=sys-apps/sed-4
+ opengl? ( virtual/opengl )
+ || ( >=media-tv/mythtv-${PV}* >=media-tv/mythfrontend-${PV}* )"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+
+ for i in `grep -lr "usr/local" "${S}"` ; do
+ sed -e "s:/usr/local:/usr:g" -i "${i}" || die "sed failed"
+ done
+}
+
+src_compile() {
+ local myconf
+ myconf="${myconf} `use_enable opengl`"
+
+ local cpu="`get-flag march || get-flag mcpu`"
+ if [ "${cpu}" ] ; then
+ sed -e "s:pentiumpro:${cpu}:g" -i "settings.pro" || die "sed failed"
+ fi
+
+ qmake -o "Makefile" "${PN}.pro"
+
+ econf ${myconf} || die "econf failed"
+ emake || die "compile problem"
+}
+
+src_install() {
+ einstall INSTALL_ROOT="${D}"
+ dodoc AUTHORS COPYING README UPGRADING
+}