1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit cmake xdg flag-o-matic
8 DESCRIPTION="Software synthesizer based on ZynAddSubFX"
9 HOMEPAGE="https://yoshimi.github.io/"
10 SRC_URI="https://github.com/${PN^}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
17 BDEPEND="virtual/pkgconfig"
29 x11-libs/fltk:1[opengl]
30 lv2? ( media-libs/lv2 )
34 CMAKE_USE_DIR="${WORKDIR}/${P}/src"
36 DOCS=( Changelog README.txt )
40 append-cxxflags -lpthread
41 append-cppflags -lpthread
45 local mycmakeargs=( -DLV2Plugin=$(usex lv2) )
50 mv "${D}"/usr/share/doc/yoshimi "${D}"/usr/share/doc/${P}