git: 375ae7531a8a - main - graphics/phototonic: Update to 2.95

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Mon, 27 Jan 2025 23:27:10 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=375ae7531a8ae023a12905e22e6b49be69b24c74

commit 375ae7531a8ae023a12905e22e6b49be69b24c74
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2025-01-27 23:20:19 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2025-01-27 23:26:22 +0000

    graphics/phototonic: Update to 2.95
    
    - Undeprecate, change to a fork
    - Switch to qt6
    
    ChangeLog: https://github.com/luebking/phototonic#updates
---
 graphics/phototonic/Makefile                   | 19 ++++++-------------
 graphics/phototonic/distinfo                   |  6 +++---
 graphics/phototonic/files/patch-phototonic.pro | 10 +++++-----
 3 files changed, 14 insertions(+), 21 deletions(-)

diff --git a/graphics/phototonic/Makefile b/graphics/phototonic/Makefile
index f81ec7c52d3f..58f956bbc334 100644
--- a/graphics/phototonic/Makefile
+++ b/graphics/phototonic/Makefile
@@ -1,29 +1,22 @@
 PORTNAME=	phototonic
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1-136
-DISTVERSIONSUFFIX=	-g12552ec
-PORTREVISION=	1
+DISTVERSION=	2.95
 CATEGORIES=	graphics
 
 MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Image viewer and organizer
-WWW=		https://github.com/oferkv/phototonic
+WWW=		https://github.com/luebking/phototonic
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-DEPRECATED=	Abandonware, upstream repo archived Oct 4, 2023. Consider migrating to graphics/geeqie
-EXPIRATION_DATE=2025-02-28
-
 LIB_DEPENDS=	libexiv2.so:graphics/exiv2
 
-USES=		compiler:c++11-lang desktop-file-utils gettext gl qmake qt:5
+USES=		desktop-file-utils gl qmake qt:6
 USE_GITHUB=	yes
-GH_ACCOUNT=	oferkv
-USE_GL=		gl
-USE_QT=		core gui imageformats svg widgets buildtools:build
-
-PORTSCOUT=	skipv:list
+GH_ACCOUNT=	luebking
+USE_GL=		opengl
+USE_QT=		base
 
 post-patch:
 	${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
diff --git a/graphics/phototonic/distinfo b/graphics/phototonic/distinfo
index 16a31103c97c..99d2525b4cac 100644
--- a/graphics/phototonic/distinfo
+++ b/graphics/phototonic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685608852
-SHA256 (oferkv-phototonic-v2.1-136-g12552ec_GH0.tar.gz) = f08efc0db43270498ef864ed7d533d7650a21471b2553538f0cff380a02fa207
-SIZE (oferkv-phototonic-v2.1-136-g12552ec_GH0.tar.gz) = 563032
+TIMESTAMP = 1737993490
+SHA256 (luebking-phototonic-v2.95_GH0.tar.gz) = 5a20130f418366ad24759912979219888d442d61daff1f7e59aeb506d819c98e
+SIZE (luebking-phototonic-v2.95_GH0.tar.gz) = 722791
diff --git a/graphics/phototonic/files/patch-phototonic.pro b/graphics/phototonic/files/patch-phototonic.pro
index e22cdd510f88..a3d7ecd02ca6 100644
--- a/graphics/phototonic/files/patch-phototonic.pro
+++ b/graphics/phototonic/files/patch-phototonic.pro
@@ -1,6 +1,6 @@
---- phototonic.pro.orig	2023-05-14 06:33:51 UTC
+--- phototonic.pro.orig	2025-01-27 11:05:39 UTC
 +++ phototonic.pro
-@@ -19,7 +19,7 @@
+@@ -19,7 +19,7 @@ INCLUDEPATH += .
  TEMPLATE = app
  TARGET = phototonic
  INCLUDEPATH += .
@@ -9,16 +9,16 @@
  win32-g++ {
  MINGWEXIVPATH = $$PWD/mingw
  
-@@ -30,7 +30,7 @@ DEPENDPATH += $$MINGWEXIVPATH/include
+@@ -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
+ QT += widgets openglwidgets
  QMAKE_CXXFLAGS += $$(CXXFLAGS)
  QMAKE_CFLAGS += $$(CFLAGS)
-@@ -57,22 +57,22 @@ FORMS += RangeInputDialog.ui
+@@ -57,22 +57,22 @@ RESOURCES += phototonic.qrc
  
  RESOURCES += phototonic.qrc