commit:     a79b954c84c94faa9d43f397df0fa2c9cfc5488a
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 19 17:59:24 2025 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 17:59:24 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79b954c

media-plugins/calf: bump to 0.90.5

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-plugins/calf/Manifest           |  1 +
 media-plugins/calf/calf-0.90.5.ebuild | 73 +++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)

diff --git a/media-plugins/calf/Manifest b/media-plugins/calf/Manifest
index d10ad322fb62..a6fa6fd66565 100644
--- a/media-plugins/calf/Manifest
+++ b/media-plugins/calf/Manifest
@@ -1 +1,2 @@
 DIST calf-0.90.4.tar.gz 16119716 BLAKE2B 
555a813c6e8d58ea67db349957d2673e614448e17a3e5e934106fa445d7a6c19bc739b2487a883c5e709ac8dd5f429363e3bea09d72c1ca23a5755ca3b765479
 SHA512 
666d699d989a588bfe9d1e92f6b221a30541c26874d5941f54c2b2f216d2a59d628f1579d1e789e4a40d07d06f43a31055ce67885abb25c032643aa5f75797cd
+DIST calf-0.90.5.tar.gz 16119586 BLAKE2B 
d3ec259e6331202d18b412512c93a9a848f5755df8764150d34faee3e091eb9fd4a3becef42c4d861c6cb3ea6784efe50360ec92a2f555bffd86f3532ffcfa20
 SHA512 
af694c09b063c83ea475aa500ad9fc1fc44f7ca3a612952f0d74ca384c6ef993ff7b61c9d54122450966304d6f5f4e6a60e5a62a415ee09d75c66108063a5f70

diff --git a/media-plugins/calf/calf-0.90.5.ebuild 
b/media-plugins/calf/calf-0.90.5.ebuild
new file mode 100644
index 000000000000..407462a6070c
--- /dev/null
+++ b/media-plugins/calf/calf-0.90.5.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic toolchain-funcs xdg
+
+DESCRIPTION="A set of open source instruments and effects for digital audio 
workstations"
+HOMEPAGE="https://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"
+
+REQUIRED_USE="jack? ( gtk )"
+
+PATCHES=(
+       "${FILESDIR}/calf-0.90.6-docdir.patch"
+)
+
+BDEPEND="
+       virtual/pkgconfig
+"
+DEPEND="
+       >=app-accessibility/at-spi2-core-2.46.0
+       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}"
+
+src_configure() {
+       # Upstream append -ffast-math by default, however since libtool links 
C++
+       # shared libs with -nostdlib, this causes symbol resolution error for
+       # __powidn2 when using compiler-rt. Disable fast math on compiler-rt 
until
+       # a better fix is found.
+       [[ $(tc-get-c-rtlib) = "compiler-rt" ]] && append-cxxflags 
"-fno-fast-math"
+
+       local mycmakeargs=(
+               -DDOCDIR="${EPREFIX}"/usr/share/doc/${PF}/
+               -DWANT_GUI=$(usex gtk)
+               -DWANT_JACK=$(usex jack)
+               -DWANT_LASH=$(usex lash)
+               -DWANT_LV2=$(usex lv2)
+               -DWANT_LV2_GUI=$(usex lv2)
+               -DWANT_SORDI=ON
+               -DWANT_EXPERIMENTAL=$(usex experimental)
+       )
+       cmake_src_configure
+}
+
+src_install() {
+       cmake_src_install
+       mkdir -p "${ED}"/usr/share/bash-completion/completions || die "Failed 
to create bash complation dir"
+       cp "${S}"/calf 
"${ED}"/usr/share/bash-completion/completions/calfjackhost || die "Failed to 
install bash completion"
+}

Reply via email to