aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/yad/README2
-rw-r--r--desktop/yad/yad.SlackBuild11
-rw-r--r--desktop/yad/yad.info8
3 files changed, 16 insertions, 5 deletions
diff --git a/desktop/yad/README b/desktop/yad/README
index a7e2d4930193..a1462a66b5b0 100644
--- a/desktop/yad/README
+++ b/desktop/yad/README
@@ -3,3 +3,5 @@ yad displays graphical dialogs from shell scripts or command line.
Yad is a fork of Zenity with many improvements, including custom
buttons, additional dialogs and a pop-up menu in the notification
area.
+
+the optional dependency webkitgtk enables the html widget.
diff --git a/desktop/yad/yad.SlackBuild b/desktop/yad/yad.SlackBuild
index 38c4e440e639..0295c660be70 100644
--- a/desktop/yad/yad.SlackBuild
+++ b/desktop/yad/yad.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yad
-VERSION=${VERSION:-0.28.1}
+VERSION=${VERSION:-0.31.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,8 @@ else
LIBDIRSUFFIX=""
fi
+if pkg-config --exists webkit-1.0 ; then HTML="--enable-html" ; else HTML="" ; fi
+
set -e
rm -rf $PKG
@@ -70,6 +72,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix location of rgb.txt
+sed -i "s|/etc/X11/rgb\.txt|/usr/share/X11/rgb.txt|" configure.ac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-rgb=/usr/share/X11/rgb.txt \
+ --enable-icon-browser \
+ $HTML \
--build=$ARCH-slackware-linux
make
diff --git a/desktop/yad/yad.info b/desktop/yad/yad.info
index cea3425a5927..02d5a3096255 100644
--- a/desktop/yad/yad.info
+++ b/desktop/yad/yad.info
@@ -1,8 +1,8 @@
PRGNAM="yad"
-VERSION="0.28.1"
-HOMEPAGE="http://code.google.com/p/yad/"
-DOWNLOAD="http://downloads.sf.net/yad-dialog/yad-0.28.1.tar.xz"
-MD5SUM="79798cbd7d209c2d290b6f794ed66ba4"
+VERSION="0.31.2"
+HOMEPAGE="http://sourceforge.net/projects/yad-dialog/"
+DOWNLOAD="http://downloads.sf.net/yad-dialog/yad-0.31.2.tar.xz"
+MD5SUM="d3b98ea9a1fa5fb6b17542eaf1dc626f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""