repo/extra/gtk+2/build

23 lines
538 B
Plaintext
Raw Normal View History

2019-08-03 00:30:03 -06:00
#!/bin/sh -e
export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
2019-08-04 15:57:30 -06:00
2020-03-28 02:10:02 -06:00
# Don't build GTK examples/demos/testsuite.
sed -i 's/modules demos tests/modules/' Makefile.am Makefile.in
sed -i 's/docs m4macros/m4macros/' Makefile.am Makefile.in
2019-08-03 00:30:03 -06:00
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-debug=no \
--disable-gtk-doc \
--with-xinput=yes
make
make DESTDIR="$1" install
2019-08-04 15:57:30 -06:00
rm -f "$1/usr/bin/gtk-update-icon-cache"
2019-10-08 00:53:28 -06:00
rm -f "$1/usr/bin/gtk-demo"
rm -rf "$1/usr/share/gtk-2.0/demo"