summaryrefslogtreecommitdiff
path: root/gtk3/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-11-26 12:17:12 +0000
committerTim Biermann <tbier@posteo.de>2022-11-26 12:17:12 +0000
commit19f0d6ea52cc4a894bde9ff8a9cfdbebb319f3eb (patch)
tree19612d540e4f768aefd2c248ec1bde058522f931 /gtk3/Pkgfile
parent392cf1dd110c3ea87b69dc3fddee283c11b083f2 (diff)
downloadopt-19f0d6ea52cc4a894bde9ff8a9cfdbebb319f3eb.tar.gz
opt-19f0d6ea52cc4a894bde9ff8a9cfdbebb319f3eb.tar.xz
gtk3: fix build on wayland systems
Diffstat (limited to 'gtk3/Pkgfile')
-rw-r--r--gtk3/Pkgfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk3/Pkgfile b/gtk3/Pkgfile
index 16beba8d6..0611e6c17 100644
--- a/gtk3/Pkgfile
+++ b/gtk3/Pkgfile
@@ -8,11 +8,15 @@ name=gtk3
version=3.24.35
release=1
source=(https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-$version.tar.xz
- gtk-register-3.sh gtk.immodules)
+ gtk-register-3.sh gtk.immodules
+ meson.build)
build () {
prt-get isinst colord || PKGMK_GTK3+=' -Dcolord=no'
prt-get isinst libxkbcommon wayland-protocols && PKGMK_GTK3+=' -D wayland_backend=true' || PKGMK_GTK3+=' -Dwayland_backend=false'
+ # it seems like upstream forgot to include this meson.build file
+ # the build fails without it
+ prt-get isinst libxkbcommon wayland-protocols && mv $SRC/meson.build gtk+-$version/gdk/wayland/cursor/meson.build
CFLAGS+=" -DG_ENABLE_DEBUG -DG_DISABLE_CAST_CHECKS"
meson setup gtk+-$version build $PKGMK_GTK3 \

Generated by cgit