blob: 5d2301bfa9d896552defe467f5b069d6c798cffc (
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
56
57
58
59
60
61
62
|
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
WX_GTK_VER=3.0
inherit autotools flag-o-matic wxwidgets toolchain-funcs
DESCRIPTION="Live looping sampler with immediate loop recording"
HOMEPAGE="http://essej.net/sooperlooper/index.html"
SRC_URI="http://essej.net/sooperlooper/${P/_p/-}.tar.gz
mirror://gentoo/${PN}-1.6.5-m4.tar.bz2
"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="wxwidgets"
RDEPEND="
media-sound/jack-audio-connection-kit
>=media-libs/liblo-0.10
>=dev-libs/libsigc++-2.8:2
>=media-libs/libsndfile-1.0.2
>=media-libs/libsamplerate-0.0.13
dev-libs/libxml2:2
>=media-libs/rubberband-0.0.13
sci-libs/fftw:3.0=
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER} )
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
S="${WORKDIR}/${P/_p*}"
DOCS=( OSC README )
PATCHES=(
"${FILESDIR}"/${P}-wx3.0.patch
"${FILESDIR}"/${P}-libsigc28.patch
"${FILESDIR}"/${P}-clash.patch
)
src_prepare() {
default
cp -rf "${WORKDIR}"/aclocal "${S}" || die "copying aclocal failed"
AT_M4DIR="${S}"/aclocal eautoreconf
}
src_configure() {
use wxwidgets && need-wxwidgets unicode
append-cppflags -std=c++11 # Its ugly build system honors CPPFLAGS instead of CXXFLAGS for this
econf \
$(use_with wxwidgets gui) \
--disable-optimize \
--with-wxconfig-path="${WX_CONFIG}"
}
src_compile() {
emake AR="$(tc-getAR)"
}
|