aboutsummaryrefslogtreecommitdiff
path: root/extra/gtk+3
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-02-08 03:57:12 +0300
committerCem Keylan <cem@ckyln.com>2021-02-08 03:57:12 +0300
commit0f8190bb49864cb13e59c9dfe0b9c1da3cbcc96e (patch)
tree3e904ed0e056ac9bace5dd5fadbd89a698933b7f /extra/gtk+3
parent65c93c3151e9238de580afd7882f79da86eab6c3 (diff)
downloadrepository-0f8190bb49864cb13e59c9dfe0b9c1da3cbcc96e.tar.gz
gtk+3: build with wayland if available
Diffstat (limited to 'extra/gtk+3')
-rwxr-xr-xextra/gtk+3/build3
1 files changed, 3 insertions, 0 deletions
diff --git a/extra/gtk+3/build b/extra/gtk+3/build
index cce3cd18..e6b2b6c3 100755
--- a/extra/gtk+3/build
+++ b/extra/gtk+3/build
@@ -13,6 +13,8 @@ sed_i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \
sed_i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
gtk/a11y/gtkaccessibility.c
+cpt l wayland >/dev/null 2>&1 && wayland=--enable-wayland-backend
+
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -24,6 +26,7 @@ sed_i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
--enable-xcomposite \
--enable-xdamage \
--enable-x11-backend \
+ "$wayland" \
--enable-debug=no \
--disable-schemas-compile \
--disable-cups \