diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2023-11-06 10:25:41 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-11-06 10:25:51 +0100 |
commit | 9af06e7c69a959503091eb1dc672037066179773 (patch) | |
tree | 1a76a35b3041924e92f15dea7352ab77c5b232ab /media-plugins/zam-plugins/zam-plugins-4.2.ebuild | |
parent | dev-qt/qtxmlpatterns: Stabilize 5.15.11 ppc64, #915391 (diff) | |
download | gentoo-9af06e7c69a959503091eb1dc672037066179773.tar.gz gentoo-9af06e7c69a959503091eb1dc672037066179773.tar.bz2 gentoo-9af06e7c69a959503091eb1dc672037066179773.zip |
media-plugins/zam-plugins: bump to 4.2
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-plugins/zam-plugins/zam-plugins-4.2.ebuild')
-rw-r--r-- | media-plugins/zam-plugins/zam-plugins-4.2.ebuild | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/media-plugins/zam-plugins/zam-plugins-4.2.ebuild b/media-plugins/zam-plugins/zam-plugins-4.2.ebuild new file mode 100644 index 000000000000..ee2a4c299f20 --- /dev/null +++ b/media-plugins/zam-plugins/zam-plugins-4.2.ebuild @@ -0,0 +1,72 @@ +# Copyright 2021-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# pugl original repository is at https://github.com/lv2/pugl +# but this package does not compile with the latest version of pugl +# from that repository as of Oct 22, 2023. it does not even compile +# with the latest commit from the pugl repository used here as of May 23, 2022. +DPF_COMMIT="63dfb7610bc37dee69f4a303f3e3362529d95f24" +PUGL_COMMIT="844528e197c51603f6cef3238b4a48d23bf60eb7" +DPF_P="DPF-${DPF_COMMIT}" +PUGL_P="pugl-${PUGL_COMMIT}" + +DESCRIPTION="Collection of LV2/LADSPA/VST/JACK audio plugins for high quality processing" +HOMEPAGE="https://www.zamaudio.com/ https://github.com/zamaudio/zam-plugins" +SRC_URI="https://github.com/zamaudio/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/DISTRHO/DPF/archive/${DPF_COMMIT}.tar.gz -> ${DPF_P}.tar.gz + https://github.com/DISTRHO/pugl/archive/${PUGL_COMMIT}.tar.gz -> ${PUGL_P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="jack opengl" + +DEPEND="media-libs/ladspa-sdk + media-libs/liblo + media-libs/libsamplerate + media-libs/libsndfile + media-libs/lv2 + media-libs/zita-convolver + sci-libs/fftw:3.0 + x11-libs/libX11 + jack? ( virtual/jack ) + opengl? ( + media-libs/libglvnd[X] + x11-libs/cairo[X] + )" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +zam_emake() { + emake PREFIX=/usr LIBDIR=$(get_libdir) VERBOSE=true \ + BASE_OPTS="" SKIP_STRIPPING=true \ + HAVE_ZITA_CONVOLVER=true \ + HAVE_CAIRO=$(usex opengl true false) \ + HAVE_DGL=$(usex opengl true false) \ + HAVE_OPENGL=$(usex opengl true false) \ + UI_TYPE=$(usex opengl "opengl" "none") \ + HAVE_JACK=$(usex jack true false) \ + ${@} +} + +src_prepare() { + default + + rm -rf dpf + ln -s "${WORKDIR}"/${DPF_P} dpf || die "Failed to create DPF symlink" + rm -rf dpf/dgl/src/pugl-upstream + ln -s "${WORKDIR}"/${PUGL_P} dpf/dgl/src/pugl-upstream || die "Failed to create pugl symlink" + + # To make absolutely sure we do not even accidentally use bundled libs + rm -rf lib +} + +src_compile() { + zam_emake +} + +src_install() { + zam_emake DESTDIR="${ED}" install +} |