mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 23:22:24 +01:00
This commit updates $license variable in all APKBUILDs to comply with short names specified by SPDX version 3.0 [1] where possible. It was done using find-and-replace method on substrings inside $license variables. Only license names were updated, not "expressions" specifying relation between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or exceptions (e.g. "X with exceptions"). Many licenses have a version or multiple variants, e.g. MPL-2.0, BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not contain license version or variant. Since there's no way how to infer this information just from abuild, it were left without the variant suffix or version, i.e. non SPDX compliant. GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later (formerly e.g. GPL-2.0+). We did not systematically noted distinguish between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g. GPL2+) were left without the variant suffix, i.e. non SPDX compliant. Note: This commit just fixes format of the license names, no verification has been done if the specified license information is actually correct! [1]: https://spdx.org/licenses/
86 lines
2.0 KiB
Plaintext
86 lines
2.0 KiB
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=audacity
|
|
pkgver=2.1.1
|
|
pkgrel=1
|
|
pkgdesc="Multitrack audio editor"
|
|
url="http://audacity.sourceforge.net"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
makedepends="$depends_dev
|
|
alsa-lib-dev
|
|
bash
|
|
expat-dev
|
|
flac-dev
|
|
jack-dev
|
|
lame-dev
|
|
libid3tag-dev
|
|
libmad-dev
|
|
libogg-dev
|
|
libsndfile-dev
|
|
libvorbis-dev
|
|
portaudio-dev
|
|
soundtouch-dev
|
|
soxr-dev
|
|
taglib-dev
|
|
wxgtk2.8-dev
|
|
"
|
|
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
source="https://github.com/audacity/audacity/archive/Audacity-$pkgver.tar.gz
|
|
musl-workaround.patch
|
|
filedialog.patch
|
|
"
|
|
|
|
builddir="$srcdir"/audacity-Audacity-$pkgver
|
|
|
|
build() {
|
|
local _arch
|
|
|
|
cd "$builddir"
|
|
|
|
case "$CTARGET" in
|
|
x86|x86_64) _arch="--enable-sse";;
|
|
*) _arch="--disable-sse";;
|
|
esac
|
|
export CXXFLAGS="$CXXFLAGS -std=gnu++98"
|
|
LIBNYQUIST_USE_LOCAL=yes \
|
|
CFLAGS="$CFLAGS -fPIC" \
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--with-expat=system \
|
|
--with-lib-preference=system \
|
|
--with-libsndfile=system \
|
|
--with-libflac=system \
|
|
--with-coundtouch=system \
|
|
--with-soxr=system \
|
|
--with-id3tag=system \
|
|
--with-libvorbis=system \
|
|
--with-portaudio=system \
|
|
--with-libmad=system \
|
|
--with-widgetextra=local \
|
|
--without-libresample \
|
|
--without-libsamplerate \
|
|
--without-ffmpeg \
|
|
--enable-nyquist \
|
|
$_arch
|
|
|
|
for i in ffmpeg libsoxr libvamp portaudio-v19; do
|
|
rm -r lib-src/$i
|
|
done
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="00b0a037ffefb670e7148414224c60330c4fb915a892cb635537caeba82815d0113c5bb07f7b2805ed9b42a1a75106ef6fdc2f1602fd5042c48cc5e111a34ffb Audacity-2.1.1.tar.gz
|
|
b5488a7f5398c07fe986e090b8d61353ecba594ed23fda6a4444e59718f7d1e8bd5c716047ce139350983d5609b5810362a78a2fd5d85e9b1730d196c57c685b musl-workaround.patch
|
|
7f10b5f53ada9faa7ad887400a5729a41228f8970ee4cc045291e9b203a9f7f068b09f709e23f7f2a15724acf82ed0e4bccfd163b2232b430d2c89b86ccc2751 filedialog.patch"
|