git: a3066f218c01 - main - graphics/phototonic: Update to 2.1-132 (latest commit)

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sun, 14 May 2023 08:09:05 UTC
The branch main has been updated by eduardo:

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

commit a3066f218c017b5e7437de5f8838eb2e32ee5e6b
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-05-14 08:07:09 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-05-14 08:08:53 +0000

    graphics/phototonic: Update to 2.1-132 (latest commit)
    
    - Take maintainership
    
    ChangeLog:
    https://github.com/oferkv/phototonic/compare/v2.1...v2.1-132-gfce9bfb
---
 graphics/phototonic/Makefile                   |  6 +++---
 graphics/phototonic/distinfo                   |  6 +++---
 graphics/phototonic/files/patch-phototonic.pro | 30 ++++++++++++++++++++++----
 graphics/phototonic/pkg-plist                  |  1 +
 4 files changed, 33 insertions(+), 10 deletions(-)

diff --git a/graphics/phototonic/Makefile b/graphics/phototonic/Makefile
index c6b50a3d3510..c6d1928e6a80 100644
--- a/graphics/phototonic/Makefile
+++ b/graphics/phototonic/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	phototonic
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1
-PORTREVISION=	1
+DISTVERSION=	2.1-132
+DISTVERSIONSUFFIX=	-gfce9bfb
 CATEGORIES=	graphics
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 COMMENT=	Image viewer and organizer
 WWW=		http://oferkv.github.io/phototonic/
 
diff --git a/graphics/phototonic/distinfo b/graphics/phototonic/distinfo
index e9e97b55a59f..04c59a7cbdb8 100644
--- a/graphics/phototonic/distinfo
+++ b/graphics/phototonic/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1610902156
-SHA256 (oferkv-phototonic-v2.1_GH0.tar.gz) = a8b2dbc81750efabb65a4732b1704641afd4a4f772ef9c90817871ca2a52f5ef
-SIZE (oferkv-phototonic-v2.1_GH0.tar.gz) = 488640
+TIMESTAMP = 1684045806
+SHA256 (oferkv-phototonic-v2.1-132-gfce9bfb_GH0.tar.gz) = d8e17a3da42006cc9e55ea330f214ef271b3d0f8ffc250e2bb9cc975984c219f
+SIZE (oferkv-phototonic-v2.1-132-gfce9bfb_GH0.tar.gz) = 562945
diff --git a/graphics/phototonic/files/patch-phototonic.pro b/graphics/phototonic/files/patch-phototonic.pro
index cab972558eb4..e22cdd510f88 100644
--- a/graphics/phototonic/files/patch-phototonic.pro
+++ b/graphics/phototonic/files/patch-phototonic.pro
@@ -1,7 +1,25 @@
---- phototonic.pro.orig	2015-11-08 18:03:52 UTC
+--- phototonic.pro.orig	2023-05-14 06:33:51 UTC
 +++ phototonic.pro
-@@ -17,19 +17,19 @@ SOURCES += dialogs.cpp main.cpp mainwind
- 			mdcache.cpp
+@@ -19,7 +19,7 @@
+ TEMPLATE = app
+ TARGET = phototonic
+ INCLUDEPATH += .
+-INCLUDEPATH += /usr/local/include
++INCLUDEPATH += %%PREFIX%%/include
+ win32-g++ {
+ MINGWEXIVPATH = $$PWD/mingw
+ 
+@@ -30,7 +30,7 @@ DEPENDPATH += $$MINGWEXIVPATH/include
+ 
+ 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
+ QMAKE_CXXFLAGS += $$(CXXFLAGS)
+ QMAKE_CFLAGS += $$(CFLAGS)
+@@ -57,22 +57,22 @@ FORMS += RangeInputDialog.ui
+ 
  RESOURCES += phototonic.qrc
  
 -target.path = /usr/bin/
@@ -23,5 +41,9 @@
 -desktop.path = /usr/share/applications
 +desktop.path = %%PREFIX%%/share/applications
  
- INSTALLS += target icon icon16 iconPixmaps desktop
+ metainfo.files = phototonic.appdata.xml
+-metainfo.path = /usr/share/metainfo
++metainfo.path = %%PREFIX%%/share/metainfo
+ 
+ INSTALLS += target icon icon16 iconPixmaps desktop metainfo
  
diff --git a/graphics/phototonic/pkg-plist b/graphics/phototonic/pkg-plist
index 644036f1d8e3..88343877d869 100644
--- a/graphics/phototonic/pkg-plist
+++ b/graphics/phototonic/pkg-plist
@@ -2,4 +2,5 @@ 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