From 31a50ed6bad6ab3d439b74f08462e572000a16e4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Miroslav=20=C5=A0ulc?= Date: Fri, 1 May 2020 09:09:47 +0200 Subject: [PATCH] media-sound/yoshimi: bump to 1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Miroslav Å ulc --- media-sound/yoshimi/Manifest | 1 + media-sound/yoshimi/yoshimi-1.7.1.ebuild | 51 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 media-sound/yoshimi/yoshimi-1.7.1.ebuild diff --git a/media-sound/yoshimi/Manifest b/media-sound/yoshimi/Manifest index 29237a59c11a..8d4832c0fb1b 100644 --- a/media-sound/yoshimi/Manifest +++ b/media-sound/yoshimi/Manifest @@ -1 +1,2 @@ DIST yoshimi-1.7.0.1.tar.gz 9987526 BLAKE2B e1793b0515fce39a62288f61fda0028c1683080c276b451f2cc67edd617ed2d25d408d3571ac56e8a7d6a4fd537719ba517b4faef969810520fc8af3aee013de SHA512 d403ca3f54a0c8eb27a1f4ea3bf90ab0fd8041b864259c94b0970b24b50b79fc84ea623af2981a1b00e65ebdd3f9ceeb0b5f04c64f62e5694aa55b31bb8390ce +DIST yoshimi-1.7.1.tar.gz 10067045 BLAKE2B 6a9d84d47413ec26c733515bd3becaca436c8168f0f22d2b71f502fde126aa5347ee55d60a74473936933f4831e9feec21c2ebc6916cdde2b2822ecddf3da4c5 SHA512 d422c08caa6bf20665442b2d88fc4ccc41b881d719d5150d1cd3d2617f2216b18c112107c5723cb1077da0ba2278a3eb2db0a8dda4ce3c6315e3875cbfaf421c diff --git a/media-sound/yoshimi/yoshimi-1.7.1.ebuild b/media-sound/yoshimi/yoshimi-1.7.1.ebuild new file mode 100644 index 000000000000..e4c00e99a9c0 --- /dev/null +++ b/media-sound/yoshimi/yoshimi-1.7.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake xdg flag-o-matic + +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-2.5 + 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}" + +CMAKE_USE_DIR="${WORKDIR}/${P}/src" + +DOCS=( Changelog README.txt ) + +src_prepare() { + cmake_src_prepare + append-cxxflags -lpthread + append-cppflags -lpthread +} + +src_configure() { + local mycmakeargs=( -DLV2Plugin=$(usex lv2) ) + cmake_src_configure +} +src_install() { + cmake_src_install + mv "${D}"/usr/share/doc/yoshimi "${D}"/usr/share/doc/${P} +} -- 2.26.2