summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-10-12 08:56:23 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-10-12 08:56:27 +0200
commita1c9df39f005c4f72cb7286bdb9bb8e41e6c4e03 (patch)
tree9de572e6fdc8042fa1e50fb977494c94a3f05278 /media-sound/yoshimi
parentsys-cluster/k3s: 1.22.2 bump (diff)
downloadgentoo-a1c9df39f005c4f72cb7286bdb9bb8e41e6c4e03.tar.gz
gentoo-a1c9df39f005c4f72cb7286bdb9bb8e41e6c4e03.tar.bz2
gentoo-a1c9df39f005c4f72cb7286bdb9bb8e41e6c4e03.zip
media-sound/yoshimi: bump to 2.1.1
Package-Manager: Portage-3.0.28, 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.1.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index 37ada001eabe..fceaa52a644d 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-2.1.0.tar.gz 7471945 BLAKE2B f95fb49ec901e5a513960bfc4c1d27ce1979f3cd664d7ca7ddb723ad41fb06153749db0560a32f41c44c7fb433fde09ee49e898cb8bf55e232536b163d616992 SHA512 d90666ca2599d057d5c22abfc5e64f9a31eb323d13c50f771b92c5f94f7da9049b79dc8a478b3832142a97f8c2f5ea384a26e1543fdd6c063930989e34b146eb
+DIST yoshimi-2.1.1.tar.gz 7479237 BLAKE2B a49cdbb2143a555debc89ada21ea549bcd0bd7fe83693d7b962dc1e91a8fccf03a67b5204222219e4745224963465d6d77e104f9a89f596458879dd90aeeff32 SHA512 066c45fa17aa18bd0f0806efc80d98b8c340ce295217600c4849affaae335515e179b935d72eca00bc695c2557005034d0a91730e5d1eb41338dc61fe6c25d4b
diff --git a/media-sound/yoshimi/yoshimi-2.1.1.ebuild b/media-sound/yoshimi/yoshimi-2.1.1.ebuild
new file mode 100644
index 000000000000..23dfc649dc2c
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-2.1.1.ebuild
@@ -0,0 +1,60 @@
+# 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
+}
+
+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
+}