cad/leocad: Update 19.07.1 -> 21.01

This commit is contained in:
Yuri Victorovich 2021-02-22 09:36:33 +00:00
parent 4cd0d176e8
commit c29671a986
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=566283
4 changed files with 25 additions and 28 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= leocad
DISTVERSIONPREFIX= v
DISTVERSION= 19.07.1
DISTVERSION= 21.01
CATEGORIES= cad
MAINTAINER= yuri@FreeBSD.org
@ -22,14 +22,6 @@ USE_GL= gl
QMAKE_ARGS= INSTALL_PREFIX=${PREFIX} MAN_DIR=${PREFIX}/man/man1 LDRAW_LIBRARY_PATH=${PREFIX}/share/ldraw
PLIST_FILES= bin/leocad \
share/applications/leocad.desktop \
share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg \
man/man1/leocad.1.gz \
share/metainfo/leocad.appdata.xml \
share/mime/packages/leocad.xml \
share/pixmaps/leocad.png
PORTSCOUT= limit:^[0-9\.]*$$ # to ignore the 'continuous'
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1567654240
SHA256 (leozide-leocad-v19.07.1_GH0.tar.gz) = b74557e00366f1d3ddc211f9e55c28dba39987d66e5e3106490ab5fb75d25bc0
SIZE (leozide-leocad-v19.07.1_GH0.tar.gz) = 5292386
TIMESTAMP = 1613983561
SHA256 (leozide-leocad-v21.01_GH0.tar.gz) = d57576ced3855e1b57aa7e310c81929505db57e88a891094972579b2481bf0d6
SIZE (leozide-leocad-v21.01_GH0.tar.gz) = 1983909

View file

@ -1,16 +0,0 @@
Remove the embedded build date and fix build with Clang 6
common/lc_application.cpp:209:23: error: no matching literal operator for call to 'operator""__DATE__' with arguments of types 'const char *' and 'unsigned int', and no matching literal operator template
printf("Compiled "__DATE__"\n");
^
--- common/lc_application.cpp.orig 2019-05-17 23:24:38 UTC
+++ common/lc_application.cpp
@@ -375,7 +375,6 @@ bool lcApplication::Initialize(QList<QPair<QString, bo
printf("LeoCAD Version " LC_VERSION_TEXT "\n");
#endif
printf("LeoCAD Version " LC_VERSION_TEXT "\n");
- printf("Compiled " __DATE__ "\n");
ShowWindow = false;
return true;

21
cad/leocad/pkg-plist Normal file
View file

@ -0,0 +1,21 @@
bin/leocad
man/man1/leocad.1.gz
share/applications/leocad.desktop
share/icons/hicolor/128x128/apps/leocad.png
share/icons/hicolor/128x128/mimetypes/application-vnd.leocad.png
share/icons/hicolor/16x16/apps/leocad.png
share/icons/hicolor/16x16/mimetypes/application-vnd.leocad.png
share/icons/hicolor/24x24/apps/leocad.png
share/icons/hicolor/256x256/apps/leocad.png
share/icons/hicolor/256x256/mimetypes/application-vnd.leocad.png
share/icons/hicolor/32x32/apps/leocad.png
share/icons/hicolor/32x32/mimetypes/application-vnd.leocad.png
share/icons/hicolor/48x48/apps/leocad.png
share/icons/hicolor/512x512/apps/leocad.png
share/icons/hicolor/512x512/mimetypes/application-vnd.leocad.png
share/icons/hicolor/64x64/apps/leocad.png
share/icons/hicolor/64x64/mimetypes/application-vnd.leocad.png
share/icons/hicolor/scalable/apps/leocad.svg
share/icons/hicolor/scalable/mimetypes/application-vnd.leocad.svg
share/metainfo/leocad.appdata.xml
share/mime/packages/leocad.xml