diff options
author | Nick Hadaway <raker@gentoo.org> | 2003-07-18 01:04:47 +0000 |
---|---|---|
committer | Nick Hadaway <raker@gentoo.org> | 2003-07-18 01:04:47 +0000 |
commit | 0869425f44ca816394353bdaa1b0508e308493f5 (patch) | |
tree | 408e4e9386879f23a94a5b3912e4d7f352a1db40 /media-plugins | |
parent | Added a depend on dev-perl/TimeDate (diff) | |
download | historical-0869425f44ca816394353bdaa1b0508e308493f5.tar.gz historical-0869425f44ca816394353bdaa1b0508e308493f5.tar.bz2 historical-0869425f44ca816394353bdaa1b0508e308493f5.zip |
Changed from media-sound/mad to media-libs/{libmad,libid3tag}
Diffstat (limited to 'media-plugins')
-rw-r--r-- | media-plugins/mythmusic/ChangeLog | 7 | ||||
-rw-r--r-- | media-plugins/mythmusic/Manifest | 4 | ||||
-rw-r--r-- | media-plugins/mythmusic/files/digest-mythmusic-0.10-r1 | 1 | ||||
-rw-r--r-- | media-plugins/mythmusic/mythmusic-0.10-r1.ebuild | 89 |
4 files changed, 99 insertions, 2 deletions
diff --git a/media-plugins/mythmusic/ChangeLog b/media-plugins/mythmusic/ChangeLog index c71d4a1f92e2..ff76b4d29582 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.1 2003/07/08 23:49:00 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/ChangeLog,v 1.2 2003/07/18 01:04:47 raker Exp $ + +*mythmusic-0.10-r1 (17 Jul 2003) + + 17 Jul 2003; Nick Hadaway <raker@gentoo.org> mythmusic-0.10-r1.ebuild: + Replaced media-sound/mad with media-libs/{libmad,libid3tag} 03 Jul 2003; Max Kalika <max@lsit.ucsb.edu> mythmusic-0.8.ebuild: Set KEYWORDS to ~x86. diff --git a/media-plugins/mythmusic/Manifest b/media-plugins/mythmusic/Manifest index 3f855689772d..9f849958f410 100644 --- a/media-plugins/mythmusic/Manifest +++ b/media-plugins/mythmusic/Manifest @@ -1,3 +1,5 @@ +MD5 efda3020c286772f765ebbcac6932c92 mythmusic-0.10-r1.ebuild 2133 MD5 0d61fa79c6af734143453a0bb2b77510 mythmusic-0.10.ebuild 2108 -MD5 064551a2a6923231e71c3beb12a19758 ChangeLog 1156 +MD5 2bf5c140a369a5c39c2a6864f38d7a16 ChangeLog 1326 +MD5 b8be115d97584eae89ae3cca03f7de73 files/digest-mythmusic-0.10-r1 67 MD5 b8be115d97584eae89ae3cca03f7de73 files/digest-mythmusic-0.10 67 diff --git a/media-plugins/mythmusic/files/digest-mythmusic-0.10-r1 b/media-plugins/mythmusic/files/digest-mythmusic-0.10-r1 new file mode 100644 index 000000000000..d1f53b32c8ff --- /dev/null +++ b/media-plugins/mythmusic/files/digest-mythmusic-0.10-r1 @@ -0,0 +1 @@ +MD5 5da24a3cd10c7c4298e5f24f409c4621 mythmusic-0.10.tar.bz2 160835 diff --git a/media-plugins/mythmusic/mythmusic-0.10-r1.ebuild b/media-plugins/mythmusic/mythmusic-0.10-r1.ebuild new file mode 100644 index 000000000000..5c85d915a836 --- /dev/null +++ b/media-plugins/mythmusic/mythmusic-0.10-r1.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythmusic/mythmusic-0.10-r1.ebuild,v 1.1 2003/07/18 01:04:47 raker Exp $ + +IUSE="opengl sdl X" + +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" + +DEPEND=">=media-tv/mythtv-${PV} + media-libs/libmad + media-libs/libid3tag + media-sound/cdparanoia + media-libs/libvorbis + media-libs/libcdaudio + >=media-libs/flac-1.0.4 + >=sys-apps/sed-4 + X? ( dev-libs/fftw ) + opengl? ( virtual/opengl dev-libs/fftw ) + sdl? ( >=media-libs/libsdl-1.2.5 )" + +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`" + + 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 ${myconf} + + emake || die "compile problem" + +} + +src_install() { + + make INSTALL_ROOT="${D}" install || die "make install failed" + + 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." + + echo + +} |