diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-17 14:32:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-17 14:32:10 +0100 |
commit | 51c50bd4c895ebf56d81fecae8e45ec3b5fc3efa (patch) | |
tree | 753b6b08624c34d1ed8414bbe22c45409f7741b9 /media-sound/yoshimi/yoshimi-1.7.1.ebuild | |
parent | be9d77d3ac6af8f4ead98d89706f356b65578c93 (diff) | |
parent | deba8115d2c2af26df42966b91ef04ff4dd79cde (diff) |
Merge branch 'edge' into next
Diffstat (limited to 'media-sound/yoshimi/yoshimi-1.7.1.ebuild')
-rw-r--r-- | media-sound/yoshimi/yoshimi-1.7.1.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
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} +} |