summaryrefslogtreecommitdiff
path: root/gtk3/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-09-19 20:30:40 +0200
committerTim Biermann <tbier@posteo.de>2021-09-19 20:30:40 +0200
commitbae33f45c820dfada3aa283d8b9bbf676f9d220b (patch)
treefd6f7f1c552a40dd7f1fe0c7443b4cc775605e68 /gtk3/Pkgfile
parent5cffdb8ed57652739f5d82b7fa744df81713372f (diff)
downloadopt-bae33f45c820dfada3aa283d8b9bbf676f9d220b.tar.gz
opt-bae33f45c820dfada3aa283d8b9bbf676f9d220b.tar.xz
gtk3: added libxkbcommon to optional dependencies for wayland
Diffstat (limited to 'gtk3/Pkgfile')
-rw-r--r--gtk3/Pkgfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk3/Pkgfile b/gtk3/Pkgfile
index 4ea573b7a..408c1ff97 100644
--- a/gtk3/Pkgfile
+++ b/gtk3/Pkgfile
@@ -12,13 +12,15 @@ source=(https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-$version.tar
build () {
prt-get isinst colord || PKGMK_GTK3+=' -Dcolord=no'
- prt-get isinst wayland-protocols && PKGMK_GTK3+=' -D wayland_backend=true' || PKGMK_GTK3+=' -Dwayland_backend=false'
+ prt-get isinst libxkbcommon wayland-protocols && PKGMK_GTK3+=' -D wayland_backend=true' || PKGMK_GTK3+=' -Dwayland_backend=false'
CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
meson setup gtk+-$version build $PKGMK_GTK3 \
--prefix=/usr \
-D buildtype=plain \
--wrap-mode=nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
-D man=false \
-D gtk_doc=false \
-D examples=false \

Generated by cgit