From 02c23cb6cf3f4a0d36ec41ab643c2a4ac67405b8 Mon Sep 17 00:00:00 2001 From: Vijay Marcel Date: Sat, 24 Sep 2022 04:16:27 +0100 Subject: libraries/libqtpas: Add SLKCFLAGS. Signed-off-by: Willy Sudiarto Raharjo --- libraries/libqtpas/changelog | 11 +++++++++++ libraries/libqtpas/libqtpas.SlackBuild | 7 +++++-- 2 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 libraries/libqtpas/changelog (limited to 'libraries/libqtpas') diff --git a/libraries/libqtpas/changelog b/libraries/libqtpas/changelog new file mode 100644 index 0000000000..93a0c76f7b --- /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 faa545f69b..cd13043648 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 -- cgit v1.2.3-80-g2a13