deskutils/coregarage: Update to 5.0.0

Switch to Qt6
Changes: https://gitlab.com/cubocore/coreapps/coregarage/-/commits/master

PR:             289559
Reported by:    diizzy
This commit is contained in:
Jason W. Bacon 2025-09-16 08:36:32 -05:00
parent 57f1bc675f
commit aca2d57f1b
3 changed files with 17 additions and 18 deletions

View File

@ -1,5 +1,5 @@
PORTNAME= coregarage
DISTVERSION= 4.5.0
DISTVERSION= 5.0.0
CATEGORIES= deskutils
MAINTAINER= jwb@FreeBSD.org
@ -9,28 +9,27 @@ WWW= https://gitlab.com/cubocore/coregarage
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libarchiveqt5.so:archivers/libarchive-qt \
libcprime-core.so:deskutils/libcprime
LIB_DEPENDS= libcprime-core.so:deskutils/libcprime
USES= cmake desktop-file-utils localbase:ldflags qt:5
USE_QT= buildtools:build core gui network qmake:build widgets
USES= cmake desktop-file-utils localbase:ldflags qt:6
USE_QT= base tools:build
USE_GITLAB= yes
GL_ACCOUNT= CuboCore
GL_TAGNAME= c03fd7d1bd37d4a11017cf242c55c66b157033fa
GL_TAGNAME= v5.0.0
PLIST_FILES= bin/coregarage \
share/applications/org.cubocore.CoreGarage.desktop \
share/icons/hicolor/scalable/apps/org.cubocore.CoreGarage.svg
share/applications/cc.cubocore.CoreGarage.desktop \
share/icons/hicolor/scalable/apps/cc.cubocore.CoreGarage.svg
pre-configure:
@${REINPLACE_CMD} \
-e 's|/usr/bin|${PREFIX}/bin|g' \
-e 's|/usr/lib|${PREFIX}/lib|g' \
-e 's|/usr/share|${PREFIX}/share|g' \
${WRKSRC}/coregarage.cpp \
${WRKSRC}/coregarage.h \
${WRKSRC}/org.cubocore.CoreGarage.desktop \
${WRKSRC}/settings.cpp
${WRKSRC}/src/coregarage.cpp \
${WRKSRC}/src/settings.cpp \
${WRKSRC}/src/coregarage.h \
${WRKSRC}/cc.cubocore.CoreGarage.desktop
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1730204804
SHA256 (CuboCore-coregarage-c03fd7d1bd37d4a11017cf242c55c66b157033fa_GL0.tar.gz) = bfdf824302448466df9de5ded410378db2cb21e0f1957a5ce03522e8ac6cd90a
SIZE (CuboCore-coregarage-c03fd7d1bd37d4a11017cf242c55c66b157033fa_GL0.tar.gz) = 102326
TIMESTAMP = 1757764557
SHA256 (coregarage-v5.0.0.tar.bz2) = eb047b3f0b2627c9a7e479625c66b30153254dc63b931eee8bc039ca054d1867
SIZE (coregarage-v5.0.0.tar.bz2) = 96707

View File

@ -1,9 +1,9 @@
--- settings.cpp.orig 2023-08-27 20:32:18 UTC
+++ settings.cpp
--- src/settings.cpp.orig 2025-09-13 11:52:38 UTC
+++ src/settings.cpp
@@ -177,9 +177,9 @@ void settings::setDefaultSettings(QSettings& settings)
// Add system font to CorePad, CoreTerminal
QFont monoFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
if ( not monoFont.family().count() ) {
if ( not monoFont.family().length() ) {
- monoFont = QFont("monospace", 9);}
+ monoFont = QFont("monospace", 12);}
if (monoFont.styleHint() != QFont::Monospace) {