[arch-commits] Commit in barrier/trunk (PKGBUILD)

Morten Linderud foxboron at archlinux.org
Thu Jul 16 21:10:23 UTC 2020


    Date: Thursday, July 16, 2020 @ 21:10:23
  Author: foxboron
Revision: 664212

upgpkg: barrier 2.3.3-1 - fix build

Modified:
  barrier/trunk/PKGBUILD

----------+
 PKGBUILD |   16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-16 21:07:31 UTC (rev 664211)
+++ PKGBUILD	2020-07-16 21:10:23 UTC (rev 664212)
@@ -2,8 +2,8 @@
 # Contributor: Tilman BLUMENBACH <tilman+aur AT ax86 DOT net>
 
 pkgname=(barrier barrier-headless)
-pkgver=2.3.2
-pkgrel=2
+pkgver=2.3.3
+pkgrel=1
 pkgdesc="Open-source KVM software based on Synergy"
 arch=(x86_64)
 url="https://github.com/debauchee/barrier"
@@ -12,10 +12,17 @@
 depends=(curl avahi libx11 libxrandr libxext
         libxinerama xorgproto libxtst libxi
         libsm libice openssl)
-makedepends=(cmake qt5-base hicolor-icon-theme)
+makedepends=(cmake qt5-base hicolor-icon-theme gtest gmock)
 source=("$pkgname-$pkgver.tar.gz::https://github.com/debauchee/barrier/archive/v${pkgver}.tar.gz")
-sha256sums=('6b92a70c5f4d625065842d133386982ec2ad1db2a809af47e46ab8ce2acd39b5')
+sha256sums=('259e75c150ca16d9db51870b026dc7aad56c410fa3d2f5fdccc19d4b6024bdc5')
 
+prepare() {
+    cd "barrier-${pkgver}"
+    # Doesn't build!
+    rm -rf ext/{gmock,gtest}
+    sed -i 's|add_library.*||g' src/test/CMakeLists.txt 
+    sed -i 's|set_target_properties.*||g' src/test/CMakeLists.txt 
+}
 
 build() {
     cd "barrier-${pkgver}"
@@ -32,6 +39,7 @@
     make
 }
 
+
 _package_common() {
     # Install binaries:
     cd "barrier-${pkgver}/build"



More information about the arch-commits mailing list