add tenacity beta ebuild

This commit is contained in:
Guillaume Castagnino 2023-02-21 13:12:40 +01:00
parent 13088bbf2e
commit 11c99975c4
Signed by: casta
SSH Key Fingerprint: SHA256:PtJi7zHrXiSWdLApi+BdpmmbITeLq6cI7LZtgsuAtyk
7 changed files with 331 additions and 0 deletions

116
licenses/Nyquist Normal file
View File

@ -0,0 +1,116 @@
LICENSE INFORMATION
Nyquist is built upon and derived from XLISP. Both are copyrighted software.
Two copyright notices and licenses appear below.
In addition, Nyquist uses two LGPL libraries: libsndfile and liblo.
These libraries are NOT covered by the Nyquist license, and Nyquist
is NOT licensed under or restricted by GPL or LGPL licenses. The
license agreements for libsndfile and liblo can be found in the
Nyquist source libraries nyquist/nylsf and nyquist/liblo, respectively.
--------------------------------------------------------------------------------
COPYRIGHT AND LICENSE INFORMATION FOR NYQUIST
Copyright (c) 2000-2002, by Roger B. Dannenberg
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer.
Redistributions of source code must retain the copyright notice, the
list of conditions, and the disclaimer, all three of which appear below under
"COPYRIGHT AND LICENSE INFORMATION FOR XLISP."
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
Redistributions in binary form must reproduce the copyright notice, the
list of conditions, and the disclaimer, all three of which appear below under
"COPYRIGHT AND LICENSE INFORMATION FOR XLISP," in the documentation and/or
other materials provided with the distribution.
Neither the name of Roger B. Dannenberg, Carnegie Mellon University, nor the
names of any contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
What follows is not a part of the license:
Please send bug fixes and improvements to me at the address below.
Please do not distribute modified versions of Nyquist without permission.
Any redistribution of Nyquist should include a notice that Nyquist can be
obtained free from http://www.cs.cmu.edu/~music.
In addition, as a courtesy, I ask that you send me a copy of any product that
makes substantial use of Nyquist. Please contact me at the address below for my
current mailing address. I am asking this because I enjoy learning about
applications of my software.
When Nyquist is used to generate music and conduct research, please mention
and acknowledge the use of Nyquist in program notes, acknowledgement sections
of papers, and whereever thanks or credits would normally be given.
Roger B. Dannenberg
roger.dannenberg@cs.cmu.edu
--------------------------------------------------------------------------------
COPYRIGHT AND LICENSE INFORMATION FOR XLISP
Copyright (c) 1984-2002, by David Michael Betz
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.
Neither the name of David Michael Betz nor the names of any contributors may be
used to endorse or promote products derived from this software without specific
prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
What follows is not a part of the license:
Please send bug fixes and improvements to me at the address below.
In addition, as a courtesy, I ask that you send me a copy of any product that
makes substantial use of XLISP. Please contact me at the address below for my
current mailing address. I am asking this because I enjoy learning about
applications of my software.
David Betz
dbetz@xlisper.mv.com

View File

