diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2021-05-19 10:15:01 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 18:39:58 +0700 |
commit | 5e91b9de385e3e4ac59d51729615a95752096ce1 (patch) | |
tree | 62c6d6956429af48fe0a7189a3326357e583e25a /graphics/qcad/qcad.SlackBuild | |
parent | c29c101ae42fa7e7bc2a7b44259382682417fe7c (diff) | |
download | slackbuilds-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>
Diffstat (limited to 'graphics/qcad/qcad.SlackBuild')
-rw-r--r-- | graphics/qcad/qcad.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
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" |