aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorNicola Vitale <nivit@FreeBSD.org>2021-03-10 14:21:22 +0000
committerNicola Vitale <nivit@FreeBSD.org>2021-03-10 14:21:22 +0000
commitbd15dc351c7ed2a19c26a3b423514ab01f9730a5 (patch)
tree5a86b32e7f531338e8538fe5cfba0118e46bd68c /deskutils
parent37558e64ae031fc00b3a60f521dbc57b26878aa2 (diff)
downloadports-bd15dc351c7ed2a19c26a3b423514ab01f9730a5.tar.gz
ports-bd15dc351c7ed2a19c26a3b423514ab01f9730a5.zip
- Update to 0.9.0
- Fix path to executable program in dbus service, which prevented from starting flameshot via a subcommand such as gui (see PR https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253276 ) - Update WWW address in pkg-descr - Remove files/patch-data_dbus_org.flameshot.Flameshot.service.in Changes: https://github.com/flameshot-org/flameshot/releases/tag/v0.9.0
Notes
Notes: svn path=/head/; revision=568004
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/flameshot/Makefile8
-rw-r--r--deskutils/flameshot/distinfo6
-rw-r--r--deskutils/flameshot/files/patch-data_dbus_org.flameshot.Flameshot.service.in7
-rw-r--r--deskutils/flameshot/pkg-descr2
-rw-r--r--deskutils/flameshot/pkg-plist10
5 files changed, 17 insertions, 16 deletions
diff --git a/deskutils/flameshot/Makefile b/deskutils/flameshot/Makefile
index 5f53b86498f3..3dd457603023 100644
--- a/deskutils/flameshot/Makefile
+++ b/deskutils/flameshot/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= flameshot
-PORTVERSION= 0.8.3
+PORTVERSION= 0.9.0
#PORTREVISION= 0
DISTVERSIONPREFIX= v
CATEGORIES= deskutils
@@ -17,11 +17,15 @@ USES= cmake compiler:c++11-lang gl qmake qt:5
CMAKE_INSTALL_PREFIX= ${STAGEDIR}/${PREFIX}
-GH_ACCOUNT= lupoDharkael
+GH_ACCOUNT= flameshot-org
USE_GITHUB= yes
USE_GL= gl
USE_QT= core dbus gui linguist network svg widgets \
buildtools_build
+post-patch:
+ @${REINPLACE_CMD} -e 's,$${CMAKE_INSTALL_FULL_BINDIR},${LOCALBASE}/bin,1' \
+ ${WRKSRC}/data/dbus/org.flameshot.Flameshot.service.in
+
.include <bsd.port.mk>
diff --git a/deskutils/flameshot/distinfo b/deskutils/flameshot/distinfo
index c91756e4b469..981f38b69e67 100644
--- a/deskutils/flameshot/distinfo
+++ b/deskutils/flameshot/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1601370363
-SHA256 (lupoDharkael-flameshot-v0.8.3_GH0.tar.gz) = 73b0e52d389518b58e4488931e14ef40d611a2bd8661c06e187c211fb947fd05
-SIZE (lupoDharkael-flameshot-v0.8.3_GH0.tar.gz) = 2216752
+TIMESTAMP = 1615299396
+SHA256 (flameshot-org-flameshot-v0.9.0_GH0.tar.gz) = 67e0b578ef8a68228e758cb59395bb7404b5c176e9dbc3ca2d83a63f154a6f22
+SIZE (flameshot-org-flameshot-v0.9.0_GH0.tar.gz) = 7659641
diff --git a/deskutils/flameshot/files/patch-data_dbus_org.flameshot.Flameshot.service.in b/deskutils/flameshot/files/patch-data_dbus_org.flameshot.Flameshot.service.in
deleted file mode 100644
index 19dd4866b96a..000000000000
--- a/deskutils/flameshot/files/patch-data_dbus_org.flameshot.Flameshot.service.in
+++ /dev/null
@@ -1,7 +0,0 @@
---- data/dbus/org.flameshot.Flameshot.service.in.orig 2020-09-19 18:49:02 UTC
-+++ data/dbus/org.flameshot.Flameshot.service.in
-@@ -1,3 +1,3 @@
- [D-BUS Service]
- Name=org.flameshot.Flameshot
--Exec=${CMAKE_INSTALL_FULL_BINDIR}/flameshot
-+Exec=${PREFIX}/flameshot
diff --git a/deskutils/flameshot/pkg-descr b/deskutils/flameshot/pkg-descr
index 63bd7dff72fc..b5974a8a5b67 100644
--- a/deskutils/flameshot/pkg-descr
+++ b/deskutils/flameshot/pkg-descr
@@ -8,4 +8,4 @@ Features:
* DBus interface.
* Upload to Imgur.
-WWW: https://github.com/lupoDharkael/flameshot
+WWW: https://flameshot.org/
diff --git a/deskutils/flameshot/pkg-plist b/deskutils/flameshot/pkg-plist
index c01c12260b05..cda27bae2199 100644
--- a/deskutils/flameshot/pkg-plist
+++ b/deskutils/flameshot/pkg-plist
@@ -1,5 +1,5 @@
bin/flameshot
-share/applications/flameshot.desktop
+share/applications/org.flameshot.Flameshot.desktop
share/bash-completion/completions/flameshot
share/dbus-1/interfaces/org.flameshot.Flameshot.xml
share/dbus-1/services/org.flameshot.Flameshot.service
@@ -7,7 +7,7 @@ share/dbus-1/services/org.flameshot.Flameshot.service
%%DATADIR%%/translations/Internationalization_cs.qm
%%DATADIR%%/translations/Internationalization_de_DE.qm
%%DATADIR%%/translations/Internationalization_es.qm
-%%DATADIR%%/translations/Internationalization_eu_ES.qm
+%%DATADIR%%/translations/Internationalization_eu.qm
%%DATADIR%%/translations/Internationalization_fr.qm
%%DATADIR%%/translations/Internationalization_hu.qm
%%DATADIR%%/translations/Internationalization_it_IT.qm
@@ -25,9 +25,13 @@ share/dbus-1/services/org.flameshot.Flameshot.service
%%DATADIR%%/translations/Internationalization_tr.qm
%%DATADIR%%/translations/Internationalization_uk.qm
%%DATADIR%%/translations/Internationalization_zh_CN.qm
+%%DATADIR%%/translations/Internationalization_zh_HK.qm
%%DATADIR%%/translations/Internationalization_zh_TW.qm
share/icons/hicolor/128x128/apps/flameshot.png
+share/icons/hicolor/128x128/apps/org.flameshot.Flameshot.png
share/icons/hicolor/48x48/apps/flameshot.png
+share/icons/hicolor/48x48/apps/org.flameshot.Flameshot.png
share/icons/hicolor/scalable/apps/flameshot.svg
-share/metainfo/flameshot.metainfo.xml
+share/icons/hicolor/scalable/apps/org.flameshot.Flameshot.svg
+share/metainfo/org.flameshot.Flameshot.metainfo.xml
share/zsh/site-functions/_flameshot