summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/gtkhash/README2
-rw-r--r--desktop/gtkhash/README.Slackware8
-rw-r--r--desktop/gtkhash/gtkhash.SlackBuild10
-rw-r--r--desktop/gtkhash/gtkhash.info6
4 files changed, 16 insertions, 10 deletions
diff --git a/desktop/gtkhash/README b/desktop/gtkhash/README
index b6728a1d32..cec233b2f9 100644
--- a/desktop/gtkhash/README
+++ b/desktop/gtkhash/README
@@ -2,3 +2,5 @@ GtkHash is a desktop utility for computing message digests or checksums.
Most well-known hash functions are supported, including MD5, SHA1, SHA2
(SHA256/SHA512), and SHA3.
+
+libb2 is an optional dependency; see README.Slackware for more details.
diff --git a/desktop/gtkhash/README.Slackware b/desktop/gtkhash/README.Slackware
index 7127c66c62..384ab77c06 100644
--- a/desktop/gtkhash/README.Slackware
+++ b/desktop/gtkhash/README.Slackware
@@ -14,13 +14,15 @@ some of which are:
The above configuration options are present in the SlackBuild and
commented out; users can enable them according to their needs.
-Note:
+### Command line switches
-If using Thunar one can run the script like
+* To enable the GtkHash Thunar extension, can run the script like:
./THUNAR=yes gtkhash.SlackBuild
-to enable the GtkHash Thunar extension.
+* To enable BLAKE2 support (needs libb2):
+
+./BLAKE2=yes gtkhash.SlackBuild
### Using with Thunar
diff --git a/desktop/gtkhash/gtkhash.SlackBuild b/desktop/gtkhash/gtkhash.SlackBuild
index 3bb5e2fd53..437d996ac4 100644
--- a/desktop/gtkhash/gtkhash.SlackBuild
+++ b/desktop/gtkhash/gtkhash.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtkhash
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.1.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,8 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# cmd line args
-thunar_params="" ; [ "${THUNAR:-no}" != "no" ] && thunar_params="--enable-thunar"
+libb2_params="--disable-blake2" ; [ "${BLAKE2:-no}" != "no" ] && libb2_params=""
+thunar_params="" ; [ "${THUNAR:-no}" != "no" ] && thunar_params="--enable-thunar"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -82,7 +83,8 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
--enable-linux-crypto \
--enable-gcrypt \
- $thunar_params \
+ $libb2_params \
+ $thunar_params
# --enable-libcrypto \
# --enable-mbedtls \
# --enable-mhash \
@@ -100,7 +102,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS COPYING ChangeLog INSTALL NEWS README.md TODO \
+ AUTHORS COPYING ChangeLog NEWS README.md TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/desktop/gtkhash/gtkhash.info b/desktop/gtkhash/gtkhash.info
index e7d3bd3332..b61b97a7eb 100644
--- a/desktop/gtkhash/gtkhash.info
+++ b/desktop/gtkhash/gtkhash.info
@@ -1,8 +1,8 @@
PRGNAM="gtkhash"
-VERSION="1.1"
+VERSION="1.1.1"
HOMEPAGE="https://github.com/tristanheaven/gtkhash"
-DOWNLOAD="https://github.com/tristanheaven/gtkhash/releases/download/v1.1/gtkhash-1.1.tar.gz"
-MD5SUM="0d581372b867dae93b25d264c7dda486"
+DOWNLOAD="https://github.com/tristanheaven/gtkhash/releases/download/v1.1.1/gtkhash-1.1.1.tar.gz"
+MD5SUM="0036de7c9e9daa22441476205868ed30"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""