mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
zenity: Upgraded to 3.41.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
f9527c0ba1
commit
d6ff804a77
1 changed files with 31 additions and 17 deletions
42
deps/zenity/zenity.SlackBuild
vendored
42
deps/zenity/zenity.SlackBuild
vendored
|
@ -5,7 +5,7 @@
|
||||||
# Modified by Willy Sudiarto Raharjo for MSB Project
|
# Modified by Willy Sudiarto Raharjo for MSB Project
|
||||||
|
|
||||||
PRGNAM=zenity
|
PRGNAM=zenity
|
||||||
VERSION=${VERSION:-3.32.0}
|
VERSION=${VERSION:-3.41.0}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_msb}
|
TAG=${TAG:-_msb}
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ if [ -z "$ARCH" ]; then
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
||||||
wget -c https://ftp.acc.umu.se/pub/GNOME/sources/$PRGNAM/3.32/$PRGNAM-$VERSION.tar.xz
|
wget -c https://ftp.acc.umu.se/pub/GNOME/sources/$PRGNAM/3.41/$PRGNAM-$VERSION.tar.xz
|
||||||
|
|
||||||
CWD=$(pwd)
|
CWD=$(pwd)
|
||||||
TMP=${TMP:-/tmp/msb}
|
TMP=${TMP:-/tmp/msb}
|
||||||
|
@ -46,6 +46,14 @@ fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
# Check for WebKit
|
||||||
|
webkit=`pkg-config --exists webkit2gtk-4.0`
|
||||||
|
if [ "$?" -eq 0 ]; then
|
||||||
|
wk="TRUE"
|
||||||
|
else
|
||||||
|
wk="FALSE"
|
||||||
|
fi
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
|
@ -59,26 +67,32 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
mkdir build
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
cd build
|
||||||
./configure \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
--prefix=/usr \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
meson .. \
|
||||||
|
--buildtype=release \
|
||||||
|
--infodir=/usr/info \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--sysconfdir=/etc \
|
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
--enable-debug=no \
|
--prefix=/usr \
|
||||||
--enable-libnotify \
|
--sysconfdir=/etc \
|
||||||
--build=$ARCH-slackware-linux
|
-Dlibnotify=true \
|
||||||
|
-Dwebkitgtk=${wk}
|
||||||
make
|
ninja
|
||||||
make install-strip DESTDIR=$PKG
|
DESTDIR=$PKG ninja install
|
||||||
|
cd ..
|
||||||
|
|
||||||
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
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
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS ChangeLog COPYING HACKING NEWS README THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION
|
cp -a \
|
||||||
|
AUTHORS ChangeLog HACKING README TODO \
|
||||||
|
COPYING ChangeLog.pre-git NEWS THANKS \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
|
|
Loading…
Reference in a new issue