summaryrefslogtreecommitdiff
path: root/media-plugins/calf
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /media-plugins/calf
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'media-plugins/calf')
-rw-r--r--media-plugins/calf/Manifest1
-rw-r--r--media-plugins/calf/calf-0.90.8.ebuild73
-rw-r--r--media-plugins/calf/calf-9999.ebuild72
-rw-r--r--media-plugins/calf/files/calf-0.90.7-no-remove-ttl.patch15
-rw-r--r--media-plugins/calf/metadata.xml15
5 files changed, 176 insertions, 0 deletions
diff --git a/media-plugins/calf/Manifest b/media-plugins/calf/Manifest
new file mode 100644
index 000000000000..b7288e3dffa9
--- /dev/null
+++ b/media-plugins/calf/Manifest
@@ -0,0 +1 @@
+DIST calf-0.90.8.tar.gz 16119457 BLAKE2B 6f154e581c69f6597d3806a779b43b0100ad53264ef50f4056efd1908892348da723eb850c78e5cfdc5eed6348799ad2340b1a5f4b77c65d3650b3d12fd54e83 SHA512 a90e4780ee9006b450525d90142f325e7d93594c875984bd2590964e9a45a68daeaa35bcc68c7c0806ba39fc28ef79250744c3406647906447ce43b238cbd432
diff --git a/media-plugins/calf/calf-0.90.8.ebuild b/media-plugins/calf/calf-0.90.8.ebuild
new file mode 100644
index 000000000000..549c4c490bf3
--- /dev/null
+++ b/media-plugins/calf/calf-0.90.8.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="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 gui jack lash lv2"
+
+REQUIRED_USE="jack? ( gui )"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0
+ dev-libs/expat
+ dev-libs/glib:2
+ media-sound/fluidsynth:=
+ gui? (
+ 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=(
+ # pending upstream PRs:
+ "${FILESDIR}/${PN}-0.90.7-no-remove-ttl.patch"
+)
+
+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=(
+ -DWANT_GUI=$(usex gui)
+ -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
+ mv "${ED}"/usr/share/bash-completion/completions/calf \
+ "${ED}"/usr/share/bash-completion/completions/calfjackhost || die "Failed to install bash completion"
+}
diff --git a/media-plugins/calf/calf-9999.ebuild b/media-plugins/calf/calf-9999.ebuild
new file mode 100644
index 000000000000..feaf52ef9582
--- /dev/null
+++ b/media-plugins/calf/calf-9999.ebuild
@@ -0,0 +1,72 @@
+# 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="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 gui jack lash lv2"
+
+REQUIRED_USE="jack? ( gui )"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="
+ >=app-accessibility/at-spi2-core-2.46.0
+ dev-libs/expat
+ dev-libs/glib:2
+ media-sound/fluidsynth:=
+ gui? (
+ 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.7-no-remove-ttl.patch"
+)
+
+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=(
+ -DWANT_GUI=$(usex gui)
+ -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
+ mv "${ED}"/usr/share/bash-completion/completions/calf \
+ "${ED}"/usr/share/bash-completion/completions/calfjackhost || die "Failed to install bash completion"
+}
diff --git a/media-plugins/calf/files/calf-0.90.7-no-remove-ttl.patch b/media-plugins/calf/files/calf-0.90.7-no-remove-ttl.patch
new file mode 100644
index 000000000000..97a70abc5d92
--- /dev/null
+++ b/media-plugins/calf/files/calf-0.90.7-no-remove-ttl.patch
@@ -0,0 +1,15 @@
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -171,12 +171,6 @@ if(USE_LV2)
+ endif()
+ endif()
+
+- # Remove previous .ttl files
+- file(GLOB ttl_files "${LV2DIR_PROJ}/*.ttl")
+- foreach(ttl_file ${ttl_files})
+- file(REMOVE "${ttl_file}")
+- endforeach()
+-
+ # Install new .ttl files
+ install(CODE "execute_process(COMMAND \"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}makerdf\" -m ttl -p \"\$ENV{DESTDIR}${LV2DIR_PROJ}\" -d \"\$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/\")")
+
diff --git a/media-plugins/calf/metadata.xml b/media-plugins/calf/metadata.xml
new file mode 100644
index 000000000000..06f3ac273b52
--- /dev/null
+++ b/media-plugins/calf/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <use>
+ <flag name="experimental">Enable experimental features/plugins</flag>
+ <flag name="lv2">Add support for Ladspa V2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">calf-studio-gear/calf</remote-id>
+ </upstream>
+</pkgmetadata>