diff options
Diffstat (limited to '')
-rwxr-xr-x | source/x/ibus/ibus.SlackBuild | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/source/x/ibus/ibus.SlackBuild b/source/x/ibus/ibus.SlackBuild index 212a6ed20..27b9629ee 100755 --- a/source/x/ibus/ibus.SlackBuild +++ b/source/x/ibus/ibus.SlackBuild @@ -1,7 +1,7 @@ #!/bin/bash # Copyright 2017 Heinz Wiesinger, Amsterdam, The Netherlands -# Copyright 2017, 2020, 2022 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2017, 2020, 2022, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -101,6 +101,13 @@ fi # fix libdir sed -i "s|/lib/python|/lib$LIBDIRSUFFIX/python|g" ./configure +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -113,11 +120,19 @@ CFLAGS="$SLKCFLAGS" \ --with-unicode-emoji-dir=$TMP/ibus-$VERSION \ --with-ucd-dir=$TMP/ibus-$VERSION \ --disable-systemd-services \ + --enable-gtk-doc \ --build=$ARCH-slackware-linux || exit 1 make $NUMJOBS || make || exit 1 make install-strip DESTDIR=$PKG || exit 1 +# Compress manual pages: +find $PKG/usr/man -type f -exec gzip -9 {} \+ +for i in $( find $PKG/usr/man -type l ) ; do + ln -s $( readlink $i ).gz $i.gz + rm $i +done + mkdir -p $PKG/etc/xdg/autostart install -m 644 $CWD/ibus-autostart.desktop $PKG/etc/xdg/autostart/ install -m 644 $CWD/ibus-autostart-plasma.desktop $PKG/etc/xdg/autostart/ |