2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 15:20:06 -07:00
repo/extra/gtk+3/build

37 lines
921 B
Bash
Executable File

#!/bin/sh -e
# Remove 'atk-bridge' dependency which removes the 'dbus' dependency.
sed -i 's/ATK_PACKAGES="atk atk-bridge-2.0"/ATK_PACKAGES="atk"/' \
configure
sed -i '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
gtk/a11y/gtkaccessibility.c
# Don't build GTK examples/demos/testsuite.
sed -i 's/demos tests testsuite examples/tests/' Makefile.am Makefile.in
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-xkb \
--enable-xinerama \
--enable-xrandr \
--enable-xfixes \
--enable-xcomposite \
--enable-xdamage \
--enable-x11-backend \
--enable-debug=no \
--disable-schemas-compile \
--disable-cups \
--disable-papi \
--disable-cloudprint \
--disable-glibtest \
--disable-installed-tests \
--enable-introspection=no \
--enable-colord=no \
--enable-gtk-doc-html=no
make
make DESTDIR="$1" install