logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: e7a03496d3cc6e510b2450bb6946bcc7eb5d592d
parent 20ae3b60ac9767f5e6f1f65d8b8ed2fc9949a880
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun, 19 Sep 2021 16:54:33 +0200

media-sound/tenacity: New Package

Diffstat:

Alicenses/Nyquist116+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Amedia-sound/tenacity/metadata.xml18++++++++++++++++++
Amedia-sound/tenacity/tenacity-9999.ebuild96+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 230 insertions(+), 0 deletions(-)

diff --git a/licenses/Nyquist b/licenses/Nyquist @@ -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 diff --git a/media-sound/tenacity/metadata.xml b/media-sound/tenacity/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</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> diff --git a/media-sound/tenacity/tenacity-9999.ebuild b/media-sound/tenacity/tenacity-9999.ebuild @@ -0,0 +1,96 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +WX_GTK_VER="3.1" +PYTHON_COMPAT=( python3_{7,8,9} ) + +inherit git-r3 cmake python-single-r1 wxwidgets xdg + +DESCRIPTION="easy-to-use, cross-platform multi-track audio editor/recorder" +HOMEPAGE="https://tenacityaudio.org/" +EGIT_REPO_URI="https://github.com/tenacityteam/tenacity.git" +EGIT_SUBMODULES=() +# 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" + +IUSE="+midi id3tag mp3 ogg +vorbis +flac sbsms soundtouch ffmpeg +lv2 twolame +vst2 vamp" + +# vst2 dep on GTK+3[X]: https://github.com/tenacityteam/tenacity/issues/614 +RDEPEND=" + ${PYTHON_DEPS} + virtual/opengl + sys-libs/zlib + dev-libs/expat + media-sound/lame + media-libs/libsndfile + media-libs/soxr + dev-db/sqlite:3 + dev-libs/glib:2 + x11-libs/gtk+:3 + x11-libs/wxGTK:${WX_GTK_VER} + midi? ( + media-libs/portmidi:= + media-libs/portsmf:= + ) + id3tag? ( media-libs/libid3tag:= ) + mp3? ( media-libs/libmad ) + twolame? ( media-sound/twolame ) + ogg? ( media-libs/libogg ) + vorbis? ( media-libs/libvorbis ) + flac? ( media-libs/flac[cxx] ) + sbsms? ( media-libs/libsbsms ) + soundtouch? ( media-libs/libsoundtouch ) + ffmpeg? ( media-video/ffmpeg ) + lv2? ( + media-libs/lv2 + media-libs/lilv + media-libs/suil + ) + vamp? ( media-libs/vamp-plugin-sdk ) + vst2? ( x11-libs/gtk+:3[X] ) +" +DEPEND=" + ${RDEPEND} + sys-devel/gettext + app-text/scdoc +" + +# src/CMakeLists.txt already installs README.md +DOCS=() + +src_prepare() { + cmake_src_prepare + + sed -i 's;${_DATADIR}/doc/${AUDACITY_NAME};${_DATADIR}/doc/${PF};' \ + src/CMakeLists.txt || die +} + +src_configure() { + setup-wxwidgets + + local mycmakeargs=( + -DBUILD_MANPAGE=ON + -DMIDI=$(usex midi) + -DID3TAG=$(usex id3tag) + -DMP3_DECODING=$(usex mp3) + -DMP2_ENCODING=$(usex twolame) + -DOGG=$(usex ogg) + -DVORBIS=$(usex vorbis) + -DFLAC=$(usex flac) + -DSBSMS=$(usex sbsms) + -DSOUNDTOUCH=$(usex soundtouch) + -DFFMPEG=$(usex ffmpeg) + -DVAMP=$(usex vamp) + -DLV2=$(usex lv2) + -DVST2=$(usex vst2) + ) + + cmake_src_configure +}