summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-03 13:51:53 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-03 13:51:53 +0000
commite4f208dd887e639fdac3f8a599c7c06cac41dde1 (patch)
tree59db30fcd642a5476b02fdfb3a3ff5fd7dc18f2f /media-plugins/mythmusic
parentIntroduced CVS snapshot (diff)
downloadgentoo-2-e4f208dd887e639fdac3f8a599c7c06cac41dde1.tar.gz
gentoo-2-e4f208dd887e639fdac3f8a599c7c06cac41dde1.tar.bz2
gentoo-2-e4f208dd887e639fdac3f8a599c7c06cac41dde1.zip
Version bump
Diffstat (limited to 'media-plugins/mythmusic')
-rw-r--r--media-plugins/mythmusic/ChangeLog7
-rw-r--r--media-plugins/mythmusic/Manifest2
-rw-r--r--media-plugins/mythmusic/files/digest-mythmusic-0.141
-rw-r--r--media-plugins/mythmusic/mythmusic-0.14.ebuild80
4 files changed, 89 insertions, 1 deletions
diff --git a/media-plugins/mythmusic/ChangeLog b/media-plugins/mythmusic/ChangeLog
index 0bf57f5b4493..bd7dda810b08 100644
--- a/media-plugins/mythmusic/ChangeLog
+++ b/media-plugins/mythmusic/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-plugins/mythmusic
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.12 2004/01/15 18:04:45 max Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.13 2004/02/03 13:51:53 aliz Exp $
+
+*mythmusic-0.14 (03 Feb 2004)
+
+ 03 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> mythmusic-0.14.ebuild:
+ Version bump
15 Jan 2004; Max Kalika <max@gentoo.org> mythmusic-0.13.ebuild:
Bump to stable x86.
diff --git a/media-plugins/mythmusic/Manifest b/media-plugins/mythmusic/Manifest
index b40b4148cbd9..66701e6c1907 100644
--- a/media-plugins/mythmusic/Manifest
+++ b/media-plugins/mythmusic/Manifest
@@ -1,4 +1,5 @@
MD5 e8ce4302ca0617734d7800026f566219 mythmusic-0.12.ebuild 2275
+MD5 9109961ed0935735d1dece2b9c66198b mythmusic-0.14.ebuild 2276
MD5 060bfd6f909139f3c1afd579539bb71b mythmusic-0.11.ebuild 2167
MD5 04145c3ff3811b355a80aefe79ec1f91 mythmusic-0.13.ebuild 2275
MD5 890eb47ff5395ff02afc971df6e8f248 ChangeLog 2500
@@ -6,3 +7,4 @@ MD5 20e2255501865de5b568424821abf69d metadata.xml 161
MD5 d3782b76395f4d656284b24c9ee8e7b4 files/digest-mythmusic-0.11 67
MD5 84fa19b3a9087c7357d9de3c374abee2 files/digest-mythmusic-0.12 67
MD5 2019c295b59aab34531f15790e8d79f0 files/digest-mythmusic-0.13 67
+MD5 47078eb5bb471d527803f268e41c5436 files/digest-mythmusic-0.14 67
diff --git a/media-plugins/mythmusic/files/digest-mythmusic-0.14 b/media-plugins/mythmusic/files/digest-mythmusic-0.14
new file mode 100644
index 000000000000..0a1860da20a1
--- /dev/null
+++ b/media-plugins/mythmusic/files/digest-mythmusic-0.14
@@ -0,0 +1 @@
+MD5 25b2512aae8c39b6b423356f88be542c mythmusic-0.14.tar.bz2 213506
diff --git a/media-plugins/mythmusic/mythmusic-0.14.ebuild b/media-plugins/mythmusic/mythmusic-0.14.ebuild
new file mode 100644
index 000000000000..3664d62ee979
--- /dev/null
+++ b/media-plugins/mythmusic/mythmusic-0.14.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.14.ebuild,v 1.1 2004/02/03 13:51:53 aliz Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Music 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="opengl sdl X"
+
+DEPEND=">=media-sound/cdparanoia-3.9.8
+ >=media-libs/libmad-0.14.2b
+ >=media-libs/libid3tag-0.14.2b
+ >=media-libs/libvorbis-1.0
+ >=media-libs/libcdaudio-0.99.6
+ >=media-libs/flac-1.1.0
+ >=sys-apps/sed-4
+ X? ( =dev-libs/fftw-2* )
+ opengl? ( virtual/opengl =dev-libs/fftw-2* )
+ sdl? ( >=media-libs/libsdl-1.2.5 )
+ || ( >=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() {
+ local myconf
+ myconf="${myconf} `use_enable X fftw`"
+ myconf="${myconf} `use_enable opengl`"
+ myconf="${myconf} `use_enable sdl`"
+
+ # Fix bug 31952
+ replace-flags mcpu=pentium4 mcpu=pentium3
+ replace-flags march=pentium4 march=pentium3
+ 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}
+ emake || die "compile problem"
+}
+
+src_install() {
+ einstall INSTALL_ROOT="${D}"
+
+ insinto "/usr/share/mythtv/database/${PN}"
+ doins musicdb/*.sql
+
+ dodoc AUTHORS COPYING README UPGRADING
+ newdoc musicdb/README README.db
+}
+
+pkg_postinst() {
+ einfo "If this is the first time you install MythMusic,"
+ 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}/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."
+}