summaryrefslogtreecommitdiffstats
path: root/desktop/libqtxdg
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/libqtxdg')
-rw-r--r--desktop/libqtxdg/README11
-rw-r--r--desktop/libqtxdg/libqtxdg.SlackBuild16
-rw-r--r--desktop/libqtxdg/libqtxdg.info14
-rw-r--r--desktop/libqtxdg/slack-desc2
4 files changed, 26 insertions, 17 deletions
diff --git a/desktop/libqtxdg/README b/desktop/libqtxdg/README
index 1363ee813b..e836319ae9 100644
--- a/desktop/libqtxdg/README
+++ b/desktop/libqtxdg/README
@@ -1,6 +1,7 @@
-libqtxdg is a Qt 5 implementation of freedesktop.org XDG specifications.
+libqtxdg is a Qt 5 implementation of freedesktop.org XDG
+specifications.
-The library is able to use GTK+ icon theme caches for faster icon lookup. The
-cache file can be generated with utility gtk-update-icon-cache on a theme
-directory. If the cache is not present, corrupted, or outdated, the normal
-slow lookup is still run.
+The library is able to use GTK+ icon theme caches for faster
+icon lookup. The cache file can be generated with utility
+gtk-update-icon-cache on a theme directory. If the cache is not
+present, corrupted, or outdated, the normal slow lookup is still run.
diff --git a/desktop/libqtxdg/libqtxdg.SlackBuild b/desktop/libqtxdg/libqtxdg.SlackBuild
index 6bb31cc848..7d4f1f175d 100644
--- a/desktop/libqtxdg/libqtxdg.SlackBuild
+++ b/desktop/libqtxdg/libqtxdg.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for libqtxdg
# Copyright 2018 Egor Zayats, Minsk Belarus
+# Copyright 2022-2024 Isaac Yu <isaacyu@protonmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=libqtxdg
-VERSION=${VERSION:-3.2.0}
+VERSION=${VERSION:-3.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,11 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -94,4 +102,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/desktop/libqtxdg/libqtxdg.info b/desktop/libqtxdg/libqtxdg.info
index b97ae20872..77003be19b 100644
--- a/desktop/libqtxdg/libqtxdg.info
+++ b/desktop/libqtxdg/libqtxdg.info
@@ -1,10 +1,10 @@
PRGNAM="libqtxdg"
-VERSION="3.2.0"
-HOMEPAGE="https://lxqt.org/"
-DOWNLOAD="https://downloads.lxqt.org/downloads/libqtxdg/3.2.0/libqtxdg-3.2.0.tar.xz"
-MD5SUM="8a01a31ad7a92ae44dc4d4b1127ae43f"
+VERSION="3.12.0"
+HOMEPAGE="https://lxqt.org"
+DOWNLOAD="https://github.com/lxqt/libqtxdg/releases/download/3.12.0/libqtxdg-3.12.0.tar.xz"
+MD5SUM="6cb85091630b7d84278b2430e92a62bb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Egor Zayats"
-EMAIL="ea.zayac@gmail.com"
+REQUIRES="lxqt-build-tools"
+MAINTAINER="Isaac Yu"
+EMAIL="isaacyu@protonmail.com"
diff --git a/desktop/libqtxdg/slack-desc b/desktop/libqtxdg/slack-desc
index 278acf3cd4..eab3da3457 100644
--- a/desktop/libqtxdg/slack-desc
+++ b/desktop/libqtxdg/slack-desc
@@ -11,7 +11,7 @@ libqtxdg:
libqtxdg: libqtxdg is a Qt 5 implementation of freedesktop.org XDG
libqtxdg: specifications.
libqtxdg:
-libqtxdg:
+libqtxdg: homepage: https://lxqt.org
libqtxdg:
libqtxdg:
libqtxdg: