mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-04 07:21:40 +01:00
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
|
|
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
|
|
pkgname=barrier
|
|
pkgver=2.3.3
|
|
pkgrel=0
|
|
pkgdesc="share keyboard and mouse between systems over network"
|
|
url="https://github.com/debauchee/barrier"
|
|
#arch="all !mips !mips64" # Fails to build
|
|
license="GPL-2.0-only"
|
|
options="!check"
|
|
depends="hicolor-icon-theme"
|
|
makedepends="qt5-qtbase-dev cmake avahi-dev libxtst-dev curl-dev gtest-dev"
|
|
subpackages="$pkgname-doc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/debauchee/barrier/archive/v$pkgver.tar.gz
|
|
1-disable-test-include.patch
|
|
"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build src --target install
|
|
mkdir -p "$pkgdir"/usr/share/doc/"$pkgname"
|
|
install -Dm0644 LICENSE "$pkgdir"/usr/share/doc/"$pkgname"/LICENSE
|
|
install -Dm0644 doc/barrierc.1 "$pkgdir"/usr/share/man/man1/barrierc.1
|
|
install -Dm0644 doc/barriers.1 "$pkgdir"/usr/share/man/man1/barriers.1
|
|
install -Dm0644 doc/barrier.conf.example "$pkgdir"/usr/share/doc/"$pkgname"/barrier.conf.example
|
|
install -Dm0644 doc/barrier.conf.example-basic "$pkgdir"/usr/share/doc/"$pkgname"/barrier.conf.example-basic
|
|
install -Dm0644 doc/barrier.conf.example-advanced "$pkgdir"/usr/share/doc/"$pkgname"/barrier.conf.example-advanced
|
|
}
|
|
|
|
sha512sums="1ac945ce090d5bbdae7bab7d4ca802cc2d54c1644a12088203b240e38078d32d3b30ae2f764ba27d66c9d709e430b0eb1b4576314d99dd6177d8b88d19b89777 barrier-2.3.3.tar.gz
|
|
a9a37a64677c0708d22c8ed08b71c47b613c404ea4a65eed40833bedc356162516c166e0eb53895ebe6f1bff14c42df1b40cb7dd7b3d2a2e258990d440f4d7e4 1-disable-test-include.patch"
|