diff --git a/graphics/phototonic/Makefile b/graphics/phototonic/Makefile index aaaa1bf394c7..dfe3ae910c20 100644 --- a/graphics/phototonic/Makefile +++ b/graphics/phototonic/Makefile @@ -1,25 +1,25 @@ PORTNAME= phototonic DISTVERSIONPREFIX= v -DISTVERSION= 3.0.0 +DISTVERSION= 3.0.95 CATEGORIES= graphics MAINTAINER= eduardo@FreeBSD.org COMMENT= Image viewer and organizer WWW= https://github.com/luebking/phototonic LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libexiv2.so:graphics/exiv2 USES= desktop-file-utils gl qmake qt:6 USE_GITHUB= yes GH_ACCOUNT= luebking USE_GL= opengl USE_QT= base post-patch: ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/phototonic.pro .include diff --git a/graphics/phototonic/distinfo b/graphics/phototonic/distinfo index 7d4b95c5d8b7..a23e534cd6ec 100644 --- a/graphics/phototonic/distinfo +++ b/graphics/phototonic/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1745170300 -SHA256 (luebking-phototonic-v3.0.0_GH0.tar.gz) = e7015bbfd4e0d4f152f503e2e1ee7b698f048b5ad77e185716eb8da6d65fff91 -SIZE (luebking-phototonic-v3.0.0_GH0.tar.gz) = 923097 +TIMESTAMP = 1757619617 +SHA256 (luebking-phototonic-v3.0.95_GH0.tar.gz) = e6f71e2ba16596000828219931bb3ba6668ca70096191eae2c5792cdddbdb7ea +SIZE (luebking-phototonic-v3.0.95_GH0.tar.gz) = 1004315 diff --git a/graphics/phototonic/files/patch-phototonic.pro b/graphics/phototonic/files/patch-phototonic.pro index a3d7ecd02ca6..ff9bab585ddc 100644 --- a/graphics/phototonic/files/patch-phototonic.pro +++ b/graphics/phototonic/files/patch-phototonic.pro @@ -1,49 +1,53 @@ ---- phototonic.pro.orig 2025-01-27 11:05:39 UTC +--- phototonic.pro.orig 2025-09-11 08:50:50 UTC +++ phototonic.pro @@ -19,7 +19,7 @@ INCLUDEPATH += . TEMPLATE = app TARGET = phototonic INCLUDEPATH += . -INCLUDEPATH += /usr/local/include +INCLUDEPATH += %%PREFIX%%/include win32-g++ { MINGWEXIVPATH = $$PWD/mingw @@ -30,7 +30,7 @@ PRE_TARGETDEPS += $$MINGWEXIVPATH/lib/libexiv2.a $$MIN PRE_TARGETDEPS += $$MINGWEXIVPATH/lib/libexiv2.a $$MINGWEXIVPATH/lib/libexpat.a $$MINGWEXIVPATH/lib/libz.a } -else: LIBS += -L/usr/local/lib -lexiv2 +else: LIBS += -L%%PREFIX%%/lib -lexiv2 QT += widgets openglwidgets QMAKE_CXXFLAGS += $$(CXXFLAGS) QMAKE_CFLAGS += $$(CFLAGS) -@@ -57,22 +57,22 @@ RESOURCES += phototonic.qrc +@@ -53,25 +53,25 @@ RESOURCES += phototonic.qrc RESOURCES += phototonic.qrc -target.path = /usr/bin/ +target.path = %%PREFIX%%/bin/ icon.files = images/phototonic.png -icon.path = /usr/share/icons/hicolor/48x48/apps +icon.path = %%PREFIX%%/share/icons/hicolor/48x48/apps icon16.files = images/icon16/phototonic.png -icon16.path = /usr/share/icons/hicolor/16x16/apps +icon16.path = %%PREFIX%%/share/icons/hicolor/16x16/apps iconPixmaps.files = images/icon16/phototonic.png -iconPixmaps.path = /usr/share/pixmaps +iconPixmaps.path = %%PREFIX%%/share/pixmaps desktop.files = phototonic.desktop -desktop.path = /usr/share/applications +desktop.path = %%PREFIX%%/share/applications metainfo.files = phototonic.appdata.xml -metainfo.path = /usr/share/metainfo +metainfo.path = %%PREFIX%%/share/metainfo - INSTALLS += target icon icon16 iconPixmaps desktop metainfo + translation.files = translations/*.qm +-translation.path = /usr/share/qt6/translations ++translation.path = %%PREFIX%%/share/qt6/translations + + INSTALLS += target icon icon16 iconPixmaps desktop metainfo translation diff --git a/graphics/phototonic/pkg-plist b/graphics/phototonic/pkg-plist index 88343877d869..bad74fa53228 100644 --- a/graphics/phototonic/pkg-plist +++ b/graphics/phototonic/pkg-plist @@ -1,6 +1,26 @@ bin/phototonic share/applications/phototonic.desktop share/icons/hicolor/16x16/apps/phototonic.png share/icons/hicolor/48x48/apps/phototonic.png share/metainfo/phototonic.appdata.xml share/pixmaps/phototonic.png +%%QT_L10NDIR%%/phototonic_bs.qm +%%QT_L10NDIR%%/phototonic_cs.qm +%%QT_L10NDIR%%/phototonic_de.qm +%%QT_L10NDIR%%/phototonic_en.qm +%%QT_L10NDIR%%/phototonic_es.qm +%%QT_L10NDIR%%/phototonic_et.qm +%%QT_L10NDIR%%/phototonic_fi.qm +%%QT_L10NDIR%%/phototonic_fr.qm +%%QT_L10NDIR%%/phototonic_hr.qm +%%QT_L10NDIR%%/phototonic_it.qm +%%QT_L10NDIR%%/phototonic_ka.qm +%%QT_L10NDIR%%/phototonic_nl.qm +%%QT_L10NDIR%%/phototonic_pl.qm +%%QT_L10NDIR%%/phototonic_pt.qm +%%QT_L10NDIR%%/phototonic_ru.qm +%%QT_L10NDIR%%/phototonic_sr.qm +%%QT_L10NDIR%%/phototonic_sv.qm +%%QT_L10NDIR%%/phototonic_uk.qm +%%QT_L10NDIR%%/phototonic_zh.qm +%%QT_L10NDIR%%/phototonic_zh_TW.qm