diff options
-rw-r--r-- | graphics/qcad/README | 7 | ||||
-rw-r--r-- | graphics/qcad/qcad.SlackBuild | 8 | ||||
-rw-r--r-- | graphics/qcad/qcad.info | 6 |
3 files changed, 11 insertions, 10 deletions
diff --git a/graphics/qcad/README b/graphics/qcad/README index cafcd557b9dd..667904556e36 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 efe35612121e..22c24cfc57ff 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 1f498dd1a900..6194cb61ac1b 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="" |