blob: 45b62f92ff60768c5f3355229ee83da87634fb05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2008 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.4 2008/07/27 21:34:59 carlo Exp $
EAPI=1
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"
IUSE=""
DEPEND="x11-libs/qt:3
>=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 || die "install doc failed"
insinto /usr/share/${PN}
doins aeolus01.qmr
}
pkg_postinst() {
elog "You will find an example of MIDI filter configuration for use"
elog "with aeolus in /usr/share/${PN}"
}
|