29 lines
988 B
Bash
29 lines
988 B
Bash
# Template file for 'supertux2'
|
|
pkgname=supertux2
|
|
version=0.7.0
|
|
revision=2
|
|
build_style=cmake
|
|
configure_args="
|
|
-DAPPDATADIR=/usr/share/supertux2
|
|
-DINSTALL_SUBDIR_BIN=bin
|
|
-DINSTALL_SUBDIR_SHARE=share/supertux2
|
|
-DUSE_STATIC_SIMPLESQUIRREL=ON"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="SDL2-devel SDL2_image-devel
|
|
libcurl-devel libpng-devel fmt-devel zlib-devel
|
|
freetype-devel libraqm-devel
|
|
glew-devel physfs-devel glm
|
|
libogg-devel libopenal-devel libvorbis-devel"
|
|
short_desc="Side-scrolling platform game, milestone 2"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://supertux.org"
|
|
distfiles="https://github.com/SuperTux/supertux/releases/download/v${version}/SuperTux-v${version}-Source.tar.gz"
|
|
checksum=32fc5b99b9994ed58e58341d6f21de925764b381256e108591136de53bc31da5
|
|
replaces="supertux2-data>=0"
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
|
makedepends+=" libexecinfo-devel"
|
|
configure_args+=" -DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo"
|
|
fi
|