blob: 3d66ce4f7aed9542247121df3556e9568e270bd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
|
# Maintainer: SelfRef <arch@selfref.dev>
# INFO: By default this package is configured to use Wayland only.
# In order to complile version for use with X11, install optional dependencies for that case.
# TIP: You can speed up compiling process by setting `MAKEFLAGS="-j $(nproc)"` (or a fixed number)
# in your `/etc/makepkg.conf` file to use more threads.
_basename=deskflow
pkgname=${_basename}
pkgver=1.17.1
pkgrel=1
pkgdesc="Deskflow lets you share one mouse and keyboard between multiple computers"
arch=('x86_64')
url="https://deskflow.org/"
license=('GPL-2.0')
depends=(
'libxtst'
'libxkbcommon'
'libnotify'
'libei'
'libportal'
'qt6-base'
'gdk-pixbuf2'
'pugixml'
'tomlplusplus'
'libxkbfile'
)
makedepends=(
'git'
'cmake'
'python'
'libxkbfile'
'gtest'
'cli11'
)
optdepends=(
'openssl: TLS encryption'
'gtk3: GTK file/dir picker'
# 'libx11: X11 support' # dependency of libxtst
# 'libxext: X11 support' # dependency of libxtst
# 'libxi: X11 support' # dependency of libxtst
'libxkbcommon-x11: X11 support'
'libxinerama: X11 support'
'libxrandr: X11 support'
)
source=("$_basename::git+https://github.com/deskflow/deskflow.git#tag=v$pkgver")
sha256sums=('baec26e8d436d4f4f4a85bebed4a98fd6f1ac162f41d99bc76f971cb368c957b')
prepare() {
cd "$_basename"
cmake -B build \
-DCMAKE_INSTALL_PREFIX='/usr' \
-DCMAKE_CXX_FLAGS="-Wno-error=deprecated-declarations" \
-Wno-dev
}
build() {
cd "$_basename"
cmake --build build
}
check() {
cd "$_basename"
export QT_QPA_PLATFORM=offscreen
./build/bin/unittests
./build/bin/integtests
}
package() {
cd "$_basename"
DESTDIR="$pkgdir" cmake --install build
}
|