summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-08-25 08:08:20 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-08-25 08:08:34 +0200
commit7376edc78bf1cd00bc2231a69d693eb294e3c0ae (patch)
tree0bb49ddfe6033534c48c531ef6a7d58350a3a9d6 /media-sound/yoshimi
parentdev-perl/Net-Daemon: x86 stable wrt bug #810149 (diff)
downloadgentoo-7376edc78bf1cd00bc2231a69d693eb294e3c0ae.tar.gz
gentoo-7376edc78bf1cd00bc2231a69d693eb294e3c0ae.tar.bz2
gentoo-7376edc78bf1cd00bc2231a69d693eb294e3c0ae.zip
media-sound/yoshimi: bump to 2.1.0
Package-Manager: Portage-3.0.22, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/yoshimi')
-rw-r--r--media-sound/yoshimi/Manifest1
-rw-r--r--media-sound/yoshimi/yoshimi-2.1.0.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index 6f6cb0b0f0e7..00a475639d42 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-2.0.2.tar.gz 7017339 BLAKE2B a0e129b3f667dff28e043ab69416992556f4e737e786baa79c361cff9411b849acf815e9d37f1a0338ce81f3014c3f44f0a27c3287cdd9c29d6c453a44c49cc2 SHA512 f83eed05dbe63e1966086ac0d19d02fafabce7ce10c6579ab8a95fd5fec7c040d516a4d979f38181f31c9f7720e92fac3c99c3737ddc4b0d4005bcdc45dea40f
+DIST yoshimi-2.1.0.tar.gz 7471945 BLAKE2B f95fb49ec901e5a513960bfc4c1d27ce1979f3cd664d7ca7ddb723ad41fb06153749db0560a32f41c44c7fb433fde09ee49e898cb8bf55e232536b163d616992 SHA512 d90666ca2599d057d5c22abfc5e64f9a31eb323d13c50f771b92c5f94f7da9049b79dc8a478b3832142a97f8c2f5ea384a26e1543fdd6c063930989e34b146eb
diff --git a/media-sound/yoshimi/yoshimi-2.1.0.ebuild b/media-sound/yoshimi/yoshimi-2.1.0.ebuild
new file mode 100644
index 000000000000..ae3192e6c50e
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-2.1.0.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
+}