diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2004-01-25 09:40:49 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2004-01-25 09:40:49 +0000 |
commit | 4516bdd2bc7ebb328d3cbaa4388798713e651fa8 (patch) | |
tree | b02ad0832eeac9ba2e65b76306be1c3fc612e564 /media-sound/playmidi | |
parent | remove DEPEND on perl #39319 (diff) | |
download | historical-4516bdd2bc7ebb328d3cbaa4388798713e651fa8.tar.gz historical-4516bdd2bc7ebb328d3cbaa4388798713e651fa8.tar.bz2 historical-4516bdd2bc7ebb328d3cbaa4388798713e651fa8.zip |
playmidi is a midi player with command-line, curses, svgalib, and gtk based GUIs
Diffstat (limited to 'media-sound/playmidi')
-rw-r--r-- | media-sound/playmidi/ChangeLog | 10 | ||||
-rw-r--r-- | media-sound/playmidi/Manifest | 3 | ||||
-rw-r--r-- | media-sound/playmidi/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/playmidi/playmidi-2.5.ebuild | 49 |
4 files changed, 67 insertions, 0 deletions
diff --git a/media-sound/playmidi/ChangeLog b/media-sound/playmidi/ChangeLog new file mode 100644 index 000000000000..8eb441e52b9b --- /dev/null +++ b/media-sound/playmidi/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for media-sound/playmidi +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/playmidi/ChangeLog,v 1.1 2004/01/25 09:40:40 eradicator Exp $ + +*playmidi-2.5 (25 Jan 2004) + + 25 Jan 2004; Jeremy Huddleston <eradicator@gentoo.org> playmidi-2.5.ebuild: + playmidi is a midi player with command-line, curses, svgalib, and gtk based + GUIs + diff --git a/media-sound/playmidi/Manifest b/media-sound/playmidi/Manifest new file mode 100644 index 000000000000..52f1b94c9fd6 --- /dev/null +++ b/media-sound/playmidi/Manifest @@ -0,0 +1,3 @@ +MD5 dc1c8929779829641022c43879989f5d ChangeLog 419 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 eb412d111f9d91cd86f1037b39c60101 playmidi-2.5.ebuild 1326 diff --git a/media-sound/playmidi/metadata.xml b/media-sound/playmidi/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/playmidi/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-sound/playmidi/playmidi-2.5.ebuild b/media-sound/playmidi/playmidi-2.5.ebuild new file mode 100644 index 000000000000..0f998bbae419 --- /dev/null +++ b/media-sound/playmidi/playmidi-2.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/playmidi/playmidi-2.5.ebuild,v 1.1 2004/01/25 09:40:40 eradicator Exp $ + +DESCRIPTION="Command Line and GUI based MIDI Player" +HOMEPAGE="http://sourceforge.net/projects/playmidi/" +LICENSE="GPL-2" + +IUSE="svga X gtk" + +DEPEND="sys-libs/ncurses + svga? ( media-libs/svgalib ) + gtk? ( =dev-libs/glib-1* + =x11-libs/gtk+-1* ) + X? ( virtual/x11 )" + +KEYWORDS="~x86 ~amd64 ~ppc ~sparc" + +S=${WORKDIR}/${P/2.5/2.4} +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +CFLAGS="${CFLAGS} `/usr/bin/gtk-config --cflags`" + +src_compile() { + epatch ${FILESDIR}/${P}.patch + + ./Configure < ${FILESDIR}/${P}.conf + + if [ `use gtk` ] ; then + CFLAGS="${CFLAGS} `/usr/bin/gtk-config --cflags`" + fi + + make CFLAGS="${CFLAGS}" playmidi || die + use svga && make CFLAGS="${CFLAGS}" splaymidi || die + use X && make CFLAGS="${CFLAGS}" xplaymidi || die + use gtk && make CFLAGS="${CFLAGS}" LIBGTK="`gtk-config --libs`" gtkplaymidi || die +} + +src_install() { + dobin playmidi || die + use svga && dobin splaymidi || die + use X && dobin xplaymidi || die + use gtk && dobin gtkplaymidi || die + + dodoc BUGS COPYING QuickStart README.1ST + + docinto techref + dodoc techref/* +} |