summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-06-09 09:30:43 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-06-09 09:30:53 +0200
commit0359168a865b1a00c4298c8bbfb1f778713a661f (patch)
tree93ea8cefc40cf2fcaa4ae0a2a74e756d09fdee1f /media-sound
parentdev-python/fastimport: Remove 0.9.12 (diff)
downloadgentoo-0359168a865b1a00c4298c8bbfb1f778713a661f.tar.gz
gentoo-0359168a865b1a00c4298c8bbfb1f778713a661f.tar.bz2
gentoo-0359168a865b1a00c4298c8bbfb1f778713a661f.zip
media-sound/yoshimi: bump to 2.0.1
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/yoshimi/Manifest1
-rw-r--r--media-sound/yoshimi/yoshimi-2.0.1.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index 8299e872d6b5..a0cbc3e6a52d 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-1.7.2.tar.gz 10256155 BLAKE2B e330e2d22117bbed2c2054efabf852aa67141a40539ca96e2df7c88cedabb445214f2d79c0f681b68d70b8c832b7bb7852d44442d3f6b1e4183fd2297768b0ca SHA512 7a52dd847cfd19c6b7cb802f181baaa291e73b52f8243e34f9899651f003779b402a20281995ce24f2335570191f6973c2bafb58a5093eba868033b6b9dd4fd9
+DIST yoshimi-2.0.1.tar.gz 8899523 BLAKE2B 4738696773d4542c1ed14b07025f1045b7b65230774fe627b69bc5948dd4e56bb4841980812e33db015a0d509c11a8ecf4c2d5efb6572a4c30e697eb5728fcca SHA512 2e23ee811bfdbad4ca70d32c627d471189122cbf5db2d89d75dd4b3e5116d7d9b97db52be1e218bedba0a28cc1978a923c267d954bc7e44d9d1a07181268268a
diff --git a/media-sound/yoshimi/yoshimi-2.0.1.ebuild b/media-sound/yoshimi/yoshimi-2.0.1.ebuild
new file mode 100644
index 000000000000..ae3192e6c50e
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-2.0.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 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
+ 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
+}