aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorisaackwy <isaacyu@protonmail.com>2024-09-24 13:33:35 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-09-27 23:12:03 +0700
commitdcf813eb4b4c522f7fe637ec58e68468bde0cbaa (patch)
tree8c39e646f08e2fbdca2a91fd73fad954f21f5a57 /system
parentb007c12542516d0e72ec29ff2fe05acb8fe0ab27 (diff)
system/libratbag: Update for 0.18
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/libratbag/libratbag.SlackBuild22
-rw-r--r--system/libratbag/libratbag.info6
2 files changed, 12 insertions, 16 deletions
diff --git a/system/libratbag/libratbag.SlackBuild b/system/libratbag/libratbag.SlackBuild
index 035cb3c327b6..c2a177059a54 100644
--- a/system/libratbag/libratbag.SlackBuild
+++ b/system/libratbag/libratbag.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libratbag
-# Copyright 2021-2022 Isaac Yu <isaacyu@protonmail.com>
+# Copyright 2021-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -27,8 +27,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libratbag
-VERSION=${VERSION:-0.17}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.18}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,17 +67,13 @@ find -L . \
# If Sphinx and sphinx-rtd-theme are installed, then build HTML documentation
if (python3 -c 'import sphinx' 2>/dev/null) && \
(python3 -c 'import sphinx_rtd_theme' 2>/dev/null); then
- DOCS=true
+ DOCS=true
else
- DOCS=false
+ DOCS=false
fi
# Enable or disable tests
-if [ ${TESTS:-no} = yes ]; then
- ENABLE_TESTS=true
-else
- ENABLE_TESTS=false
-fi
+if [ ${TESTS:-no} = yes ] ; then ENABLE_TESTS=true ; else ENABLE_TESTS=false ; fi
mkdir -p build
cd build
@@ -85,9 +81,9 @@ cd build
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
- --prefix /usr \
+ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
- --mandir /usr/man \
+ --mandir=/usr/man \
-Dsystemd=false \
-Dlogind-provider=elogind \
-Ddocumentation=$DOCS \
@@ -106,7 +102,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
# If Sphinx and sphinx_rtd_theme are installed, copy HTML documentation
if (python3 -c 'import sphinx' 2>/dev/null) && \
(python3 -c 'import sphinx_rtd_theme' 2>/dev/null); then
- cp -a build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
+ cp -a build/doc/html $PKG/usr/doc/$PRGNAM-$VERSION
fi
mkdir -p $PKG/install
diff --git a/system/libratbag/libratbag.info b/system/libratbag/libratbag.info
index 6db25b4362b6..59fdb627c00f 100644
--- a/system/libratbag/libratbag.info
+++ b/system/libratbag/libratbag.info
@@ -1,8 +1,8 @@
PRGNAM="libratbag"
-VERSION="0.17"
+VERSION="0.18"
HOMEPAGE="https://github.com/libratbag/libratbag"
-DOWNLOAD="https://github.com/libratbag/libratbag/archive/v0.17/libratbag-0.17.tar.gz"
-MD5SUM="6d3e1d8b9df938be1f1ccfcd1641c7aa"
+DOWNLOAD="https://github.com/libratbag/libratbag/archive/v0.18/libratbag-0.18.tar.gz"
+MD5SUM="bdaa0670b333c52a84ff07605d037f90"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="python3-evdev"