2018-05-25 17:29:07 +00:00
|
|
|
# Template file for 'barrier'
|
|
|
|
pkgname=barrier
|
2018-09-20 10:43:01 +00:00
|
|
|
version=2.1.2
|
2018-05-25 17:29:07 +00:00
|
|
|
revision=1
|
|
|
|
build_style=cmake
|
|
|
|
configure_args="-DBARRIER_REVISION=00000000 -DBARRIER_VERSION_STAGE=RELEASE"
|
|
|
|
hostmakedepends="pkg-config qt5-qmake qt5-host-tools"
|
|
|
|
makedepends="avahi-compat-libs-devel libcurl-devel qt5-devel
|
|
|
|
libSM-devel libXext-devel libXrandr-devel libXtst-devel libXinerama-devel"
|
|
|
|
short_desc="Open-source KVM software based on Synergy"
|
|
|
|
maintainer="John <johnz@posteo.net>"
|
|
|
|
license="GPL-2.0-only"
|
|
|
|
homepage="https://github.com/debauchee/barrier"
|
|
|
|
distfiles="https://github.com/debauchee/barrier/archive/v${version}.tar.gz"
|
2018-09-20 10:43:01 +00:00
|
|
|
checksum=2a6c930157adf500ff664b628fad926256b7fff9555b40c1e50bf8114efcfb3f
|
2018-05-25 17:29:07 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin build/bin/barrier
|
|
|
|
vbin build/bin/barrierc
|
|
|
|
vbin build/bin/barriers
|
|
|
|
|
|
|
|
vmkdir usr/share/examples/${pkgname}
|
|
|
|
install -m644 doc/barrier.conf.example* \
|
|
|
|
${DESTDIR}/usr/share/examples/${pkgname}
|
|
|
|
|
|
|
|
vinstall res/barrier.desktop 644 usr/share/applications
|
|
|
|
vinstall res/barrier.png 644 usr/share/pixmaps
|
|
|
|
|
|
|
|
vsv barrierc
|
|
|
|
vsv barriers
|
|
|
|
|
|
|
|
}
|
2018-09-20 10:43:01 +00:00
|
|
|
|
2018-05-25 17:29:07 +00:00
|
|
|
barrier-gui_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/share/pixmaps
|
|
|
|
vmove usr/share/applications
|
|
|
|
vmove usr/bin/barrier
|
|
|
|
}
|
|
|
|
}
|