aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-10-18 21:11:40 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-02 19:28:35 +0700
commit61cacd00b96dc4b1796e4b9e18402d63ce274e5f (patch)
tree2d6bda81cc2e3a969fdb1a467e4ddbbb889bab06
parentf60930b3b7555822d758862cf851dd1c27911d75 (diff)
games/hedgewars: Build w/bundled lua.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/hedgewars/hedgewars.SlackBuild5
-rw-r--r--games/hedgewars/hedgewars.info2
2 files changed, 5 insertions, 2 deletions
diff --git a/games/hedgewars/hedgewars.SlackBuild b/games/hedgewars/hedgewars.SlackBuild
index 5a004ef5f144..b70ce2ade81c 100644
--- a/games/hedgewars/hedgewars.SlackBuild
+++ b/games/hedgewars/hedgewars.SlackBuild
@@ -22,6 +22,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20241018 bkw: BUILD=3, use bundled lua instead of system.
+
# 20230902 bkw: update for v1.0.2.
# 20230808 bkw: BUILD=2
@@ -42,7 +44,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hedgewars
VERSION=${VERSION:-1.0.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -100,6 +102,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DNOVIDEOREC=ON \
-DNOSERVER=ON \
+ -DLUA_SYSTEM=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make VERBOSE=1
make install/strip DESTDIR=$PKG
diff --git a/games/hedgewars/hedgewars.info b/games/hedgewars/hedgewars.info
index 8e52fa0217da..c503f1abcfe6 100644
--- a/games/hedgewars/hedgewars.info
+++ b/games/hedgewars/hedgewars.info
@@ -5,6 +5,6 @@ DOWNLOAD="https://www.hedgewars.org/download/releases/hedgewars-src-1.0.2.tar.bz
MD5SUM="1a91a973201c91bba2a494d428cadfbf"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fpc lua physfs"
+REQUIRES="fpc physfs"
MAINTAINER="B. Watson"
EMAIL="urchlay@slackware.uk"