aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2023-05-14 08:07:09 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2023-05-14 08:08:53 +0000
commita3066f218c017b5e7437de5f8838eb2e32ee5e6b (patch)
tree9fd53dacc7a5242d2e17eccfabd721b7adedbdca
parenta3beea4781f257dbb2a4e6ca1950c64f82f2d65b (diff)
downloadports-a3066f218c017b5e7437de5f8838eb2e32ee5e6b.tar.gz
ports-a3066f218c017b5e7437de5f8838eb2e32ee5e6b.zip
graphics/phototonic: Update to 2.1-132 (latest commit)
-rw-r--r--graphics/phototonic/Makefile6
-rw-r--r--graphics/phototonic/distinfo6
-rw-r--r--graphics/phototonic/files/patch-phototonic.pro30
-rw-r--r--graphics/phototonic/pkg-plist1
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