blob: 9ae7c11a74b022aa91a70c33b196625142cb45fa (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/yoshimi/yoshimi-1.3.1.ebuild,v 1.1 2014/12/11 04:38:22 radhermit Exp $
EAPI=5
inherit eutils cmake-utils multilib
DESCRIPTION="A software synthesizer based on ZynAddSubFX"
HOMEPAGE="http://yoshimi.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+lv2"
RDEPEND="
>=dev-libs/mini-xml-2.5
>=media-libs/alsa-lib-1.0.17
media-libs/fontconfig
media-libs/libsndfile
>=media-sound/jack-audio-connection-kit-0.115.6
sci-libs/fftw:3.0
sys-libs/zlib
x11-libs/cairo
x11-libs/fltk:1[opengl]
lv2? ( media-libs/lv2 )
"
DEPEND="${RDEPEND}
dev-libs/boost
virtual/pkgconfig
"
S=${WORKDIR}/${P}/src
DOCS="../Changelog"
src_prepare() {
sed -i \
-e '/set (CMAKE_CXX_FLAGS_RELEASE/d' \
-e "s:lib/lv2:$(get_libdir)/lv2:" \
CMakeLists.txt || die
EPATCH_OPTS="-d .." epatch "${FILESDIR}"/${PN}-1.1.0-desktop-version.patch
}
src_configure() {
local mycmakeargs=(
-DBuildLV2Plugin=$(usex lv2 ON OFF)
)
cmake-utils_src_configure
}
|