mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
network/scrcpy: Updated for version 2.5
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
98f18eaf10
commit
704b3f7781
3 changed files with 18 additions and 11 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue