mirror of
https://codeberg.org/kiss-community/repo
synced 2024-11-15 11:10:08 -07:00
46 lines
1.2 KiB
Bash
Executable File
46 lines
1.2 KiB
Bash
Executable File
#!/bin/sh -e
|
|
|
|
# Remove configure check for atk-bridge.
|
|
sed 's/\(ATK_PACKAGES="atk\) atk-bridge-2.0"/\1"/' configure > _
|
|
mv -f _ configure
|
|
chmod +x configure
|
|
|
|
# Remove atk-bridge code.
|
|
sed '/<atk-bridge.h>/d;/atk_bridge_adaptor_init/d' \
|
|
gtk/a11y/gtkaccessibility.c > _
|
|
mv -f _ gtk/a11y/gtkaccessibility.c
|
|
|
|
# Don't build GTK examples/demos/testsuite.
|
|
sed 's/demos tests testsuite examples//;s/docs \(m4macros\)/\1/' Makefile.in > _
|
|
mv -f _ Makefile.in
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--enable-xkb \
|
|
--enable-xinerama \
|
|
--enable-xrandr \
|
|
--enable-xfixes \
|
|
--enable-xcomposite \
|
|
--enable-xdamage \
|
|
--enable-x11-backend \
|
|
--disable-schemas-compile \
|
|
--disable-cups \
|
|
--disable-papi \
|
|
--disable-cloudprint \
|
|
--disable-glibtest \
|
|
--disable-nls \
|
|
--disable-installed-tests \
|
|
--enable-introspection=no \
|
|
--enable-colord=no \
|
|
--enable-gtk-doc-html=no
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# We don't compile with librsvg which leads to this
|
|
# utility solely causing compiler errors for some
|
|
# packages. It has no use at all.
|
|
rm -f "$1/usr/bin/gtk-encode-symbolic-svg"
|