aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-10-08 11:04:37 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-10-11 11:48:41 +0700
commitc6e0175c3588973f5f9626f65aa706bd143399c8 (patch)
tree7f82c8bcaacedef95aded5d6cf4a524fb587e196 /libraries
parent58fd9937ac234cc9e8d5cf51cb62d5d46dbce1b3 (diff)
libraries/libqtpas: Updated for version 3.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libqtpas/changelog36
-rw-r--r--libraries/libqtpas/libqtpas.SlackBuild41
-rw-r--r--libraries/libqtpas/libqtpas.info6
3 files changed, 40 insertions, 43 deletions
diff --git a/libraries/libqtpas/changelog b/libraries/libqtpas/changelog
deleted file mode 100644
index c1a7b09f145c2..0000000000000
--- a/libraries/libqtpas/changelog
+++ /dev/null
@@ -1,36 +0,0 @@
-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.
-
-24/01/2023:
-
-corrected spelling mistake in README and slack-desc.
-This will now build from lazarus source instead of
-relying on Debian source package.Thanks to Davild Miller
-For pointing that out.For the 64-bit systems I have added
--march=x86-64 -mtune=native flag so it will be optimized
-for the host system, also added Hardening Flags.
-Bumped the build no.
-
-05/01/2024:
-
-Upgraded to version 2.9 corresponding to the lazarus
-version 2.2.6-0 in SBo.
-
-26/04/2024:
-
-Update to use lazarus version 3.2-0
-
-03/06/2024:
-
-Updraded to version 3.0.
-This will use the latest lazarus version 3.4-0
-Removed the Hardening flags.
diff --git a/libraries/libqtpas/libqtpas.SlackBuild b/libraries/libqtpas/libqtpas.SlackBuild
index 2518717355a09..e62ad67581223 100644
--- a/libraries/libqtpas/libqtpas.SlackBuild
+++ b/libraries/libqtpas/libqtpas.SlackBuild
@@ -1,4 +1,5 @@
#!/bin/bash
+
# Slackware build script for libqtpas
# Copyright 2022-2024 Vijay Marcel
@@ -21,15 +22,44 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+###################### Changelog #############################################
+
+# 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.
+
+# 24/01/2023: corrected spelling mistake in README and slack-desc.
+# This will now build from lazarus source instead of
+# relying on Debian source package.Thanks to Davild Miller
+# For pointing that out.For the 64-bit systems I have added
+# -march=x86-64 -mtune=native flag so it will be optimized
+# for the host system, also added Hardening Flags.
+# Bumped the build no.
+
+# 05/01/2024: Upgraded to version 2.9 corresponding to the lazarus
+# version 2.2.6-0 in SBo.
+
+# 26/04/2024: Update to use lazarus version 3.2-0
+
+# 03/06/2024: Updraded to version 3.0.
+# This will use the latest lazarus version 3.4-0
+# Removed the Hardening flags.
+
+# 07/10/2024: Updated to version 3.4
+
+########################################################################################
+
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libqtpas
-VERSION=${VERSION:-3.0}
+VERSION=${VERSION:-3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
SRCNAM=${SRCNAM:-lazarus}
-SRCVER=${SRCVER:-3.4}
+SRCVER=${SRCVER:-3.6}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -92,9 +122,12 @@ rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING.TXT README.TXT TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cd $TMP/$SRCNAM
+mkdir -pv $PKG/usr/doc/$PRGNAM-$VERSION
+cp -av COPYING.txt README.md COPYING.GPL.txt COPYING.LGPL.txt COPYING.modifiedLGPL.txt $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod -v 0644 {} \+
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chown -c -v root:root {} \+
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/libraries/libqtpas/libqtpas.info b/libraries/libqtpas/libqtpas.info
index 245a5acefad61..b74f101bc0e89 100644
--- a/libraries/libqtpas/libqtpas.info
+++ b/libraries/libqtpas/libqtpas.info
@@ -1,8 +1,8 @@
PRGNAM="libqtpas"
-VERSION="3.0"
+VERSION="3.4"
HOMEPAGE="http://www.lazarus.freepascal.org/"
-DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.4-0.tar.gz"
-MD5SUM="05abcb08be9c7ea19c8a4d12d954f406"
+DOWNLOAD="http://downloads.sourceforge.net/lazarus/lazarus-3.6-0.tar.gz"
+MD5SUM="c033a243b2fb933a474fe8d4971d95e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""