diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2015-10-11 09:04:07 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-10-18 07:23:24 +0700 |
commit | b37f84c41e3bcecaa742448b8c8ffd0f4d302411 (patch) | |
tree | fdd36b1f415d9f1c9dac5213b6dcc484f268cfd9 /desktop/yad | |
parent | 44c814f948adab71eb33f9ae3ffe43206b82673e (diff) | |
download | slackbuilds-b37f84c41e3bcecaa742448b8c8ffd0f4d302411.tar.gz |
desktop/yad: Updated for version 0.31.2.
Thanks to gregory guy for the hints!
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/yad')
-rw-r--r-- | desktop/yad/README | 2 | ||||
-rw-r--r-- | desktop/yad/yad.SlackBuild | 11 | ||||
-rw-r--r-- | desktop/yad/yad.info | 8 |
3 files changed, 16 insertions, 5 deletions
diff --git a/desktop/yad/README b/desktop/yad/README index a7e2d49301..a1462a66b5 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 38c4e440e6..0295c660be 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 cea3425a59..02d5a30962 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="" |