You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-sound/jackbeat/jackbeat-0.7.6.ebuild

49 lines
1.1 KiB

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit autotools eutils
DESCRIPTION="An audio sequencer for Linux"
HOMEPAGE="http://www.samalyse.com/jackbeat/"
SRC_URI="http://www.samalyse.com/${PN}/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="jack pulseaudio"
RDEPEND="dev-libs/glib:2
>=dev-libs/libxml2-2.6:2
gnome-base/libglade:2.0
>=media-libs/liblo-0.22
>=media-libs/libsamplerate-0.1.2
>=media-libs/libsndfile-1.0.15
media-libs/alsa-lib
media-libs/portaudio
jack? ( >=media-sound/jack-audio-connection-kit-0.101 )
pulseaudio? ( >=media-sound/pulseaudio-0.9.10 )
x11-libs/cairo
x11-libs/gdk-pixbuf:2
>=x11-libs/gtk+-2.12:2
x11-libs/pango"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-automagic-pulse.patch \
"${FILESDIR}"/${P}-underlinking.patch
# Don't install license file
sed -i -e 's:help::' pkgdata/Makefile.am || die
eautoreconf
}
src_configure() {
econf \
$(use_with jack) \
$(use_with pulseaudio pulse)
}