summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Kalika <max@gentoo.org>2003-08-07 23:48:53 +0000
committerMax Kalika <max@gentoo.org>2003-08-07 23:48:53 +0000
commitfea5d93d558eebe103ab8f546abc08c25a021af9 (patch)
tree0a5f897dd932f8d2d363e572155d71b5ff8d4d41 /media-plugins/mythgame
parentAdding bk pull ebuilds from now on too. bk7 baby :) (diff)
downloadgentoo-2-fea5d93d558eebe103ab8f546abc08c25a021af9.tar.gz
gentoo-2-fea5d93d558eebe103ab8f546abc08c25a021af9.tar.bz2
gentoo-2-fea5d93d558eebe103ab8f546abc08c25a021af9.zip
Depend on either mythtv or mythfrontend.
Diffstat (limited to 'media-plugins/mythgame')
-rw-r--r--media-plugins/mythgame/ChangeLog5
-rw-r--r--media-plugins/mythgame/Manifest4
-rw-r--r--media-plugins/mythgame/mythgame-0.10.ebuild17
3 files changed, 10 insertions, 16 deletions
diff --git a/media-plugins/mythgame/ChangeLog b/media-plugins/mythgame/ChangeLog
index 50e80d34487e..fa4a2d90939a 100644
--- a/media-plugins/mythgame/ChangeLog
+++ b/media-plugins/mythgame/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-plugins/mythgame
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/ChangeLog,v 1.1 2003/07/08 23:44:01 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/ChangeLog,v 1.2 2003/08/07 23:48:51 max Exp $
+
+ 07 Aug 2003; Max Kalika <max@gentoo.org> mythgame-0.10.ebuild:
+ Depend on either mythtv or mythfrontend.
03 Jul 2003; Max Kalika <max@lsit.ucsb.edu> mythgame-0.8.ebuild:
Set KEYWORDS to ~x86.
diff --git a/media-plugins/mythgame/Manifest b/media-plugins/mythgame/Manifest
index 4046ece53762..a0176aef0a44 100644
--- a/media-plugins/mythgame/Manifest
+++ b/media-plugins/mythgame/Manifest
@@ -1,3 +1,3 @@
-MD5 0b46530a7ad78bfc051975f3cb926cef mythgame-0.10.ebuild 1993
-MD5 15d026e4f7eb58af5f443d266581c1c0 ChangeLog 1221
+MD5 b5a65930fd5547384fa92e567bc0ee4a mythgame-0.10.ebuild 2012
+MD5 6a0cba552a494198e836e1ecc1f93ee3 ChangeLog 1328
MD5 9b0262b1d9e5347fceb6265378d7bf2e files/digest-mythgame-0.10 65
diff --git a/media-plugins/mythgame/mythgame-0.10.ebuild b/media-plugins/mythgame/mythgame-0.10.ebuild
index 9b278931f1ea..f8639d2c68d2 100644
--- a/media-plugins/mythgame/mythgame-0.10.ebuild
+++ b/media-plugins/mythgame/mythgame-0.10.ebuild
@@ -1,10 +1,9 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/mythgame-0.10.ebuild,v 1.1 2003/07/08 23:44:01 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgame/mythgame-0.10.ebuild,v 1.2 2003/08/07 23:48:51 max Exp $
inherit flag-o-matic
-IUSE=""
DESCRIPTION="Game emulator module for MythTV."
HOMEPAGE="http://www.mythtv.org/"
SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"
@@ -13,22 +12,19 @@ LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-DEPEND=">=media-tv/mythtv-${PV}
- sys-libs/zlib
- >=sys-apps/sed-4"
+DEPEND="sys-libs/zlib
+ >=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"
@@ -37,22 +33,18 @@ src_compile() {
qmake -o "${S}/Makefile" "${S}/${PN}.pro"
emake || die "compile problem"
-
}
src_install () {
-
make INSTALL_ROOT="${D}" install || die "make install failed"
insinto "/usr/share/mythtv/database/${PN}"
doins gamedb/*.sql
dodoc README UPGRADING gamelist.xml
-
}
pkg_postinst() {
-
einfo "If this is the first time you install MythGame,"
einfo "you need to add /usr/share/mythtv/database/${PN}/metadata.sql"
einfo "/usr/share/mythtv/database/${PN}/nesdb.sql and "
@@ -72,5 +64,4 @@ pkg_postinst() {
ewarn "which need to be performed or this package will not work"
ewarn "properly."
echo
-
}