mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-06 01:44:36 +02:00
Upstream ships a tarball with several vendored dependencies. Those don't seem to have a stable release, and the tarball pins exact commits, so it's probably pointless to try and unvendor them. We don't have any other packages that rely on them.
50 lines
1.5 KiB
Text
50 lines
1.5 KiB
Text
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
|
pkgname=libresprite
|
|
pkgver=1.2
|
|
pkgrel=0
|
|
pkgdesc="Animated sprite and pixel art tool"
|
|
url="https://libresprite.github.io/"
|
|
arch="all"
|
|
license="GPL-2.0-only AND MIT AND BSD-3-Clause AND Libpng AND Unlicense"
|
|
makedepends="
|
|
cmake
|
|
curl-dev
|
|
freetype-dev
|
|
giflib-dev
|
|
libarchive-dev
|
|
libjpeg-turbo-dev
|
|
libpng-dev
|
|
libxi-dev
|
|
ninja
|
|
pixman-dev
|
|
sdl2-dev
|
|
sdl2_image-dev
|
|
tinyxml2-dev
|
|
"
|
|
source="libresprite-$pkgver.tar.gz::https://github.com/LibreSprite/LibreSprite/releases/download/v$pkgver/SOURCE.CODE.+.submodules.tar.gz"
|
|
subpackages="$pkgname-doc"
|
|
builddir="$srcdir"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
_licencedir="$pkgdir/usr/share/licenses/$pkgname/"
|
|
install -Dm644 LICENSE.txt -t "$_licencedir"
|
|
install -Dm644 docs/licenses/*-LICENSE.txt -t "$_licencedir"
|
|
install -Dm644 third_party/EasyTab/LICENSE -t "$_licencedir/easytab-LICENSE.txt"
|
|
install -Dm644 third_party/duktape/LICENSE.txt -t "$_licencedir/duktape-LICENSE.txt"
|
|
install -Dm644 third_party/modp_b64/LICENSE -t "$_licencedir/modp_b64-LICENSE.txt"
|
|
install -Dm644 third_party/observable/LICENSE.txt -t "$_licencedir/observable-LICENSE.txt"
|
|
install -Dm644 third_party/simpleini/LICENCE.txt -t "$_licencedir/simpleini-LICENSE.txt"
|
|
}
|
|
|
|
sha512sums="
|
|
6f79423a98b931e7538acd4d0362ce09890bc6f8877b2a4d77a217ac8bd1fc9f24220eba40203c83bfab504e9bcd1510c4fbea065d63587078596ecaad513f6e libresprite-1.2.tar.gz
|
|
"
|