Date: Sunday, January 1, 2023 @ 18:43:11
  Author: freswa
Revision: 1372808

wlroots 0.16 rebuild against wlroots 0.15

Modified:
  python-pywlroots/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-01-01 18:42:41 UTC (rev 1372807)
+++ PKGBUILD    2023-01-01 18:43:11 UTC (rev 1372808)
@@ -3,13 +3,12 @@
 _name=pywlroots
 pkgname=python-pywlroots
 pkgver=0.15.24
-pkgrel=1
+pkgrel=2
 pkgdesc="Python binding to the wlroots library using cffi"
 arch=(x86_64)
 url="https://github.com/flacjacket/pywlroots";
 license=(custom:UIUC)
-depends=(glibc python-cffi python-pywayland python-xkbcommon wlroots
-libwlroots.so)
+depends=(glibc python-cffi python-pywayland python-xkbcommon libwlroots.so=10)
 makedepends=(python-build python-installer python-setuptools python-wheel)
 checkdepends=(python-pytest)
 provides=(pywlroots)
@@ -21,6 +20,8 @@
 
b2sums=('a89099cd1aab761b06ba53a19b49b5ad66b8fcd19e7c9dea64ebffb3fc5e163076e6ea9b91b12c2f66cebfec9f0673268dd8bdebd29270a6786df3fe7b8037d0')
 
 build() {
+  export CFLAGS="$CFLAGS -I/usr/include/wlroots0.15"
+  export LDFLAGS="$LDFLAGS -L/usr/lib/wlroots0.15"
   cd $_name-$pkgver
   python wlroots/ffi_build.py
   python -m build --wheel --no-isolation

Reply via email to