summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2004-09-02 22:42:35 +0000
committerChris White <chriswhite@gentoo.org>2004-09-02 22:42:35 +0000
commit12042a59718c8eed0da1ab64c313dab9cd725194 (patch)
tree2eb170348bea5c03d6a3940f5f1314602dc508ee /media-sound/mplay
parentppc stable profile update (Manifest recommit) (diff)
downloadgentoo-2-12042a59718c8eed0da1ab64c313dab9cd725194.tar.gz
gentoo-2-12042a59718c8eed0da1ab64c313dab9cd725194.tar.bz2
gentoo-2-12042a59718c8eed0da1ab64c313dab9cd725194.zip
Initial import to the tree. Closes 47600.
Diffstat (limited to 'media-sound/mplay')
-rw-r--r--media-sound/mplay/ChangeLog11
-rw-r--r--media-sound/mplay/Manifest2
-rw-r--r--media-sound/mplay/files/digest-mplay-0.681
-rw-r--r--media-sound/mplay/metadata.xml8
-rw-r--r--media-sound/mplay/mplay-0.68.ebuild74
5 files changed, 96 insertions, 0 deletions
diff --git a/media-sound/mplay/ChangeLog b/media-sound/mplay/ChangeLog
new file mode 100644
index 000000000000..af66b106f612
--- /dev/null
+++ b/media-sound/mplay/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-sound/mplay
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mplay/ChangeLog,v 1.1 2004/09/02 22:42:35 chriswhite Exp $
+
+*mplay-0.68 (03 Sep 2004)
+
+ 03 Sep 2004; Chris White <chriswhite@gentoo.org> +metadata.xml,
+ +mplay-0.68.ebuild:
+ Initial import into portage. Adding myself as maintainer. Thanks to fabian
+ mohren <mohrenfabian@yahoo.de> for posting. Closes Bug #47600.
+
diff --git a/media-sound/mplay/Manifest b/media-sound/mplay/Manifest
new file mode 100644
index 000000000000..a4d8574c5e6e
--- /dev/null
+++ b/media-sound/mplay/Manifest
@@ -0,0 +1,2 @@
+MD5 68a80c335704e19804dba70421d3c29d mplay-0.68.ebuild 747
+MD5 838c391e7aec39ea78815167f2d55fc3 files/digest-mplay-0.68 62
diff --git a/media-sound/mplay/files/digest-mplay-0.68 b/media-sound/mplay/files/digest-mplay-0.68
new file mode 100644
index 000000000000..39235eb49cee
--- /dev/null
+++ b/media-sound/mplay/files/digest-mplay-0.68
@@ -0,0 +1 @@
+MD5 c2f5ce07352ccf1b7effecb28a7f4fd1 mplay-0.68.tar.gz 191066
diff --git a/media-sound/mplay/metadata.xml b/media-sound/mplay/metadata.xml
new file mode 100644
index 000000000000..ec6a427b666f
--- /dev/null
+++ b/media-sound/mplay/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sound</herd>
+<maintainer>
+ <email>chriswhite@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/media-sound/mplay/mplay-0.68.ebuild b/media-sound/mplay/mplay-0.68.ebuild
new file mode 100644
index 000000000000..d605cdc7a281
--- /dev/null
+++ b/media-sound/mplay/mplay-0.68.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mplay/mplay-0.68.ebuild,v 1.1 2004/09/02 22:42:35 chriswhite Exp $
+
+inherit perl-module
+
+AMIX_V="0.7"
+AMIX_D="${WORKDIR}/Audio-Mixer-${AMIX_V}"
+
+PP_V="0.07"
+PP_D="${WORKDIR}/Ogg-Vorbis-Header-PurePerl-${PP_V}"
+
+DESCRIPTION="A Curses front-end for mplayer"
+HOMEPAGE="http://mplay.sourceforge.net"
+SRC_URI="mirror://sourceforge/mplay/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+IUSE=""
+
+DEPEND="dev-lang/perl
+ dev-perl/TermReadKey
+ dev-perl/MP3-Info
+ dev-perl/Term-ANSIScreen
+ dev-perl/Time-HiRes
+ media-video/mplayer"
+
+src_unpack() {
+ unpack ${A}
+
+ #build the Audio-Mixer dep
+ cd ${S}/src
+ tar xfz Audio-Mixer-${AMIX_V}.tar.gz -C ${WORKDIR}
+ tar xfz Ogg-Vorbis-Header-PurePerl-${PP_V}.tar.gz -C ${WORKDIR}
+
+ cd ${S}
+ sed 's:/usr/local:/usr:g' -i mplay || die "Unable fix the /usr/local path issues."
+}
+
+src_compile() {
+ cd ${AMIX_D}
+ perl-module_src_prep
+ perl-module_src_compile
+
+ cd ${PP_D}
+ perl-module_src_prep
+ perl-module_src_compile
+}
+
+src_install() {
+ dodir /usr/share/mplay /usr/bin
+
+ dobin mplay
+
+ insinto /usr/share/mplay
+ doins help_en help_de
+
+ dodoc README
+
+ cd ${AMIX_D}
+ #make install
+ perl-module_src_install
+
+ cd ${PP_D}
+ #make install
+ perl-module_src_install
+}
+
+pkg_postinst() {
+ einfo "Please note, gnome terminal does not like this program"
+ einfo "too much. xterm,kterm, and konsole can use it ok."
+}