mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
33 lines
804 B
Plaintext
33 lines
804 B
Plaintext
# Contributor: Alex Yam <alex@alexyam.com>
|
|
# Maintainer: Alex Yam <alex@alexyam.com>
|
|
pkgname=cgif
|
|
pkgver=0.3.1
|
|
pkgrel=1
|
|
pkgdesc="fast and lightweight GIF encoder written in C"
|
|
url="https://github.com/dloebl/cgif"
|
|
arch="all"
|
|
license="MIT"
|
|
makedepends="meson"
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/dloebl/cgif/archive/refs/tags/V$pkgver.tar.gz"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dtests=true \
|
|
. output
|
|
meson compile ${JOBS:+-j ${JOBS}} -C output
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
sha512sums="
|
|
b1ef7cc74f05f1dfaf58f4edbdb8213a22363cd5971ae5e819f95efdcaf54bf27955746ea94b07f145ac104bf70e3cdcf26388b4ea7e7c06f07d4ee6936789e6 cgif-0.3.1.tar.gz
|
|
"
|