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.
52 lines
1.0 KiB
52 lines
1.0 KiB
6 years ago
|
# Copyright 1999-2019 Gentoo Authors
|
||
8 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
5 years ago
|
EAPI=7
|
||
8 years ago
|
|
||
5 years ago
|
inherit cmake-utils xdg
|
||
8 years ago
|
|
||
5 years ago
|
DESCRIPTION="Software synthesizer based on ZynAddSubFX"
|
||
|
HOMEPAGE="https://yoshimi.github.io/"
|
||
|
SRC_URI="https://github.com/${PN^}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||
8 years ago
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
|
KEYWORDS="~amd64 ~x86"
|
||
|
IUSE="+lv2"
|
||
|
|
||
5 years ago
|
BDEPEND="virtual/pkgconfig"
|
||
|
DEPEND="
|
||
6 years ago
|
>=dev-libs/mxml-2.5
|
||
8 years ago
|
>=media-libs/alsa-lib-1.0.17
|
||
|
media-libs/fontconfig
|
||
|
media-libs/libsndfile
|
||
6 years ago
|
sci-libs/fftw:3.0=
|
||
8 years ago
|
sys-libs/ncurses:0=
|
||
|
sys-libs/readline:0=
|
||
5 years ago
|
sys-libs/zlib
|
||
|
virtual/jack
|
||
8 years ago
|
x11-libs/cairo[X]
|
||
|
x11-libs/fltk:1[opengl]
|
||
|
lv2? ( media-libs/lv2 )
|
||
|
"
|
||
5 years ago
|
RDEPEND="${DEPEND}"
|
||
8 years ago
|
|
||
|
CMAKE_USE_DIR="${WORKDIR}/${P}/src"
|
||
5 years ago
|
|
||
6 years ago
|
PATCHES=( "${FILESDIR}"/${P}-cxxflags.patch )
|
||
|
|
||
|
DOCS=( Changelog README.txt )
|
||
8 years ago
|
|
||
|
src_prepare() {
|
||
5 years ago
|
cmake-utils_src_prepare
|
||
6 years ago
|
# respect doc dir
|
||
|
sed -e "s#/doc/yoshimi#/doc/${PF}#" -i src/CMakeLists.txt || die
|
||
8 years ago
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
local mycmakeargs=(
|
||
|
-DLV2Plugin=$(usex lv2)
|
||
|
)
|
||
|
cmake-utils_src_configure
|
||
|
}
|