summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2023-06-01 09:08:25 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-06-01 09:08:25 +0200
commitec628019993d21064e10d99942501435896630d1 (patch)
treef48ef4ef72a756190d06492278b06666e29db9bb /media-sound/yoshimi
parentmedia-sound/abcmidi: bump to 2023.05.30 (diff)
downloadgentoo-ec628019993d21064e10d99942501435896630d1.tar.gz
gentoo-ec628019993d21064e10d99942501435896630d1.tar.bz2
gentoo-ec628019993d21064e10d99942501435896630d1.zip
media-sound/yoshimi: bump to 2.3.0
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.3.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index 72cf559b0649..9ff444e47850 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-2.2.3.tar.gz 8067566 BLAKE2B 6aadaa08dafc83e7b5eaec88d53ba27fa923012b4ceaa0acd49dc82bd6aa9b255a17477c950fc9ab97ca0c08e8bf1a2f655f24aca28e1d762ea85fc92da0ca42 SHA512 d10829bcc81999c359912c76a1cbdeba4dbc5a31dbca3c54bd31323495c6ae889d50342d8024929076976b7b6deb1dc7829fbd19f9f3618caf2517a014aeccbe
+DIST yoshimi-2.3.0.tar.gz 8765797 BLAKE2B 3c415c4e0460a5a625eda3cd50324cd234f8c1b3c69fe46e01af6a5c3c7b896caba1f4950148bff35433a616163722913db213b2c40b84eba6956213e8ec86fb SHA512 a5ff3234a1cfa6fefe93eb1088b61e939fb2d89636dacb6ee7f5082532cc0bc04a701d6326b61a3d7d7ba3f4bd58acbf4cc806e9a693f4b89a6db1a8192d872c
diff --git a/media-sound/yoshimi/yoshimi-2.3.0.ebuild b/media-sound/yoshimi/yoshimi-2.3.0.ebuild
new file mode 100644
index 000000000000..a7c79e44fa3d
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-2.3.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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
+}
+
+src_install() {
+ cmake_src_install
+
+ # unpack Histories.tar.bz2 to avoid QA issues
+ pushd "${ED}/usr/share/doc/${PF}" || die
+ tar xvf Histories.tar.bz2 || die
+ rm Histories.tar.bz2
+ popd
+}