summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-05-19 10:15:01 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-05-19 18:39:58 +0700
commit5e91b9de385e3e4ac59d51729615a95752096ce1 (patch)
tree62c6d6956429af48fe0a7189a3326357e583e25a
parentc29c101ae42fa7e7bc2a7b44259382682417fe7c (diff)
downloadslackbuilds-5e91b9de385e3e4ac59d51729615a95752096ce1.tar.gz
graphics/qcad: Updated for version 3.26.2.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--graphics/qcad/README7
-rw-r--r--graphics/qcad/qcad.SlackBuild8
-rw-r--r--graphics/qcad/qcad.info6
3 files changed, 11 insertions, 10 deletions
diff --git a/graphics/qcad/README b/graphics/qcad/README
index cafcd557b9..667904556e 100644
--- a/graphics/qcad/README
+++ b/graphics/qcad/README
@@ -5,8 +5,9 @@ in two dimensions (2D). With QCAD you can create technical drawings such
as plans for buildings, interiors, mechanical parts or schematics and
diagrams. QCAD works on Windows, Mac OS X and Linux.
-Optional dependencies: libqsqlpsql and qt5
+Optional dependencies: libqsqlpsql
-To build qt5 version of qcad, run the SlackBuild with QT5=yes:
+To build qt4 version of qcad (requires a qt4 version library installed)
+run the SlackBuild with QT5=no:
- # QT5=yes ./qcad.SlackBuild
+ # QT5=no ./qcad.SlackBuild
diff --git a/graphics/qcad/qcad.SlackBuild b/graphics/qcad/qcad.SlackBuild
index efe3561212..22c24cfc57 100644
--- a/graphics/qcad/qcad.SlackBuild
+++ b/graphics/qcad/qcad.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=qcad
-VERSION=${VERSION:-3.23.0.2}
+VERSION=${VERSION:-3.26.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Build with Qt5/Qt4. Default is Qt4.
-if [ "${QT5:-no}" == "yes" ]; then
- sed -i 's|$${QT_VERSION}|5.9.5|' src/3rdparty/3rdparty.pro
+# Build with Qt5/Qt4. Default is Qt5.
+if [ "${QT5:-yes}" == "yes" ]; then
+ sed -i 's|$${QT_VERSION}|5.15.2|' src/3rdparty/3rdparty.pro
qmake-qt5 QMAKE_CFLAGS+="$SLKCFLAGS" QMAKE_CXXFLAGS+="$SLKCFLAGS" \
CONFIG+=release -o Makefile $PRGNAM.pro
QTDIRECTORY="qt5"
diff --git a/graphics/qcad/qcad.info b/graphics/qcad/qcad.info
index 1f498dd1a9..6194cb61ac 100644
--- a/graphics/qcad/qcad.info
+++ b/graphics/qcad/qcad.info
@@ -1,8 +1,8 @@
PRGNAM="qcad"
-VERSION="3.23.0.2"
+VERSION="3.26.2.0"
HOMEPAGE="https://www.qcad.org/en/"
-DOWNLOAD="https://github.com/qcad/qcad/archive/v3.23.0.2/qcad-3.23.0.2.tar.gz"
-MD5SUM="566c97bfe2dbe39aaf441a0b23381054"
+DOWNLOAD="https://github.com/qcad/qcad/archive/v3.26.2.0/qcad-3.26.2.0.tar.gz"
+MD5SUM="a94cff2853489352c38d8e3d6f1e6edc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""