@ -0,0 +1,6 @@
AUX tenacity-cursors-header.patch 447 BLAKE2B cd16a3a3300c94fb6b3a80ce9b907e3e2fd34634b5fa124d8b7be0590f87b439af906cd159194add17a1e799ade6ce2e4da24d2a1a46e5f450d31bada3be99f4 SHA512 5767bc88f7ac1899757bbe0d79a0d60817df3f2714e012758f7c0e58bb2a367c6691dee0666965d88ff6c83725df53b1f555ad3b03480392cbc9e1157abe933b
AUX tenacity-install-nyquist.patch 3580 BLAKE2B 6451a301d67ea6b196687f8fae18a1b40630536c103205d4fcc34c549230a9c0c415347d72d03a6bf2ddec534ecd5630d68064320d4fe2337c74b28fc4d71127 SHA512 342fbca2eb59d148d2f75778a79fb4c6b831be8e11300656f41304b9e05f58c752c1c5e915647078383b73800718f2fee9c8a2e7f9fd9723604ca23bc121f8c7
AUX tenacity-no-compat-wrapper.patch 467 BLAKE2B 7531d804d48f6ceedf8e4d5e76426a0088b2df43b700f934d79163999481ffb084daa861d5badc2c5bfcbb5a37820cc04b458d2bc145600b3f25f85a988477c8 SHA512 4384b3f01732ebe635393ba7e8ac3280490b89992f1d1bd3427174534c3248b45d4a803bdfa85e40ff9613116edef0359cfd54e1b56a6199c859694dd221b548
DIST tenacity-1.3_beta2.tar.gz 48819195 BLAKE2B 57fa717cdc8492f99725f8d1b695a28daf5efe813ee5466a02e2539ebf485bc40056277fb8f30e77338bbc3d8805085b0ab197602a520c73f52c3b670f9ca8bf SHA512 70d8ef9e7363bf1e1c6338c4bd31448aa40056e8e7cc8ec8f088eb83afaad31c909b21435c508ad2fa8c4d0344047d8895d7b3e4eebbfc3ce2f035e44f77683d
EBUILD tenacity-1.3_beta2.ebuild 2267 BLAKE2B 539d96e3961ff1c84f5f2765b874a28c37b140c056de963317c6e897b84a290a231cf50a76f832d71946157a0e5d39d90111a447ac2ddb785490a819f965a8eb SHA512 9ca63ad1427580bcbd641fe1dbf0df95e1d5a143accacee8efa76f4866daf297918f2fa827addc6fc7f2a3c1cfafcd23126e54aece335e1a611a67391a5f53a8
MISC metadata.xml 931 BLAKE2B c4f8561e16467e4de2ffae247d0813dbea1e070fc8b4ec242721cc65174d733681f5180b34f3c732adadd890a4a4db6667e93bb58ba69342e3b0bdb36f878546 SHA512 b113c61ec731343dc794f40c1b3ee230200d289992589e116ef60d627513752654396de5ffcf5bb85dbdee1a84e7ecc9158ed6380130be84359159af5eea7f63

View File

@ -0,0 +1,11 @@
--- a/src/tracks/labeltrack/ui/LabelGlyphHandle.cpp 2023-02-21 11:44:47.725028378 +0100
+++ b/src/tracks/labeltrack/ui/LabelGlyphHandle.cpp 2023-02-21 11:44:58.205006340 +0100
@@ -21,7 +21,7 @@
#include "ViewInfo.h"
#include "../../../SelectionState.h"
#include "../../../ProjectAudioIO.h"
-#include "../../../images/Cursors.h"
+#include "../../../../images/Cursors.h"
#include "../../../tracks/ui/TimeShiftHandle.h"
#include <wx/cursor.h>

View File

