summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-08-22 00:44:58 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-08-22 18:05:55 +0200
commitab860e693eaa9c4c7a0962d3ccf352136fe4178f (patch)
tree743d3c1fc1437f8ba646e8dea94c2bd058822931 /media-sound/yoshimi
parentmedia-sound/quimup: 1.4.4 version bump, fix DEPEND -> BDEPEND (diff)
downloadgentoo-ab860e693eaa9c4c7a0962d3ccf352136fe4178f.tar.gz
gentoo-ab860e693eaa9c4c7a0962d3ccf352136fe4178f.tar.bz2
gentoo-ab860e693eaa9c4c7a0962d3ccf352136fe4178f.zip
media-sound/yoshimi: 1.7.2 version bump, fix doc install dir
Closes: https://bugs.gentoo.org/736846 Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/yoshimi')
-rw-r--r--media-sound/yoshimi/Manifest1
-rw-r--r--media-sound/yoshimi/yoshimi-1.7.2.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index 01387210375a..79022d2a18c9 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-1.7.1.tar.gz 10067045 BLAKE2B 6a9d84d47413ec26c733515bd3becaca436c8168f0f22d2b71f502fde126aa5347ee55d60a74473936933f4831e9feec21c2ebc6916cdde2b2822ecddf3da4c5 SHA512 d422c08caa6bf20665442b2d88fc4ccc41b881d719d5150d1cd3d2617f2216b18c112107c5723cb1077da0ba2278a3eb2db0a8dda4ce3c6315e3875cbfaf421c
+DIST yoshimi-1.7.2.tar.gz 10256155 BLAKE2B e330e2d22117bbed2c2054efabf852aa67141a40539ca96e2df7c88cedabb445214f2d79c0f681b68d70b8c832b7bb7852d44442d3f6b1e4183fd2297768b0ca SHA512 7a52dd847cfd19c6b7cb802f181baaa291e73b52f8243e34f9899651f003779b402a20281995ce24f2335570191f6973c2bafb58a5093eba868033b6b9dd4fd9
diff --git a/media-sound/yoshimi/yoshimi-1.7.2.ebuild b/media-sound/yoshimi/yoshimi-1.7.2.ebuild
new file mode 100644
index 000000000000..bb04f4a15df6
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-1.7.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic xdg
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+lv2"
+
+BDEPEND="virtual/pkgconfig"
+DEPEND="
+ >=dev-libs/mxml-2.5
+ media-libs/alsa-lib
+ media-libs/fontconfig
+ media-libs/libsndfile
+ sci-libs/fftw:3.0=
+ sys-libs/ncurses:0=
+ sys-libs/readline:0=
+ sys-libs/zlib
+ virtual/jack
+ x11-libs/cairo[X]
+ x11-libs/fltk:1[opengl]
+ lv2? ( media-libs/lv2 )
+"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${P}/src"
+
+DOCS=( ../Changelog ../README.txt )
+
+src_prepare() {
+ cmake_src_prepare
+ sed -e "/^install.*doc.*DATAROOTDIR/s/${PN}/${PF}/" -i CMakeLists.txt || die
+ append-cxxflags -lpthread
+ append-cppflags -lpthread
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DLV2Plugin=$(usex lv2)
+ )
+ cmake_src_configure
+}