summaryrefslogtreecommitdiff
path: root/libxkbcommon/Pkgfile
diff options
context:
space:
mode:
authorDanny Rawlins <contact@romster.me>2021-02-28 15:08:39 +1100
committerDanny Rawlins <contact@romster.me>2021-02-28 15:09:01 +1100
commit0ddabbce1092e29795cdb80d6acca2c7ed0c70dc (patch)
tree91865d3bee5b4bb2c96cccc9a82fdd8c7c207c7e /libxkbcommon/Pkgfile
parentec2ef42efd0cc7e02f95c16fd8d943a4626c8cc8 (diff)
downloadopt-0ddabbce1092e29795cdb80d6acca2c7ed0c70dc.tar.gz
opt-0ddabbce1092e29795cdb80d6acca2c7ed0c70dc.tar.xz
libxkbcommon: 0.10.0 -> 1.0.3
Diffstat (limited to 'libxkbcommon/Pkgfile')
-rw-r--r--libxkbcommon/Pkgfile13
1 files changed, 7 insertions, 6 deletions
diff --git a/libxkbcommon/Pkgfile b/libxkbcommon/Pkgfile
index a16b6a170..e06c92b29 100644
--- a/libxkbcommon/Pkgfile
+++ b/libxkbcommon/Pkgfile
@@ -1,20 +1,21 @@
# Description: A library to handle keyboard descriptions.
# URL: https://xkbcommon.org/
# Maintainer: Danny Rawlins, crux at romster dot me
-# Depends on: xkeyboard-config
+# Depends on: meson ninja xkeyboard-config
+# Optional: wayland-protocols
name=libxkbcommon
-version=0.10.0
+version=1.0.3
release=1
source=(https://github.com/xkbcommon/libxkbcommon/archive/xkbcommon-$version.tar.gz)
build() {
- cd libxkbcommon-xkbcommon-$version
+ prt-get isinst wayland-protocols || PKGMK_XKBCOMMON+=' -D enable-wayland=false'
- meson build \
+ meson build libxkbcommon-xkbcommon-$version $PKGMK_XKBCOMMON \
--prefix=/usr \
- -Denable-wayland=false \
- -Denable-docs=false
+ --libexecdir=/usr/lib \
+ -D enable-docs=false
ninja -C build -j ${JOBS:-1}
DESTDIR=$PKG ninja -C build install

Generated by cgit