summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoryochananmarqos2019-11-27 15:15:06 -0700
committeryochananmarqos2019-11-27 15:15:06 -0700
commit8741b5fc0ebd8ceda3bb4f9a4a7fcc5148e94d26 (patch)
treeaf638c1dd88f200510f626c77d0aa74690e959bf
parentd2b5bc1ac3b6a1fd35954e6fee51d5b95260d794 (diff)
downloadaur-8741b5fc0ebd8ceda3bb4f9a4a7fcc5148e94d26.tar.gz
update for Python 3.8
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD12
-rw-r--r--guiscrcpy.sh2
3 files changed, 11 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 07d7b36036b..9b82704893b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = guiscrcpy-git
pkgdesc = Open Source GUI based Android Screen Mirroring System
- pkgver = 2.0.r0.c6169d4
+ pkgver = 2.0.r3.4456fe6
pkgrel = 1
url = https://srevinsaju.github.io/guiscrcpy
arch = i686
@@ -15,7 +15,7 @@ pkgbase = guiscrcpy-git
depends = python-gitpython
depends = python-pillow
depends = python-pynput
- optdepends = python-pystray: for developers
+ optdepends = python-pystray: for Notification Auditor
optdepends = usbaudio: AOA audio, deprecated since Android 8.0
provides = guiscrcpy
conflicts = guiscrcpy
@@ -25,7 +25,7 @@ pkgbase = guiscrcpy-git
source = guiscrcpy-git.patch
sha256sums = SKIP
sha256sums = a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b
- sha256sums = 7d85c9d18ee989efa9cec44924294a5775c00a0d1ca6c369fb43a216e1d6f19f
+ sha256sums = d00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34
sha256sums = ea4260b593927008d6c57dd982b4fb2de5cf8579372f8daf5ef072cf70f27487
pkgname = guiscrcpy-git
diff --git a/PKGBUILD b/PKGBUILD
index aac5de6f3de..67d92cc3a84 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Mark Wagie <yochanan dot marqos at gmail dot com>
pkgname=guiscrcpy-git
-pkgver=2.0.r0.c6169d4
+pkgver=2.0.r3.4456fe6
pkgrel=1
pkgdesc="Open Source GUI based Android Screen Mirroring System"
arch=('i686' 'x86_64')
@@ -9,7 +9,7 @@ license=('GPL3')
depends=('scrcpy' 'python-pyqt5' 'python-psutil' 'python-qdarkstyle' 'python-gitpython'
'python-pillow' 'python-pynput')
makedepends=('git' 'python-setuptools')
-optdepends=('python-pystray: for developers'
+optdepends=('python-pystray: for Notification Auditor'
'usbaudio: AOA audio, deprecated since Android 8.0')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
@@ -19,12 +19,15 @@ source=('git+https://github.com/srevinsaju/guiscrcpy.git'
"$pkgname.patch")
sha256sums=('SKIP'
'a97ede5e1f363df0b3960c7cfbfdff69e8c2b2c39ef0abc522d5ff5ecb04061b'
- '7d85c9d18ee989efa9cec44924294a5775c00a0d1ca6c369fb43a216e1d6f19f'
+ 'd00fdf9988324d8654509c39878bd488b63834ffe95fc51b0576204d4e2d0d34'
'ea4260b593927008d6c57dd982b4fb2de5cf8579372f8daf5ef072cf70f27487')
prepare() {
cd "$srcdir/${pkgname%-git}"
+ # Remove garbage
+ rm -rf .circleci .github .idea .vscode
+
# Remove shortcut creation as files cannot be placed in $HOME in fakeroot environment
patch -Np1 -i "$srcdir/$pkgname.patch"
}
@@ -43,8 +46,7 @@ package() {
cd "$srcdir/${pkgname%-git}"
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
install -Dm755 "$srcdir/${pkgname%-git}.sh" "$pkgdir/usr/bin/${pkgname%-git}"
- install -Dm644 "$srcdir/${pkgname%-git}.desktop" \
- "$pkgdir/usr/share/applications/${pkgname%-git}.desktop"
+ install -Dm644 "$srcdir/${pkgname%-git}.desktop" -t "$pkgdir/usr/share/applications"
install -Dm644 "installers/linux/icons/${pkgname%-git}_logo.png" \
"$pkgdir/usr/share/pixmaps/${pkgname%-git}.png"
}
diff --git a/guiscrcpy.sh b/guiscrcpy.sh
index 0f412d4a828..7eaa8cc1dd3 100644
--- a/guiscrcpy.sh
+++ b/guiscrcpy.sh
@@ -1,2 +1,2 @@
#!/bin/bash
-python /usr/lib/python3.7/site-packages/guiscrcpy/__main__.py
+python /usr/lib/python3.8/site-packages/guiscrcpy/__main__.py