Date: Sunday, January 1, 2023 @ 18:43:41
  Author: freswa
Revision: 1372810

wlroots 0.16 rebuild against wlroots 0.15

Modified:
  cage/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-01 18:43:15 UTC (rev 1372809)
+++ PKGBUILD    2023-01-01 18:43:41 UTC (rev 1372810)
@@ -3,14 +3,14 @@
 
 pkgname=cage
 pkgver=0.1.4
-pkgrel=9
+pkgrel=10
 pkgdesc="A kiosk compositor for Wayland"
 arch=(x86_64)
 url="https://www.hjdskes.nl/projects/cage/";
 license=(MIT)
-depends=(glibc wayland)
+depends=(glibc wayland libwlroots.so=10)
 makedepends=(git libxkbcommon meson pixman scdoc wayland-protocols
-wlroots xorg-server-xwayland)
+xorg-server-xwayland)
 optdepends=(
   'polkit: System privilege control. Required if not using seatd service'
   'xorg-server-xwayland: X11 support'
@@ -31,6 +31,7 @@
 }
 
 build() {
+  export PKG_CONFIG_PATH='/usr/lib/wlroots0.15/pkgconfig'
   arch-meson -Dxwayland=true build "$pkgname"
   ninja -C build
 }
@@ -40,7 +41,7 @@
 }
 
 package() {
-  depends+=(libwlroots.so libxkbcommon.so libpixman-1.so)
+  depends+=(libxkbcommon.so libpixman-1.so)
 
   DESTDIR="${pkgdir}" meson install -C build
   install -vDm 644 "$pkgname/README.md" -t "${pkgdir}/usr/share/doc/${pkgname}"

Reply via email to