LibreCAD: move to Qt5

This commit is contained in:
Sergei Reznikov
2017-05-02 22:40:28 +03:00
parent e595e7ce4e
commit 832ac15e1f
3 changed files with 16 additions and 229 deletions

View File

@@ -1,19 +1,18 @@
SUMMARY="A 2D CAD drawing tool"
DESCRIPTION="LibreCAD is a 2D CAD drawing tool based on the community edition \
of QCAD (http://www.qcad.org).
LibreCAD has been re-structured, ported to new Qt versions and works natively \
cross platform between OS X, Windows, Linux and Haiku."
HOMEPAGE="http://librecad.org"
COPYRIGHT="2015 LibreCAD"
SUMMARY="A 2D CAD drawing program"
DESCRIPTION="LibreCAD is a cross-platform 2D CAD program written in C++11 \
using the Qt framework. It can read DXF and DWG files and can write DXF, PDF \
and SVG files. The user interface is highly customizable, and has dozens of \
translations.
HOMEPAGE="http://librecad.org/"
COPYRIGHT="2017 LibreCAD"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/LibreCAD/LibreCAD/archive/2.1.3.tar.gz"
REVISION="2"
SOURCE_URI="https://github.com/LibreCAD/LibreCAD/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="74c4ede409b13d0365c65c0cd52dba04f1049530f6df706dc905443d5e60db06"
PATCHES="librecad-$portVersion.patchset"
SOURCE_DIR="LibreCAD-2.1.3"
SOURCE_DIR="LibreCAD-$portVersion"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
@@ -22,15 +21,16 @@ PROVIDES="
cmd:ttf2lff$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku${secondaryArchSuffix}
libqt4$secondaryArchSuffix >= 4.8.0
haiku$secondaryArchSuffix
lib:libqt5$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
"
BUILD_REQUIRES="
libqt4${secondaryArchSuffix}_devel >= 4.8.0
boost${secondaryArchSuffix}_devel
devel:libfreetype$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libqt5$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
@@ -59,5 +59,5 @@ INSTALL()
cp -R appdata resources $appsDir/LibreCAD
cp ttf2lff $binDir
addAppDeskbarSymlink $appsDir/LibreCAD/LibreCAD "LibreCAD"
addAppDeskbarSymlink $appsDir/LibreCAD/LibreCAD
}