media-sound/yoshimi: bump to 1.7.1
authorMiroslav Šulc <fordfrog@gentoo.org>
Fri, 1 May 2020 07:09:47 +0000 (09:09 +0200)
committerMiroslav Šulc <fordfrog@gentoo.org>
Fri, 1 May 2020 07:10:05 +0000 (09:10 +0200)
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
media-sound/yoshimi/Manifest
media-sound/yoshimi/yoshimi-1.7.1.ebuild [new file with mode: 0644]

index 29237a59c11a7878f168ffd3ad7ab1d5eebe4f5f..8d4832c0fb1bcec348981d8fdc1d2f6016fdeb61 100644 (file)
@@ -1 +1,2 @@
 DIST yoshimi-1.7.0.1.tar.gz 9987526 BLAKE2B e1793b0515fce39a62288f61fda0028c1683080c276b451f2cc67edd617ed2d25d408d3571ac56e8a7d6a4fd537719ba517b4faef969810520fc8af3aee013de SHA512 d403ca3f54a0c8eb27a1f4ea3bf90ab0fd8041b864259c94b0970b24b50b79fc84ea623af2981a1b00e65ebdd3f9ceeb0b5f04c64f62e5694aa55b31bb8390ce
+DIST yoshimi-1.7.1.tar.gz 10067045 BLAKE2B 6a9d84d47413ec26c733515bd3becaca436c8168f0f22d2b71f502fde126aa5347ee55d60a74473936933f4831e9feec21c2ebc6916cdde2b2822ecddf3da4c5 SHA512 d422c08caa6bf20665442b2d88fc4ccc41b881d719d5150d1cd3d2617f2216b18c112107c5723cb1077da0ba2278a3eb2db0a8dda4ce3c6315e3875cbfaf421c
diff --git a/media-sound/yoshimi/yoshimi-1.7.1.ebuild b/media-sound/yoshimi/yoshimi-1.7.1.ebuild
new file mode 100644 (file)
index 0000000..e4c00e9
--- /dev/null
@@ -0,0 +1,51 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg flag-o-matic
+
+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}"
+
+CMAKE_USE_DIR="${WORKDIR}/${P}/src"
+
+DOCS=( Changelog README.txt )
+
+src_prepare() {
+       cmake_src_prepare
+       append-cxxflags -lpthread
+       append-cppflags -lpthread
+}
+
+src_configure() {
+       local mycmakeargs=( -DLV2Plugin=$(usex lv2) )
+       cmake_src_configure
+}
+src_install() {
+       cmake_src_install
+       mv "${D}"/usr/share/doc/yoshimi "${D}"/usr/share/doc/${P}
+}