summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank van de Pol <fvdpol@gentoo.org>2006-07-08 22:00:39 +0000
committerFrank van de Pol <fvdpol@gentoo.org>2006-07-08 22:00:39 +0000
commitb03747aef8b5206ab366bbb0f7ccf387401aeb64 (patch)
tree32a5fa134dca4d17e2c16ceb65196a4bcd53a9c3 /media-sound/qmidiroute/qmidiroute-0.2.1.ebuild
parentAdded USE flags for x11-themes/redhat-artwork. (diff)
downloadhistorical-b03747aef8b5206ab366bbb0f7ccf387401aeb64.tar.gz
historical-b03747aef8b5206ab366bbb0f7ccf387401aeb64.tar.bz2
historical-b03747aef8b5206ab366bbb0f7ccf387401aeb64.zip
Initial ebuild. Based on version in the proaudio portage overlay.
Package-Manager: portage-2.1.1_pre2-r4
Diffstat (limited to 'media-sound/qmidiroute/qmidiroute-0.2.1.ebuild')
-rw-r--r--media-sound/qmidiroute/qmidiroute-0.2.1.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/media-sound/qmidiroute/qmidiroute-0.2.1.ebuild b/media-sound/qmidiroute/qmidiroute-0.2.1.ebuild
new file mode 100644
index 000000000000..919ddef3fd3e
--- /dev/null
+++ b/media-sound/qmidiroute/qmidiroute-0.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/qmidiroute/qmidiroute-0.2.1.ebuild,v 1.1 2006/07/08 22:00:39 fvdpol Exp $
+
+IUSE=""
+
+inherit eutils qt3
+
+DESCRIPTION="QMidiRoute is a filter/router for MIDI events."
+HOMEPAGE="http://alsamodular.sourceforge.net"
+SRC_URI="mirror://sourceforge/alsamodular/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="$(qt_min_version 3.2)
+ >=media-libs/alsa-lib-0.9.0
+ x11-libs/libX11"
+
+src_unpack() {
+ unpack ${A}
+# sed -i -e 's:QT_BASE_DIR=/usr/lib/qt3:QT_BASE_DIR=/usr/qt/3:' ${S}/make_qmidiroute || die " sed failed"
+ cd ${S}
+ epatch ${FILESDIR}/${P}-fixqtbasedir.patch
+ sed -i -e "s:^\(CXXFLAGS\)\(.*\):\1+\2:" -e 's:gcc:$(CXX):g' make_qmidiroute
+}
+
+src_compile() {
+ make -f make_qmidiroute || die "make QMidiRoute failed"
+}
+
+src_install() {
+ dobin qmidiroute || die "install binaries failed"
+ dodoc README LICENSE || die "install doc failed"
+ insinto /usr/share/${PN}
+ doins aeolus01.qmr
+}
+
+pkg_postinstall() {
+ einfo ""
+ einfo "You will find an example of MIDI filter configuration for use"
+ einfo "with aeolus in /usr/share/${PN}"
+ einfo ""
+}