blob: 068331d78accf29592fe89afc73b056df3f3866a (
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
|
# Maintainer: sgar <swhaat in github>
pkgname=veyon
pkgver=4.7.3
pkgrel=2
pkgdesc="Open Source computer monitoring and classroom management"
arch=('i686' 'x86_64')
url="https://github.com/veyon"
license=('GPLv2')
depends=('qt5-base'
'libfakekey'
'kitemmodels'
'libxcomposite'
'qca'
'libxrandr'
'libxtst'
'pam'
'openldap'
'openssl'
'libjpeg-turbo'
'zlib' 'qca-qt5'
'libqtxdg'
'lzo'
'libxinerama'
'libsasl'
'x11vnc')
optdepends=('kldap: KDE support')
makedepends=('git' 'gcc' 'cmake' 'qt5-tools' 'procps-ng' 'kldap')
_commit="36c58eb981cc6edc9ecd14e40974b863eaac1c8b"
source=("git+${url}/veyon.git#commit=${_commit}")
sha256sums=('SKIP')
prepare() {
mkdir -p build
cd "${srcdir}/${pkgname}"
git submodule update --init
cd "${srcdir}/${pkgname}/3rdparty/qthttpserver/"
git submodule update --init
}
build() {
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DATA_DIR=/usr/share/ \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_VEYON_X11VNC_EXTERNAL=ON \
-DSYSTEMD_SERVICE_INSTALL_DIR=/usr/lib/systemd/system/ \
-DCMAKE_BUILD_TYPE=release \
../"${pkgname}"
make
}
package_veyon() {
cd build
make DESTDIR="${pkgdir}" install
cd ${pkgdir}/usr/lib/${pkgname}
for lib in $(ls *.so)
do
ln -s "/usr/lib/veyon/$lib" "${pkgdir}/usr/lib/$lib"
done
}
|