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

24 lines
492 B
Plaintext
Raw Normal View History

2019-08-03 00:30:03 -06:00
#!/bin/sh -e
2019-08-04 15:57:30 -06:00
triplet=$(cc -dumpmachine)
2019-08-03 00:30:03 -06:00
export CFLAGS="$CFLAGS -UGDK_PIXBUF_DISABLE_DEPRECATED"
2019-08-04 15:57:30 -06:00
2019-08-03 00:30:03 -06:00
./configure \
2019-08-04 15:57:30 -06:00
--build="$triplet" \
--host="$triplet" \
2019-08-03 00:30:03 -06:00
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-debug=no \
--disable-gtk-doc \
--with-xinput=yes
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
sed -i -e 's/demos //g' Makefile
make
make DESTDIR="$1" install
2019-10-07 08:04:22 -06:00
# Conflicts with GTK+3.
2019-08-04 15:57:30 -06:00
rm -f "$1/usr/bin/gtk-update-icon-cache"