summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-05-21 08:28:13 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-05-21 08:28:13 +0200
commitcdfecb93fd7246702070a21d3c1d136e3b626f92 (patch)
tree0c62759f3fd3e21b7740238040dca099a34a0d07 /media-sound/yoshimi
parentmedia-sound/chuck: bump to 1.4.1.1 (diff)
downloadgentoo-cdfecb93fd7246702070a21d3c1d136e3b626f92.tar.gz
gentoo-cdfecb93fd7246702070a21d3c1d136e3b626f92.tar.bz2
gentoo-cdfecb93fd7246702070a21d3c1d136e3b626f92.zip
media-sound/yoshimi: vump to 2.2.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.2.0.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index 79069ae73797..c6b5c2d03427 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-2.1.2.2.tar.gz 7641720 BLAKE2B 45da49df7bea0919d08f66fa37ddf21483ac3074aa7fcb57f1a55137ab9f29545dc2121041b7c0fb33d86cffa0608a5fda5a963a79ce54c33cc4fc90ab5e38ba SHA512 14e9dc19e9654d4178004adfc930ca74522ab9db6711aaf2780e57930d6426cb28fd51f3d8d9b7478864e6a3e17d737512dd42cb9cdceeefe168ba803e71edaf
+DIST yoshimi-2.2.0.tar.gz 8021191 BLAKE2B 9ed0976f70c1eea6a17be12e55bc3e01bb304614d0cf91d26f90ad676306baf46967406f7adf576e9758ae7ff103fee4d02584141d3afe99e4b67ff71ef01b18 SHA512 b2d21732d1dd476b0217c10012d654f038250a822517fd4cd4abd85d931c62f3a416cc39438c119bbd1b11b5f40a55735ff8316cc513204abb380b33fbc37231
diff --git a/media-sound/yoshimi/yoshimi-2.2.0.ebuild b/media-sound/yoshimi/yoshimi-2.2.0.ebuild
new file mode 100644
index 000000000000..07ae2d6616da
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-2.2.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 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
+}