2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00
repo/xorg/gtk+3/build

34 lines
862 B
Plaintext
Raw Normal View History

2019-07-27 09:18:06 -06:00
#!/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' gtk/a11y/gtkaccessibility.c
sed -i'' '/atk_bridge_adaptor_init/d' gtk/a11y/gtkaccessibility.c
2019-07-27 10:35:15 -06:00
2019-07-27 09:18:06 -06:00
./configure \
--prefix=/usr \
2019-07-27 09:24:23 -06:00
--sysconfdir=/etc \
--localstatedir=/var \
--enable-xkb \
--enable-xinerama \
--enable-xrandr \
--enable-xfixes \
--enable-xcomposite \
--enable-xdamage \
--enable-x11-backend \
2019-07-27 09:18:06 -06:00
--enable-debug=no \
2019-07-27 10:17:49 -06:00
--disable-schemas-compile \
2019-07-27 09:18:06 -06:00
--disable-cups \
--disable-papi \
--disable-cloudprint \
--enable-introspection=no \
--enable-colord=no \
--enable-gtk-doc-html=no
make
make DESTDIR="$1" install
2019-07-27 15:07:23 -06:00
# Remove unneeded files.
2019-08-18 18:20:55 -06:00
rm -rf "$1/usr/share/gtk-doc"
rm -rf "$1/usr/share/gettext"