aboutsummaryrefslogtreecommitdiff
path: root/network/scrcpy
diff options
context:
space:
mode:
Diffstat (limited to 'network/scrcpy')
-rw-r--r--network/scrcpy/README2
-rw-r--r--network/scrcpy/scrcpy.SlackBuild13
-rw-r--r--network/scrcpy/scrcpy.info14
3 files changed, 18 insertions, 11 deletions
diff --git a/network/scrcpy/README b/network/scrcpy/README
index e46a4c9985..3d421c3287 100644
--- a/network/scrcpy/README
+++ b/network/scrcpy/README
@@ -18,5 +18,3 @@ details.
This SlackBuild uses the prebuilt server instead of compiling it from
source, to minimize dependencies.
-
-Note: the SlackBuild was tested on Slackware64-15.0 only
diff --git a/network/scrcpy/scrcpy.SlackBuild b/network/scrcpy/scrcpy.SlackBuild
index 428f363037..2ae0fcba79 100644
--- a/network/scrcpy/scrcpy.SlackBuild
+++ b/network/scrcpy/scrcpy.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for scrcpy
-# Copyright 2021-2022 toolonely <lonely_@tutanota.com>
+# Copyright 2021-2022 toolonely <lonely_@tutanota.com>
+# Copyright 2024- Diniz Bortolotto <diniz.bortolotto@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=scrcpy
-VERSION=${VERSION:-1.24}
+VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -107,6 +108,14 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+# Replaced 'Utility' category by 'Network' category
+# See https://specifications.freedesktop.org/menu-spec/latest/apas02.html
+#
+sed -i s/Categories\=Utility\;RemoteAccess\;/Categories\=Network\;RemoteAccess/ \
+ $PKG/usr/share/applications/scrcpy.desktop
+sed -i s/Categories\=Utility\;RemoteAccess\;/Categories\=Network\;RemoteAccess/ \
+ $PKG/usr/share/applications/scrcpy-console.desktop
+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/network/scrcpy/scrcpy.info b/network/scrcpy/scrcpy.info
index 9e9be261dc..085110b585 100644
--- a/network/scrcpy/scrcpy.info
+++ b/network/scrcpy/scrcpy.info
@@ -1,12 +1,12 @@
PRGNAM="scrcpy"
-VERSION="1.24"
+VERSION="2.5"
HOMEPAGE="https://github.com/Genymobile/scrcpy"
-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="https://github.com/Genymobile/scrcpy/archive/v2.5/scrcpy-2.5.tar.gz \
+ https://github.com/Genymobile/scrcpy/releases/download/v2.5/scrcpy-server-v2.5"
+MD5SUM="82cdefab43024364beb800e05e465a3c \
+ 9f96b05e15567658c910e121ca875cd5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="toolonely"
-EMAIL="lonely_@tutanota.com"
+MAINTAINER="Diniz Bortolotto"
+EMAIL="diniz.bortolotto@gmail.com"