mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-24 16:30:04 -07:00
35 lines
882 B
Bash
Executable File
35 lines
882 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' gtk/a11y/gtkaccessibility.c
|
|
sed -i'' '/atk_bridge_adaptor_init/d' gtk/a11y/gtkaccessibility.c
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--enable-xkb \
|
|
--enable-xinerama \
|
|
--enable-xrandr \
|
|
--enable-xfixes \
|
|
--enable-xcomposite \
|
|
--enable-xdamage \
|
|
--enable-x11-backend \
|
|
--disable-nls \
|
|
--enable-debug=no \
|
|
--disable-schemas-compile \
|
|
--disable-cups \
|
|
--disable-papi \
|
|
--disable-cloudprint \
|
|
--enable-introspection=no \
|
|
--enable-colord=no \
|
|
--enable-gtk-doc-html=no
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Remove unneeded files.
|
|
rm -rf "$1/usr/share/gtk-doc"
|
|
rm -rf "$1/usr/share/gettext"
|