summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorBumsik Kim2018-08-22 14:27:45 -0400
committerBumsik Kim2018-08-22 14:27:45 -0400
commit1c4b0cffb51dd8bf6b0880dd83876a0495031cee (patch)
treeb13671b7fbf0f0ebdbca1125d5c588d05db191cc
parent9164a200fc1cac111f8f406b14da7d80e56317c2 (diff)
downloadaur-1c4b0cffb51dd8bf6b0880dd83876a0495031cee.tar.gz
v0.2.5
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
2 files changed, 16 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 85bbaf667b0..9bdef92cf0f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,20 +1,22 @@
pkgbase = virtscreen
pkgdesc = Make your iPad/tablet/computer as a secondary monitor on Linux
- pkgver = 0.2.4
+ pkgver = 0.2.5
pkgrel = 1
url = https://github.com/kbumsik/VirtScreen
arch = i686
arch = x86_64
license = GPL
makedepends = python-pip
+ makedepends = perl
depends = xorg-xrandr
depends = x11vnc
depends = python-pyqt5
+ depends = qt5-quickcontrols2
depends = python-quamash-git
depends = python-netifaces
optdepends = arandr: for display settings option
provides = virtscreen
- source = src::git+https://github.com/kbumsik/VirtScreen.git#tag=0.2.4
+ source = src::git+https://github.com/kbumsik/VirtScreen.git#tag=0.2.5
md5sums = SKIP
pkgname = virtscreen
diff --git a/PKGBUILD b/PKGBUILD
index b356f39d6a2..dbfec406fc5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,15 @@
# Maintainer: Bumsik Kim <k.bumsik@gmail.com>
_pkgname_camelcase=VirtScreen
pkgname=virtscreen
-pkgver=0.2.4
+pkgver=0.2.5
pkgrel=1
pkgdesc="Make your iPad/tablet/computer as a secondary monitor on Linux"
arch=("i686" "x86_64")
url="https://github.com/kbumsik/VirtScreen"
license=('GPL')
groups=()
-depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'python-quamash-git' 'python-netifaces')
-makedepends=('python-pip')
+depends=('xorg-xrandr' 'x11vnc' 'python-pyqt5' 'qt5-quickcontrols2' 'python-quamash-git' 'python-netifaces')
+makedepends=('python-pip' 'perl')
optdepends=(
'arandr: for display settings option'
)
@@ -24,9 +24,17 @@ source=(src::git+https://github.com/kbumsik/$_pkgname_camelcase.git#tag=$pkgver)
noextract=()
md5sums=('SKIP')
+prepare() {
+ cd $srcdir/src
+ # Delete PyQt5 from install_requires because python-pyqt5 does not have PyPI metadata.
+ # See https://bugs.archlinux.org/task/58887
+ perl -pi -e "s/\'PyQt5>=\d+\.\d+\.\d+\',//" \
+ setup.py
+}
+
package() {
cd $srcdir/src
- PIP_CONFIG_FILE=/dev/null /usr/bin/pip install --isolated --root="$pkgdir" --ignore-installed --no-deps .
+ PIP_CONFIG_FILE=/dev/null /usr/bin/pip install --isolated --root="$pkgdir" --ignore-installed --ignore-requires-python --no-deps .
# These are already installed by setup.py
# install -Dm644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
# install -Dm644 "data/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"