summaryrefslogtreecommitdiff
path: root/gtk3/Pkgfile
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2022-12-25 12:19:47 +0000
committerTim Biermann <tbier@posteo.de>2022-12-28 10:12:40 +0000
commit38b493721388e0250fc4e69d6c9cfbef87eed1f3 (patch)
tree8ecc13309bf6f6d21d3495d1afe100e118753dbe /gtk3/Pkgfile
parent2f2decb2013766b079a95840713433224e35ff18 (diff)
downloadopt-38b493721388e0250fc4e69d6c9cfbef87eed1f3.tar.gz
opt-38b493721388e0250fc4e69d6c9cfbef87eed1f3.tar.xz
gtk3: fixed build on wayland
Diffstat (limited to 'gtk3/Pkgfile')
-rw-r--r--gtk3/Pkgfile6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk3/Pkgfile b/gtk3/Pkgfile
index 74de7c4a0..bd43bfee0 100644
--- a/gtk3/Pkgfile
+++ b/gtk3/Pkgfile
@@ -8,15 +8,11 @@ name=gtk3
version=3.24.36
release=1
source=(https://download.gnome.org/sources/gtk+/${version:0:4}/gtk+-$version.tar.xz
- gtk-register-3.sh gtk.immodules
- meson.build)
+ gtk-register-3.sh gtk.immodules)
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