media-plugins/calf: dropped obsolete 0.90.7

Bug: https://bugs.gentoo.org/963391
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
Miroslav Šulc 2025-09-26 13:57:30 +02:00
parent 26731b3462
commit 5ad56a5cc7
No known key found for this signature in database
GPG Key ID: 65D0F770B26B469C
4 changed files with 0 additions and 159 deletions

View File

@ -1,2 +1 @@
DIST calf-0.90.7.tar.gz 16119531 BLAKE2B a9262be48c955901617aac1d1abafbe523eab5cdea6671aa87d6372eba70fedfe2e636e5f66b83cc1d9107de56ec34ed4feb1e4fbf1e1e880e005ed473b84c1d SHA512 a407566717ee31fd26e17ff1e6cd412ecf7a0abef58314c632ef08cc1d80f26e9243b363de82958eb3cc5754dc79af3a682782be0c2654f821bbbcaef9c58f3d
DIST calf-0.90.8.tar.gz 16119457 BLAKE2B 6f154e581c69f6597d3806a779b43b0100ad53264ef50f4056efd1908892348da723eb850c78e5cfdc5eed6348799ad2340b1a5f4b77c65d3650b3d12fd54e83 SHA512 a90e4780ee9006b450525d90142f325e7d93594c875984bd2590964e9a45a68daeaa35bcc68c7c0806ba39fc28ef79250744c3406647906447ce43b238cbd432

View File

@ -1,75 +0,0 @@
# 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.6-desktop-file.patch" # bug 955628
"${FILESDIR}/${PN}-0.90.7-lv2gui.patch" # bug 954142
"${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"
}

View File

@ -1,65 +0,0 @@
From: https://github.com/calf-studio-gear/calf/pull/385
From c88956484bc06cc3192303b71a6f4907d5ea34c5 Mon Sep 17 00:00:00 2001
From: Johannes Lorenz <j.git@lorenz-ho.me>
Date: Sat, 17 May 2025 16:26:03 +0200
Subject: [PATCH] Fix calf.desktop
The `Version` must be the "Version of the Desktop Entry Specification",
and not of the application.
This also updates/fixes the `Categories` section.
Fixes https://955628.bugs.gentoo.org/attachment.cgi?id=928147 .
---
.gitignore | 1 -
.svnignore | 1 -
CMakeLists.txt | 3 +--
calf.desktop.in => calf.desktop | 7 ++++---
configure.ac.deprecated | 1 -
5 files changed, 5 insertions(+), 8 deletions(-)
rename calf.desktop.in => calf.desktop (95%)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bd723ed70..5b976127d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -200,7 +200,6 @@ else()
endif()
configure_file(config.h.cmake.in config.h)
-configure_file(${PROJECT_NAME}.desktop.in ${PROJECT_NAME}.desktop)
include_directories(${CMAKE_BINARY_DIR})
#
@@ -231,7 +230,7 @@ install(DIRECTORY ${CMAKE_SOURCE_DIR}/doc/manuals/scripts/
DESTINATION ${CMAKE_INSTALL_DOCDIR}/scripts FILES_MATCHING PATTERN "*.js")
install(DIRECTORY ${CMAKE_SOURCE_DIR}/sf2/
DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/${PROJECT_NAME}/sf2 FILES_MATCHING PATTERN "*.sf2")
-install(FILES ${CMAKE_BINARY_DIR}/${PROJECT_NAME}.desktop
+install(FILES ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}.desktop
DESTINATION ${CMAKE_INSTALL_DATADIR}/applications)
install(FILES ${CMAKE_SOURCE_DIR}/${PROJECT_NAME}jackhost.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
diff --git a/calf.desktop.in b/calf.desktop
similarity index 95%
rename from calf.desktop.in
rename to calf.desktop
index 3514ee874..c0a2071ac 100644
--- a/calf.desktop.in
+++ b/calf.desktop
@@ -1,10 +1,11 @@
[Desktop Entry]
-Categories=Application;AudioVideo;Audio;GNOME
+Type=Application
+Version=1.5
+
+Categories=AudioVideo;Audio;Sequencer;X-Jack;GTK
Exec=calfjackhost
Icon=calf
Terminal=false
-Type=Application
-Version=@VERSION@
Name=Calf Plugin Pack for JACK
Name[fr]=Ensemble de greffons Calf pour JACK

View File

@ -1,18 +0,0 @@
From: https://github.com/calf-studio-gear/calf/pull/384
From 4f6adaa9bea90bfceaca02334a1a9f1642016444 Mon Sep 17 00:00:00 2001
From: Johannes Lorenz <j.git@lorenz-ho.me>
Date: Fri, 16 May 2025 20:54:44 +0200
Subject: [PATCH] Fix #383: Only install lv2gui if Lv2 *and* GUI are set
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -121,7 +121,7 @@ endif()
install(TARGETS ${PROJECT_NAME}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME})
-if(USE_GUI)
+if(USE_LV2 AND USE_GUI)
install(TARGETS ${PROJECT_NAME}lv2gui DESTINATION ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME})
endif()