forked from kiss-community/repo
38 lines
984 B
Bash
Executable File
38 lines
984 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//' Makefile.am Makefile.in
|
|
sed -i 's/docs m4macros/m4macros/' 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
|