summaryrefslogtreecommitdiffstats
path: root/network
diff options
context:
space:
mode:
author toolonely2022-06-18 00:03:31 +0200
committer Willy Sudiarto Raharjo2022-06-18 04:10:01 +0200
commit667e11cec36b633bd3ffd696e16f0e17e50ce0f1 (patch)
treea44271741863c3fe14d2689f0ce5ab96a21d6e59 /network
parent2f0019de1bb231e6d6b50ae64cba8d411675d6a6 (diff)
downloadslackbuilds-667e11cec36b633bd3ffd696e16f0e17e50ce0f1.tar.gz
network/scrcpy: Updated for version 1.24.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/scrcpy/README2
-rw-r--r--network/scrcpy/doinst.sh9
-rw-r--r--network/scrcpy/scrcpy.SlackBuild5
-rw-r--r--network/scrcpy/scrcpy.info10
4 files changed, 18 insertions, 8 deletions
diff --git a/network/scrcpy/README b/network/scrcpy/README
index e921297b10..e46a4c9985 100644
--- a/network/scrcpy/README
+++ b/network/scrcpy/README
@@ -19,4 +19,4 @@ details.
This SlackBuild uses the prebuilt server instead of compiling it from
source, to minimize dependencies.
-Note: the SlackBuild was tested on Slackware64-14.2 only
+Note: the SlackBuild was tested on Slackware64-15.0 only
diff --git a/network/scrcpy/doinst.sh b/network/scrcpy/doinst.sh
new file mode 100644
index 0000000000..65c7e2eeb9
--- /dev/null
+++ b/network/scrcpy/doinst.sh
@@ -0,0 +1,9 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
diff --git a/network/scrcpy/scrcpy.SlackBuild b/network/scrcpy/scrcpy.SlackBuild
index f070aa8a7d..428f363037 100644
--- a/network/scrcpy/scrcpy.SlackBuild
+++ b/network/scrcpy/scrcpy.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for scrcpy
-# Copyright 2021 toolonely <lonely_@tutanota.com>
+# Copyright 2021-2022 toolonely <lonely_@tutanota.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scrcpy
-VERSION=${VERSION:-1.17}
+VERSION=${VERSION:-1.24}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -109,6 +109,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/network/scrcpy/scrcpy.info b/network/scrcpy/scrcpy.info
index e63babeb21..9e9be261dc 100644
--- a/network/scrcpy/scrcpy.info
+++ b/network/scrcpy/scrcpy.info
@@ -1,10 +1,10 @@
PRGNAM="scrcpy"
-VERSION="1.17"
+VERSION="1.24"
HOMEPAGE="https://github.com/Genymobile/scrcpy"
-DOWNLOAD="https://github.com/Genymobile/scrcpy/archive/v1.17/scrcpy-1.17.tar.gz \
- https://github.com/Genymobile/scrcpy/releases/download/v1.17/scrcpy-server-v1.17"
-MD5SUM="6ed058f41b918abe44f0a46b7d187a3f \
- 1de2cadd13e4da6f957aeaed9926adc6"
+DOWNLOAD="https://github.com/Genymobile/scrcpy/archive/v1.24/scrcpy-1.24.tar.gz \
+ https://github.com/Genymobile/scrcpy/releases/download/v1.24/scrcpy-server-v1.24"
+MD5SUM="a06005d880ca863181266820d91ac396 \
+ 23032394c932e4de6a98aaec096fe9c4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""