mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-21 20:56:19 +00:00
51a389360c
These packages just depend on `lib/libGL.so` and friends, irrelevant to the underlying implementation. `mesa-demos` is NOT an exception. %ci:no-build
22 lines
988 B
Bash
22 lines
988 B
Bash
# x11-packages
|
|
TERMUX_PKG_HOMEPAGE=https://www.widelands.org/
|
|
TERMUX_PKG_DESCRIPTION="A free, open source real-time strategy game with singleplayer campaigns and a multiplayer mode"
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=1.0
|
|
TERMUX_PKG_SRCURL=https://github.com/widelands/widelands/archive/refs/tags/v${TERMUX_PKG_VERSION}.tar.gz
|
|
TERMUX_PKG_SHA256=1dab0c4062873cc72c5e0558f9e9620b0ef185f1a78923a77c4ce5b9ed76031a
|
|
TERMUX_PKG_DEPENDS="glew, libandroid-execinfo, libandroid-glob, libcurl, libicu, libpng, opengl, sdl2, sdl2-image, sdl2-mixer, sdl2-ttf, widelands-data"
|
|
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-DCMAKE_INSTALL_PREFIX=$TERMUX_PREFIX/bin
|
|
-DWL_INSTALL_BASEDIR=$TERMUX_PREFIX/share/doc/$TERMUX_PKG_NAME
|
|
-DWL_INSTALL_DATADIR=$TERMUX_PREFIX/share/$TERMUX_PKG_NAME
|
|
-DGTK_UPDATE_ICON_CACHE=OFF
|
|
-DOPTION_BUILD_TESTS=OFF
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
LDFLAGS+=" -landroid-glob -landroid-execinfo"
|
|
}
|