aboutsummaryrefslogtreecommitdiff
path: root/libraries/libqtpas
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2022-09-24 04:16:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-09-25 13:59:45 +0700
commit02c23cb6cf3f4a0d36ec41ab643c2a4ac67405b8 (patch)
tree0c7da1acd13326f62c1c0d11e1072f6c5aa41d8e /libraries/libqtpas
parent86686e45bb04a0521cea218ae4793788f4201021 (diff)
libraries/libqtpas: Add SLKCFLAGS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libqtpas')
-rw-r--r--libraries/libqtpas/changelog11
-rw-r--r--libraries/libqtpas/libqtpas.SlackBuild7
2 files changed, 16 insertions, 2 deletions
diff --git a/libraries/libqtpas/changelog b/libraries/libqtpas/changelog
new file mode 100644
index 000000000000..93a0c76f7bf9
--- /dev/null
+++ b/libraries/libqtpas/changelog
@@ -0,0 +1,11 @@
+Changelog for the libqtpas SlackBuild script.
+--------------------------------------------------
+
+12/09/2022:
+
+libqtpas added in Slackbuilds.org
+
+21/09/2022:
+
+Added SLKCFLAGS to QMAKE. Thanks to David Miller
+for pointing it out. Bumped the build no.
diff --git a/libraries/libqtpas/libqtpas.SlackBuild b/libraries/libqtpas/libqtpas.SlackBuild
index faa545f69b1f..cd130436482f 100644
--- a/libraries/libqtpas/libqtpas.SlackBuild
+++ b/libraries/libqtpas/libqtpas.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libqtpas
VERSION=${VERSION:-2.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,7 +83,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-qmake-qt5 "QT += x11extras"
+qmake-qt5 "QT += x11extras" \
+QMAKE_CXXFLAGS+="$SLKCFLAGS" \
+QMAKE_CFLAGS+="$SLKCFLAGS" \
+Qt5Pas.pro
make
make INSTALL_ROOT=$PKG install