aports/community/vorbis-tools/APKBUILD
Jakub Jirutka 63f5e7d295 [various]: unify names of licenses according to SPDX
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/
2017-12-30 21:05:50 +01:00

52 lines
2.1 KiB
Plaintext

# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=vorbis-tools
pkgver=1.4.0
pkgrel=0
pkgdesc="Extra tools for Ogg-Vorbis"
url="https://www.xiph.org/vorbis/"
arch="all"
license="GPL-2.0"
depends=""
makedepends="curl-dev flac-dev libvorbis-dev libao-dev speex-dev"
install=""
subpackages="$pkgname-doc $pkgname-lang"
source="http://downloads.xiph.org/releases/vorbis/$pkgname-$pkgver.tar.gz
vorbis-tools-CVE-2015-6749.patch
vorbis-tools-cve9638-cve9639.patch
vorbis-tools-cve9640.patch"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
default_prepare || return 1
update_config_guess || return 1
}
build() {
cd "$builddir"
./configure \
--prefix=/usr \
--enable-vcut
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
rm "$pkgdir"/usr/lib/charset.alias
}
md5sums="567e0fb8d321b2cd7124f8208b8b90e6 vorbis-tools-1.4.0.tar.gz
8ec105f0c7d0aeac783d5e6425e556aa vorbis-tools-CVE-2015-6749.patch
e24cf979e33fbce4e62091f2576c6012 vorbis-tools-cve9638-cve9639.patch
3ee3a1f9a738766d7e94e38925f4a336 vorbis-tools-cve9640.patch"
sha256sums="a389395baa43f8e5a796c99daf62397e435a7e73531c9f44d9084055a05d22bc vorbis-tools-1.4.0.tar.gz
52f1d083c16b9caa2bc7bd5315210bac810dd6a0565e4c270650177a4c815fa7 vorbis-tools-CVE-2015-6749.patch
5a6d74de56e67613c4887e3fe9102aadfce4cd4a9a477fb2c1ed1a26f11fdff6 vorbis-tools-cve9638-cve9639.patch
d4030b23a6a5017083aecd266c475198eebcdc48fd6bed3d8739cda031c10fa8 vorbis-tools-cve9640.patch"
sha512sums="d2473f2e8e6726b5a5083f567797ae42bbb7fa3f26aec3f7b83e641e028c64726299f71a9d75258595a53cf29c18acb84841bcbc39509258d2c8df859e4e3b99 vorbis-tools-1.4.0.tar.gz
c1faa062e7035770db533383ebb3ae18efaf167f7a103c12cef81418da4be43545e368eab2915c243c03354c3bf0b8dbb198da90e7eaa59c8e00f1461c65b601 vorbis-tools-CVE-2015-6749.patch
bcf5ae147de547f6463f3000e06398a8b4db326b44eab02bf314ca8ae3b90c45bd25481fb76ccbf39d9a2798a6c9fadb48600f393b6436f01f95ce2a20c04fe8 vorbis-tools-cve9638-cve9639.patch
3bb8a50309f2657a99662039818040abf345d540915543cf35c3e5855d865fd33bf4bbaf296882662e6b11570199a054c7d34cfdd44ef69f9d3c9f45f4d8671f vorbis-tools-cve9640.patch"