mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-22 00:52:18 +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/
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
|
|
pkgname=fbida
|
|
pkgver=2.13
|
|
pkgrel=0
|
|
pkgdesc="Few applications to display and elementary edit images"
|
|
url="http://www.kraxel.org/blog/linux/$pkgname/"
|
|
arch="all"
|
|
license="GPL-2.0"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="freetype-dev fontconfig-dev libdrm-dev libexif-dev
|
|
motif-dev libepoxy-dev libpng-dev tiff-dev giflib-dev
|
|
jpeg-dev linux-headers perl"
|
|
install=""
|
|
subpackages="$pkgname-fbgs:_tool $pkgname-exiftran:_tool
|
|
$pkgname-fbi:_tool $pkgname-ida:_tool $pkgname-doc"
|
|
source="https://www.kraxel.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.gz
|
|
no-pdf.patch"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
make verbose=yes -C "$builddir"
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" RESDIR="/etc/X11/app-defaults/$pkgname" \
|
|
prefix=/usr -C "$builddir" install
|
|
}
|
|
|
|
_tool() {
|
|
local name=$(echo $subpkgname | cut -d '-' -f2)
|
|
pkgdesc="$name tool from $pkgname"
|
|
|
|
depends=""
|
|
if [ "$name" = "fbgs" ]; then
|
|
depends="$pkgname-fbi ghostscript"
|
|
fi
|
|
|
|
mkdir -p "$subpkgdir"/usr/bin
|
|
mv "$pkgdir"/usr/bin/$name \
|
|
"$subpkgdir"/usr/bin/$name
|
|
|
|
if [ "$name" = "ida" ]; then
|
|
mv "$pkgdir"/etc/ "$subpkgdir"/etc/
|
|
fi
|
|
|
|
rmdir "$pkgdir"/usr/bin/ 2>/dev/null || true
|
|
rmdir "$pkgdir"/usr/ 2>/dev/null || true
|
|
}
|
|
|
|
sha512sums="a316776f381fac6ec6a5d085ece7a42e8e34b2c0f5ae1cc58ad5b5736dc83d8f2e7776779716abfc0ae9c51baacdf911df6a0be610d2b7b2e3ce6d0c81e1fdc3 fbida-2.13.tar.gz
|
|
574b3a2d9e184e3cb2f5534b0367fe5926cc1541b4a19d64a1ed8deb2b2a66ca91c33ded61b202b921ed5e7216a0defc8af089090c3a39c99c5b525acb704ab9 no-pdf.patch"
|