Skip to content

Commit

Permalink
LibreCAD: update to 2.2.0.2
Browse files Browse the repository at this point in the history
- assume maintainership
- use the latest Boost available (1.81)
- update librecad-devel to 2.2.1_alpha
- remove "use_xcode yes" to resolve "Could not resolve SDK Path" - https://trac.macports.org/ticket/65293
  • Loading branch information
herbygillot committed Oct 20, 2023
1 parent a548b5e commit 4653b5a
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 70 deletions.
54 changes: 24 additions & 30 deletions cad/LibreCAD/Portfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
PortGroup github 1.0
PortGroup qmake5 1.0
PortGroup boost 1.0
PortGroup github 1.0
PortGroup qmake5 1.0
PortGroup boost 1.0

name LibreCAD
subport LibreCAD-devel {}

categories cad
platforms darwin
maintainers nomaintainer

license GPL-2+
homepage https://librecad.org

description LibreCAD is a free Open Source CAD application.

Expand All @@ -22,11 +18,11 @@ long_description LibreCAD is a free Open Source CAD application for \
contributors and developers. You, too, can also get \
involved!

homepage http://librecad.org/

# Fix allowing QT to find the macOS SDK
# See: https://trac.macports.org/ticket/65519
use_xcode yes
categories cad
license GPL-2+
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer

# Needed for Boost
compiler.thread_local_storage \
Expand All @@ -37,19 +33,14 @@ qt5.depends_component qtsvg qttranslations qttools
if {${subport} eq "${name}"} {

conflicts LibreCAD-devel
github.setup LibreCAD LibreCAD 2.1.3
revision 1
checksums rmd160 2f50b879e95c0ecc019dd5b7f6a218f62744cc1b \
sha256 5d0bc37efa1006742785c06ec30737c7866b0366048553c5560e06a3e442f7b3 \
size 22416015
github.setup LibreCAD LibreCAD 2.2.0.2
github.tarball_from archive
revision 0
checksums rmd160 2092675c79c2da85ba66319f08c3c0f017aa4da8 \
sha256 fcb888a550f1f515ef6a2f7af2dd02605dd5c6da8a23f6c3a52479f8532ac109 \
size 13645528

boost.version 1.71

# fix build with newer Qt versions
patchfiles-append patch-build-with-newer-Qt.diff

# fix missing include for QPainterPath; fixed in devel release
patchfiles-append patch-qpainterpath.diff
boost.version 1.81

post-extract {
reinplace "s|lrelease|${qt_bins_dir}/lrelease|g" scripts/postprocess-osx.sh
Expand All @@ -58,15 +49,15 @@ if {${subport} eq "${name}"} {
} elseif {${subport} eq "${name}-devel"} {

conflicts LibreCAD
github.setup LibreCAD LibreCAD 07128e130d1b76797835accadb0f116bf2db3eab
version 2.2.0-20220607-RC4
revision 1
github.setup LibreCAD LibreCAD 2.2.1_alpha
github.tarball_from archive
revision 0

boost.version 1.81

checksums rmd160 e83b5e08e577215078daa67231a2cba097568015 \
sha256 7ebf2bc49591bd7611c868fbedb1b1ace2f5266907305cdce55398a5578d628d \
size 13833024
checksums rmd160 85605cb0cf0b082b8939911460603ba0d7b59712 \
sha256 ac91396da5823e5b58efacbbeed6bf5f669477df7a6755615a8f9290d9cd3a9d \
size 13840866
}

# the default destructor cannot be created in all cases
Expand Down Expand Up @@ -94,3 +85,6 @@ destroot {

copy ${worksrcpath}/LibreCAD.app ${destroot}${applications_dir}
}

github.livecheck.regex \
{([0-9.]+)}
29 changes: 0 additions & 29 deletions cad/LibreCAD/files/patch-build-with-newer-Qt.diff

This file was deleted.

11 changes: 0 additions & 11 deletions cad/LibreCAD/files/patch-qpainterpath.diff

This file was deleted.

0 comments on commit 4653b5a

Please sign in to comment.