diff options
author | Sam James <sam@gentoo.org> | 2021-04-13 21:57:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-04-13 22:37:40 +0000 |
commit | ac4548716579aa4098ab08dc74b89a4f4ad0a88b (patch) | |
tree | 1c7900252c5bb855be0e0d355db8eafac92f075e /media-plugins/calf/calf-0.90.3-r1.ebuild | |
parent | app-admin/syslog-ng: use pkgconfig to find libesmtp (diff) | |
download | gentoo-ac4548716579aa4098ab08dc74b89a4f4ad0a88b.tar.gz gentoo-ac4548716579aa4098ab08dc74b89a4f4ad0a88b.tar.bz2 gentoo-ac4548716579aa4098ab08dc74b89a4f4ad0a88b.zip |
media-plugins/calf: disable broken slibtool patch for now
Seems to break some symlinks, pending fix upstream.
Closes: https://bugs.gentoo.org/779343
Bug: https://bugs.gentoo.org/778314
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-plugins/calf/calf-0.90.3-r1.ebuild')
-rw-r--r-- | media-plugins/calf/calf-0.90.3-r1.ebuild | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/media-plugins/calf/calf-0.90.3-r1.ebuild b/media-plugins/calf/calf-0.90.3-r1.ebuild new file mode 100644 index 000000000000..c459fd25c342 --- /dev/null +++ b/media-plugins/calf/calf-0.90.3-r1.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools xdg + +DESCRIPTION="A set of open source instruments and effects for digital audio workstations" +HOMEPAGE="http://calf-studio-gear.org/" + +if [[ "${PV}" = "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/calf-studio-gear/calf.git" +else + SRC_URI="https://github.com/calf-studio-gear/calf/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86" +fi + +LICENSE="LGPL-2.1" +SLOT="0" +IUSE="cpu_flags_x86_sse experimental gtk jack lash lv2 static-libs" + +REQUIRED_USE="jack? ( gtk )" + +BDEPEND=" + virtual/pkgconfig +" +DEPEND=" + dev-libs/atk + dev-libs/expat + dev-libs/glib:2 + media-sound/fluidsynth:= + gtk? ( + x11-libs/cairo + x11-libs/gdk-pixbuf + x11-libs/gtk+:2 + x11-libs/pango + ) + jack? ( virtual/jack ) + lash? ( media-sound/lash ) + lv2? ( media-libs/lv2 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-0.90.1-no-automagic.patch" + "${FILESDIR}/${PN}-0.90.1-htmldir.patch" + "${FILESDIR}/${PN}-0.90.1-desktop.patch" +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + local myeconfargs=( + --prefix="${EPREFIX}"/usr + --without-obsolete-check + $(use_enable experimental) + $(use_enable gtk gui) + $(use_enable jack) + $(use_with lash) + $(use_with lv2 lv2) + $(usex lv2 "--with-lv2-dir=${EPREFIX}/usr/$(get_libdir)/lv2" "") + $(use_enable static-libs static) + $(use_enable cpu_flags_x86_sse sse) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + mv "${ED}"/usr/share/bash-completion/completions/calf \ + "${ED}"/usr/share/bash-completion/completions/calfjackhost +} |