user/slade: new aport
This commit is contained in:
parent
b1199b9e4c
commit
9dab964dce
1 changed files with 46 additions and 0 deletions
46
user/slade/APKBUILD
Normal file
46
user/slade/APKBUILD
Normal file
|
@ -0,0 +1,46 @@
|
|||
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
|
||||
# Contributor: ovf <ovf@mm.st>
|
||||
pkgname=slade
|
||||
pkgver=3.2.1
|
||||
pkgrel=0
|
||||
pkgdesc="A modern editor for Doom-engine based games and source ports"
|
||||
url="http://slade.mancubus.net/"
|
||||
arch="all"
|
||||
license="GPL-2.0-or-later"
|
||||
makedepends="
|
||||
cmake
|
||||
fluidsynth-dev
|
||||
freeimage-dev
|
||||
ftgl-dev
|
||||
lua-dev
|
||||
mpg123-dev
|
||||
sfml-dev
|
||||
wxwidgets-dev
|
||||
zip
|
||||
"
|
||||
source="https://github.com/sirjuddington/SLADE/archive/refs/tags/$pkgver/slade-$pkgver.tar.gz"
|
||||
builddir="$srcdir/SLADE-$pkgver"
|
||||
|
||||
options="!check" # there are no tests
|
||||
|
||||
build() {
|
||||
if [ "$CBUILD" != "$CHOST" ]; then
|
||||
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
||||
fi
|
||||
cmake -B build \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
-DCMAKE_BUILD_TYPE=None \
|
||||
-DNO_COTIRE=ON \
|
||||
$CMAKE_CROSSOPTS .
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
b7d5a91c759c5a68af63aa9a8412452a5b2986e70f7189ca92ee99ce4953ef47381be907c8ce1166e479f24679904bf5f0e0b1a5da846fe7873c5b97f4315449 slade-3.2.1.tar.gz
|
||||
"
|
Loading…
Reference in a new issue