blob: 330525f28f208bbe2eaa661601daab3faa44bda8 (
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
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/giada/giada-0.5.6.ebuild,v 1.1 2013/01/03 03:18:39 radhermit Exp $
EAPI=5
inherit flag-o-matic eutils autotools
DESCRIPTION="A free, minimal, hardcore audio tool for djs and live performers"
HOMEPAGE="http://www.monocasual.com/giada/"
SRC_URI="http://www.monocasual.com/giada/download.php?dist=source&file=${PN}_${PV}_src.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+alsa jack pulseaudio"
REQUIRED_USE="|| ( alsa jack pulseaudio )"
RDEPEND="media-libs/libsndfile
media-libs/rtaudio[alsa?,jack?,pulseaudio?]
x11-libs/fltk:1
x11-libs/libXpm"
DEPEND="${RDEPEND}"
S=${WORKDIR}
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.5.4-flags.patch
epatch "${FILESDIR}"/${PN}-0.5.4-configure.patch
eautoreconf
}
src_configure() {
append-cppflags -I/usr/include/fltk-1
append-ldflags -L/usr/$(get_libdir)/fltk-1
econf \
--target=linux \
$(use_enable alsa) \
$(use_enable jack) \
$(use_enable pulseaudio pulse)
}
|