aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArn0 <yth@ythogtha.org>2023-03-17 10:28:10 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-03-18 09:50:15 +0700
commit69eb28a018c1087876099f3267859eed712667f0 (patch)
treef75520ac14489bcaca3d31581f5f659e4f2755dc
parent81a5cd5fe5d873d0048fa0356f39df4c66bb6868 (diff)
games/lgogdownloader: Updated for version 3.10.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/lgogdownloader/lgogdownloader.SlackBuild10
-rw-r--r--games/lgogdownloader/lgogdownloader.info6
2 files changed, 10 insertions, 6 deletions
diff --git a/games/lgogdownloader/lgogdownloader.SlackBuild b/games/lgogdownloader/lgogdownloader.SlackBuild
index 58e9fcacb5bb..9bda64e5a2e4 100644
--- a/games/lgogdownloader/lgogdownloader.SlackBuild
+++ b/games/lgogdownloader/lgogdownloader.SlackBuild
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lgogdownloader
-VERSION=${VERSION:-3.9}
+VERSION=${VERSION:-3.10}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -98,12 +98,16 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_SHARE_DIR=/usr \
- -DUSE_QT_GUI=OFF \
+ -DUSE_QT_GUI=ON \
-DCMAKE_BUILD_TYPE=Release ..
-make install/strip DESTDIR=$PKG
+make install DESTDIR=$PKG
cd ..
+# make install/strip does not actually strip for this build
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+
mv $PKG/usr/share/man $PKG/usr/man
rmdir $PKG/usr/share
diff --git a/games/lgogdownloader/lgogdownloader.info b/games/lgogdownloader/lgogdownloader.info
index 5a5281bd3831..e1c67bcfa14e 100644
--- a/games/lgogdownloader/lgogdownloader.info
+++ b/games/lgogdownloader/lgogdownloader.info
@@ -1,8 +1,8 @@
PRGNAM="lgogdownloader"
-VERSION="3.9"
+VERSION="3.10"
HOMEPAGE="https://sites.google.com/site/gogdownloader/home/"
-DOWNLOAD="https://github.com/Sude-/lgogdownloader/archive/v3.9/lgogdownloader-3.9.tar.gz"
-MD5SUM="bc336c3403d02c1ee5f90eb74ec02f58"
+DOWNLOAD="https://github.com/Sude-/lgogdownloader/archive/v3.10/lgogdownloader-3.10.tar.gz"
+MD5SUM="3de1169b85cbfb254c82754c5549881c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="htmlcxx jsoncpp rhash tinyxml2"