blob: 2ab0461bff9551aa2f953bcd0d31700816fee328 (
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
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/seq24/seq24-0.8.7.ebuild,v 1.6 2008/06/04 13:05:12 aballier Exp $
inherit eutils
IUSE="jack lash"
DESCRIPTION="Seq24 is a loop based MIDI sequencer with focus on live performances."
HOMEPAGE="http://www.filter24.org/seq24/"
SRC_URI="http://www.filter24.org/seq24/${P}.tar.gz
mirror://gentoo/${P}-sigc22_fix.patch.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
RDEPEND=">=media-libs/alsa-lib-0.9.0
>=dev-cpp/gtkmm-2.4
>=dev-libs/libsigc++-2.0
jack? ( >=media-sound/jack-audio-connection-kit-0.90.0 )
lash? ( >=media-sound/lash-0.5.0 )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
pkg_setup() {
if ! built_with_use --missing true media-libs/alsa-lib midi; then
eerror ""
eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
eerror "need to have built media-libs/alsa-lib with midi USE flag."
die "Missing midi USE flag on media-libs/alsa-lib"
fi
}
src_unpack() {
unpack ${A}
cd "${S}"
# fix #220827
if has_version ">=dev-libs/libsigc++-2.2"; then
epatch "${WORKDIR}/${P}-sigc22_fix.patch"
fi
}
src_compile() {
econf \
$(use_enable jack jack-support) \
$(use_enable lash) \
--disable-alsatest \
|| die
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog README RTC SEQ24
}
|