@ -0,0 +1,73 @@
Authentication-Results: mail-b.sr.ht; dkim=pass header.d=hacktivis.me header.i=@hacktivis.me
Received: from cloudsdale.the-delta.net.eu.org (cloudsdale.the-delta.net.eu.org [138.201.117.120])
by mail-b.sr.ht (Postfix) with ESMTPS id 3293411EFCE
for <~tenacity/tenacity-dev@lists.sr.ht>; Sun, 19 Sep 2021 10:12:18 +0000 (UTC)
Received:
by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTP id f4f3e061;
Sun, 19 Sep 2021 10:12:17 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=hacktivis.me; h=from:to
:cc:date:message-id:in-reply-to:references:mime-version
:content-transfer-encoding; s=20190711_142157; bh=jjQaWeelzuBNDo
bl54orkL18snjqzPQB9SJNSwNrcgA=; b=cM0V8VZSH7mYgme28dst3lYWidL4U/
36K73vXqlqgd/hL2dd04sqtjsS4qCvPA9+7fNvUgfJgmLmeqJz5y30WzCrBlfkEC
uu/8KRF7z1Y/SjFfXlfZinye5i8FfOD/bJCecgz0K2N9pntcrORn3IgQhW1cZbNT
3ciHTniwOfsEUfLh1mGvkQ5Z3HNnCWmp3dGn9j6tT90vfqET3DOjLq2xfFvCkxoR
3p7KpQIry6J4GbF07WCdanRCbuXv56M/np1Q0ouCA5Bn+yaT+0n0w7yKW1+/CYSC
XszFFN+fQ7f8dB+pWQCsiq0sf/d9zyL8uHa0PDrzP3n5CbU/tZwzoXMg9hjL2oJY
payJ0A78yjw3V6XHz+ZRObNYJprGVjAHmguaNEIZTlMoL+YcDUISk3KCwkzY0A4a
PWrBwuW9wZXyDiHO3upMTLAJNKempE6YZsedZP0hFoIqAQLopiaX34JucafM0tuD
mfcqgDms1fmJV9occg084pbirq3Xe8iBP1PELaK5oH3nzMwOorGqq/aGzWMJRhjZ
WWCqc9SBjn9LKuzseJyRWXk2hVgoh0vPaZ7RtlZuhuJhgBIUzUKdQqPSwIdyAPjz
EZh0pHm2m9jgb+XRgo/f8kjAkwwPThamJ583D+LMa1gdTCeELOu4BOWnIKXeumep
J9+qgJkUgSCBE=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=hacktivis.me; h=from:to:cc
:date:message-id:in-reply-to:references:mime-version
:content-transfer-encoding; q=dns; s=20190711_142157; b=Z12fz/HG
1+jXAcRuPDIGJtIbFM9pwf2KPb7bY9kRq0SziGfhgbD+As6ota2Omyuc0DexT6W0
2K6o64nPJXwWa9UKAJG7HpeAz2C13Z+Ak2RGjTtkPtgG1jIsKqCJuZOOeMEvRhq7
/WcKv8AEzW+RgftkFuwOjF6Be8zwC5YF4qabudc33ffjNHaQ5gzSzEHiy0uPPyMz
pa4+btHrQx5QZHoh57prXcMeksvCQAXbXQDswXUIFVNtHL0z8Onl5fB6tj4U9H8P
jlxEpwrmBip0L8ShjpnH+xzSNs3tACoNQ5OgN4IxNTioImzlox73RiAnLJ2ugZQ+
/XI/e1WAR+VgHXHscb93mMwuBvJi9js17U3lanM8vZHRVWxCU3egkPkEGCQ8ybLJ
Rqa3UYDR43P1iizby1eQP8di89uaP7LNHH7E3kN2a7pVX5uMpbQBJb0StY0z6a16
m0p4l+mYJuXZkiTWzSVGRzNRH4laFWYb2irBtJwRRtIu7Dm8kx0N0TWSqoXn/hVG
OQOWYHpIr+FZ19PdpBTgJ7lpPsfzvjpV19gAo625ir4yFijVVtOrkSM0KpmsFTNe
ULy6ikM56EzenmwI/A913z/6M8MaSfsfsRS8WRwWyAe513sesgQ/WUr+tXJ1lTiJ
UFj31gr29hsW6IL/v6e5j/hWywbC2ug2698=
Received: from localhost (cloudsdale.the-delta.net.eu.org [local])
by cloudsdale.the-delta.net.eu.org (OpenSMTPD) with ESMTPA id 5d49e40c;
Sun, 19 Sep 2021 10:12:17 +0000 (UTC)
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
To: ~tenacity/tenacity-dev@lists.sr.ht
Cc: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
Subject: [PATCH tenacity v2] cmake: Add install target for libnyquist
Date: Sun, 19 Sep 2021 12:12:15 +0200
Message-Id: <20210919101215.10817-1-contact@hacktivis.me>
X-Mailer: git-send-email 2.32.0
In-Reply-To: <CEDS418GIZU4.2O5KCOMET529M@neophyte>
References: <CEDS418GIZU4.2O5KCOMET529M@neophyte>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
---
lib-src/libnyquist/CMakeLists.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/lib-src/libnyquist/CMakeLists.txt b/lib-src/libnyquist/CMakeLists.txt
index 45993c7d3..d4d16c393 100644
--- a/lib-src/libnyquist/CMakeLists.txt
+++ b/lib-src/libnyquist/CMakeLists.txt
@@ -290,3 +290,9 @@ target_compile_options(libnyquist
PRIVATE
$<$<PLATFORM_ID:Darwin>:-fno-common>
)
+
+install(
+ TARGETS libnyquist
+ LIBRARY
+ DESTINATION "${_LIBDIR}"
+)
--
2.32.0

View File

