diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-10-26 16:26:32 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-18 00:10:35 -0500 |
commit | f3653f73b89e9ad44ec48df7625670fa22dfa43a (patch) | |
tree | 5f34d0ed22493afcd94c3a50e899b6dc68ee47fe /desktop/yad/yad.SlackBuild | |
parent | f1d02bc5c9b9f92b4cb54b8b0ab8530075341f48 (diff) |
desktop/yad: Updated for version 7.3.
Added the optional deps gtksourceview3 and webkit2gtk
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/yad/yad.SlackBuild')
-rw-r--r-- | desktop/yad/yad.SlackBuild | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/desktop/yad/yad.SlackBuild b/desktop/yad/yad.SlackBuild index 0b08f08e7a760..2fbe6bd2a906c 100644 --- a/desktop/yad/yad.SlackBuild +++ b/desktop/yad/yad.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for yad # Copyright 2010-2014 Charles <SlackBuilds@catcons.co.uk> -# Copyright 2015-2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2015-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yad -VERSION=${VERSION:-0.40.0} +VERSION=${VERSION:-7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -55,8 +55,8 @@ else LIBDIRSUFFIX="" fi -GTK=${GTK:-2} -if pkg-config --exists webkit-1.0 ; then HTML="--enable-html" ; else HTML="" ; fi +if pkg-config --exists webkit2gtk-4.0 ; then HTML="--enable-html" ; else HTML="" ; fi +if pkg-config --exists gtksourceview-3.0 ; then SOURCEVIEW="--enable-sourceview" ; else SOURCEVIEW="" ; fi set -e @@ -73,6 +73,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +autoreconf -vif +intltoolize + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -84,8 +87,11 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-rgb=/usr/share/X11/rgb.txt \ --enable-icon-browser \ - --with-gtk=gtk$GTK \ + --enable-pfd \ + --enable-tray \ + --enable-spell \ $HTML \ + $SOURCEVIEW \ --build=$ARCH-slackware-linux make @@ -95,7 +101,7 @@ 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/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS NEWS README* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS README* THANKS TODO $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |