mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-17 02:39:08 -07:00
media-plugins/calf: bump to 0.9.4 + eapi8 + updated live
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST calf-0.90.3.tar.gz 15908050 BLAKE2B b3fff0232f6e0c70987108c5e12a47c606394acf010f1223275aa76472498cfda8e9ae82ccc6eae870225c05935a2c832817d8b1f9ade3f6c0ebc84aedfbfd33 SHA512 328a49f7c031e58b786bc1db5fa180f663d7910b2dfc781bccb2f3e0e2ab4158a1f62de96ef0b9e44cbedf778aaaedfb99a12b47dccddab739bf279001b3a1d7
|
||||
DIST calf-0.90.4.tar.gz 16119716 BLAKE2B 555a813c6e8d58ea67db349957d2673e614448e17a3e5e934106fa445d7a6c19bc739b2487a883c5e709ac8dd5f429363e3bea09d72c1ca23a5755ca3b765479 SHA512 666d699d989a588bfe9d1e92f6b221a30541c26874d5941f54c2b2f216d2a59d628f1579d1e789e4a40d07d06f43a31055ce67885abb25c032643aa5f75797cd
|
||||
|
||||
82
media-plugins/calf/calf-0.90.4.ebuild
Normal file
82
media-plugins/calf/calf-0.90.4.ebuild
Normal file
@@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools 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 static-libs"
|
||||
|
||||
REQUIRED_USE="jack? ( gtk )"
|
||||
|
||||
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}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.9.4-no-automagic.patch"
|
||||
"${FILESDIR}/${PN}-0.9.4-htmldir.patch"
|
||||
"${FILESDIR}/${PN}-0.90.4-desktop.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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 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
|
||||
}
|
||||
@@ -13,7 +13,7 @@ if [[ "${PV}" = "9999" ]] ; then
|
||||
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 ~x86"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
@@ -43,9 +43,9 @@ DEPEND="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-9999-no-automagic.patch"
|
||||
"${FILESDIR}/${PN}-9999-htmldir.patch"
|
||||
"${FILESDIR}/${PN}-9999-desktop.patch"
|
||||
"${FILESDIR}/${PN}-0.9.4-no-automagic.patch"
|
||||
"${FILESDIR}/${PN}-0.9.4-htmldir.patch"
|
||||
"${FILESDIR}/${PN}-0.90.4-desktop.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
@@ -53,7 +53,7 @@ src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
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
|
||||
|
||||
22
media-plugins/calf/files/calf-0.90.4-desktop.patch
Normal file
22
media-plugins/calf/files/calf-0.90.4-desktop.patch
Normal file
@@ -0,0 +1,22 @@
|
||||
* QA Notice: This package installs one or more .desktop files that do not
|
||||
* pass validation.
|
||||
*
|
||||
* /usr/share/applications/calf.desktop: error: value "0.90.1" for key "Version" in group "Desktop Entry" is not a known version
|
||||
* /usr/share/applications/calf.desktop: warning: value "Application;AudioVideo;Audio;GNOME" for key "Categories" in group "Desktop Entry" contains a deprecated value "Application"
|
||||
|
||||
|
||||
|
||||
--- a/calf.desktop.in
|
||||
+++ b/calf.desktop.in
|
||||
@@ -1,10 +1,9 @@
|
||||
[Desktop Entry]
|
||||
-Categories=Application;AudioVideo;Audio;GNOME
|
||||
+Categories=AudioVideo;Audio;GNOME
|
||||
Exec=calfjackhost
|
||||
Icon=calf
|
||||
Terminal=false
|
||||
Type=Application
|
||||
-Version=@VERSION@
|
||||
|
||||
Name=Calf Plugin Pack for JACK
|
||||
Name[fr]=Ensemble de greffons Calf pour JACK
|
||||
@@ -1,14 +0,0 @@
|
||||
--- a/calf.desktop.in
|
||||
+++ b/calf.desktop.in
|
||||
@@ -1,10 +1,9 @@
|
||||
[Desktop Entry]
|
||||
-Categories=Application;AudioVideo;Audio;GNOME
|
||||
+Categories=AudioVideo;Audio;GNOME
|
||||
Exec=calfjackhost
|
||||
Icon=calf
|
||||
Terminal=false
|
||||
Type=Application
|
||||
-Version=@VERSION@
|
||||
|
||||
Name=Calf Plugin Pack for JACK
|
||||
Name[fr]=Ensemble de greffons Calf pour JACK
|
||||
Reference in New Issue
Block a user