@ -0,0 +1,12 @@
--- src/CMakeLists.txt.orig 2023-02-21 13:10:04.523277632 +0100
+++ src/CMakeLists.txt 2023-02-21 13:11:08.060172027 +0100
@@ -1357,9 +1357,6 @@
DESTINATION "${_DATADIR}/mime/packages" )
install( FILES "${topdir}/presets/EQDefaultCurves.xml"
DESTINATION "${_PKGDATA}" )
- install( PROGRAMS "${PROJECT_SOURCE_DIR}/linux/audacity.sh"
- DESTINATION "."
- RENAME "audacity" )
endif()
endif()

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>casta@xwing.info</email>
<name>Guillaume Castagnino</name>
</maintainer>
<use>
<flag name="midi">Enable support for MIDI via <pkg>media-libs/portmidi</pkg> and <pkg>media-libs/portsmf</pkg></flag>
<flag name="id3tag">Enables ID3 tagging with id3tag library</flag>
<flag name="twolame">Enables twolame support (MPEG Audio Layer 2 encoder)</flag>
<flag name="sbsms">Enables sbsms library support for slower, more accurate pitch and tempo changing</flag>
<flag name="soundtouch">Enable support of <pkg>media-libs/libsoundtouch</pkg> plugin</flag>
<flag name="lv2">Add support for Ladspa V2</flag>
<flag name="vst2">Enable VST2 plugin support</flag>
<flag name="vamp">Enables vamp plugins support (Audio analysing plugins)</flag>
</use>
</pkgmetadata>

View File

@ -0,0 +1,95 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
WX_GTK_VER="3.2-gtk3"
inherit cmake wxwidgets xdg
DESCRIPTION="Free crossplatform audio editor"
HOMEPAGE="https://tenacityaudio.org/"
SRC_URI="https://codeberg.org/tenacityteam/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}"
# GPL-2: Tenacity code
# CC-BY-3.0: Tenacity Documentation
# CC-BY-4.0: Audacity Logo
# Nyquist: BSD-style license for ./lib-src/libnyquist
# BSD: ./lib-src/libnyquist/xlisp
LICENSE="GPL-2 CC-BY-3.0 CC-BY-4.0 Nyquist BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ffmpeg +flac id3tag +ladspa +lv2 mad +midi ogg +vorbis sbsms soundtouch twolame +vst2 vamp"
# vst2 dep on GTK+3[X]: https://github.com/tenacityteam/tenacity/issues/614
RDEPEND="dev-db/sqlite:3
dev-libs/expat
dev-libs/glib:2
media-libs/libsndfile
media-libs/soxr
media-sound/lame
sys-libs/zlib:=
x11-libs/gtk+:3
x11-libs/wxGTK:${WX_GTK_VER}[X]
virtual/opengl
ffmpeg? ( media-video/ffmpeg:= )
flac? ( media-libs/flac:=[cxx] )
id3tag? ( media-libs/libid3tag:= )
lv2? (
media-libs/lilv
media-libs/lv2
media-libs/suil
)
mad? ( media-libs/libmad )
midi? (
media-libs/portmidi:=
media-libs/portsmf:=
)
ogg? ( media-libs/libogg )
sbsms? ( media-libs/libsbsms )
soundtouch? ( media-libs/libsoundtouch:= )
twolame? ( media-sound/twolame )
vorbis? ( media-libs/libvorbis )
vamp? ( media-libs/vamp-plugin-sdk )
vst2? ( x11-libs/gtk+:3[X] )
"
DEPEND="${RDEPEND}"
BDEPEND="
sys-devel/gettext
app-text/scdoc
"
# src/CMakeLists.txt already installs README.md
DOCS=()
PATCHES=(
"${FILESDIR}"/${PN}-cursors-header.patch
"${FILESDIR}"/${PN}-install-nyquist.patch
"${FILESDIR}"/${PN}-no-compat-wrapper.patch
)
src_configure() {
setup-wxwidgets
local mycmakeargs=(
# Tell the CMake-based build system it's building a release.
-DAUDACITY_BUILD_LEVEL=2
-DMIDI=$(usex midi)
-DID3TAG=$(usex id3tag)
-DMP3_DECODING=$(usex mad)
-DMP2=$(usex twolame)
-DOGG=$(usex ogg)
-DVORBIS=$(usex vorbis)
-DFLAC=$(usex flac)
-DSBSMS=$(usex sbsms)
-DSOUNDTOUCH=$(usex soundtouch)
-DFFMPEG=$(usex ffmpeg)
-DLADSPA=$(usex ladspa)
-DLV2=$(usex lv2)
-DVAMP=$(usex vamp)
-DVST2=$(usex vst2)
)
cmake_src_configure
}