summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-12-03 10:54:26 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2021-12-03 10:54:26 +0100
commite0e39530f3f6f982cb5ba1a3414e1248872c7575 (patch)
tree5e1de53e2e544c25a6222081d95a56998cc3d61c /media-sound
parentmedia-sound/mpc: bump to 0.34 (diff)
downloadgentoo-e0e39530f3f6f982cb5ba1a3414e1248872c7575.tar.gz
gentoo-e0e39530f3f6f982cb5ba1a3414e1248872c7575.tar.bz2
gentoo-e0e39530f3f6f982cb5ba1a3414e1248872c7575.zip
media-sound/yoshimi: bump to 2.1.2
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/yoshimi/Manifest1
-rw-r--r--media-sound/yoshimi/yoshimi-2.1.2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest
index b8ecb55b93e1..de6ba0eb3f67 100644
--- a/media-sound/yoshimi/Manifest
+++ b/media-sound/yoshimi/Manifest
@@ -1 +1,2 @@
DIST yoshimi-2.1.1.1.tar.gz 7479260 BLAKE2B eec292d489c01054ff3e7b4402a359d5abc29157048b475df8482630dccaae9fdff6cc697d95614778e34d363215633b0dc8beaeb1c832c02f98f0f21384b42e SHA512 4feaf7b779d450e4d8f9612a141fdcd2858117c738c56bb43fa12a19f9806d6c990e560dfc62755c7d39e23608f516fb017b0c4063440996c5c17286a58bf946
+DIST yoshimi-2.1.2.tar.gz 7641973 BLAKE2B efb769227ecc955098e4ad69fd86fc3e3c83ca3552db2d0df5ee53c59f3accbfe369ebf25f8a92681f506ddb2ba96c9058d1f2775d8396221a22af1e4f007213 SHA512 3c26d79181c03a0771a83e7c9d8e7c5ab7506a9a3ce26ffb4d536d5b2e8272cb7d6880cc048639447572b274e9ce0c31f09e9fc23a44db755bbb2d9a836eaa0b
diff --git a/media-sound/yoshimi/yoshimi-2.1.2.ebuild b/media-sound/yoshimi/yoshimi-2.1.2.ebuild
new file mode 100644
index 000000000000..d46d4388b79d
--- /dev/null
+++ b/media-sound/yoshimi/yoshimi-2.1.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2021 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
+}