mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
# Contributor: Alex Denes <caskd@redxen.eu>
|
|
# Maintainer: Alex Denes <caskd@redxen.eu>
|
|
pkgname=powder-toy
|
|
pkgver=97.0.352
|
|
pkgrel=0
|
|
pkgdesc="Desktop version of the classic falling sand physics sandbox, simulates air pressure, velocity & heat!"
|
|
url="http://powdertoy.co.uk/"
|
|
# riscv64: textrels
|
|
# ppc64le, loongarch64: luajit
|
|
arch="all !ppc64le !riscv64 !loongarch64"
|
|
license="GPL-3.0-only"
|
|
makedepends="
|
|
bzip2-dev
|
|
curl-dev
|
|
fftw-dev
|
|
jsoncpp-dev
|
|
libpng-dev
|
|
luajit-dev
|
|
meson
|
|
sdl2-dev
|
|
zlib-dev
|
|
"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v$pkgver.tar.gz
|
|
"
|
|
options="!check" # no test suite
|
|
builddir="$srcdir/The-Powder-Toy-$pkgver"
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
. build
|
|
meson compile -v -C build
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir/build"
|
|
install -Dm755 "powder" "$pkgdir/usr/bin/powder"
|
|
}
|
|
|
|
sha512sums="
|
|
001905b659efc4b4563f1918a3ae83ccc6f3727b26156a189191573e78548b8b7966b73423cf98f0fc8ddf5e77b32364bddc6566196b7bf7e9f88f2189947ed4 powder-toy-97.0.352.tar.gz
|
|
"
|