On Tue Jan 12, 2021 at 06:35:52PM +0100, Denis Fondras wrote: > Nice tool! Please find below a tweaked version with following changes:
- CCache handling, it's enabled by default. - sort PLIST Tested with upcoming Qt updates. OK rsadowski@ Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/flameshot/Makefile,v retrieving revision 1.2 diff -u -p -u -p -r1.2 Makefile --- Makefile 12 Jul 2019 20:46:58 -0000 1.2 +++ Makefile 12 Jan 2021 19:07:25 -0000 @@ -3,11 +3,11 @@ COMMENT = powerful yet simple to use screenshot software CATEGORIES = graphics x11 -GH_ACCOUNT = lupoDharkael +GH_ACCOUNT = flameshot-org GH_PROJECT = flameshot -GH_TAGNAME = v0.6.0 +GH_TAGNAME = v0.8.5 -HOMEPAGE = https://flameshot.js.org/ +HOMEPAGE = https://flameshot.org/ MAINTAINER = Denis Fondras <[email protected]> # GPLv3+ @@ -16,7 +16,7 @@ PERMIT_PACKAGE = Yes WANTLIB += ${COMPILER_LIBCXX} GL Qt5Core Qt5DBus Qt5Gui Qt5Network WANTLIB += Qt5Svg Qt5Widgets c m -MODULES = devel/qmake \ +MODULES = devel/cmake \ x11/qt5 LIB_DEPENDS = x11/qt5/qtsvg @@ -27,3 +27,7 @@ RUN_DEPENDS = devel/desktop-file-utils \ NO_TEST = Yes .include <bsd.port.mk> + +.if ${USE_CCACHE:L} != "yes" +CONFIGURE_ARGS += -DENABLE_CACHE=OFF +.endif Index: distinfo =================================================================== RCS file: /cvs/ports/graphics/flameshot/distinfo,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 distinfo --- distinfo 5 May 2019 18:52:24 -0000 1.1.1.1 +++ distinfo 12 Jan 2021 19:07:25 -0000 @@ -1,2 +1,2 @@ -SHA256 (flameshot-0.6.0.tar.gz) = YbOhlp1uF9gNXZCj/OU8pa54+iH5pF5aGbCzLqgVpYk= -SIZE (flameshot-0.6.0.tar.gz) = 641561 +SHA256 (flameshot-0.8.5.tar.gz) = +CDB+M1GSYjPz8GvH7zqKj0OXE+zKszD9U2TqLXh6JA= +SIZE (flameshot-0.8.5.tar.gz) = 2335439 Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/graphics/flameshot/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -p -u -p -r1.1.1.1 PLIST --- pkg/PLIST 5 May 2019 18:52:24 -0000 1.1.1.1 +++ pkg/PLIST 12 Jan 2021 19:07:25 -0000 @@ -1,24 +1,44 @@ @comment $OpenBSD: PLIST,v 1.1.1.1 2019/05/05 18:52:24 denis Exp $ @bin bin/flameshot -share/applications/flameshot.desktop +share/applications/org.flameshot.Flameshot.desktop share/bash-completion/completions/flameshot -share/dbus-1/interfaces/org.dharkael.Flameshot.xml -share/dbus-1/services/org.dharkael.Flameshot.service +share/dbus-1/interfaces/org.flameshot.Flameshot.xml +share/dbus-1/services/org.flameshot.Flameshot.service share/flameshot/ share/flameshot/translations/ share/flameshot/translations/Internationalization_ca.qm +share/flameshot/translations/Internationalization_cs.qm +share/flameshot/translations/Internationalization_de_DE.qm share/flameshot/translations/Internationalization_es.qm +share/flameshot/translations/Internationalization_eu.qm share/flameshot/translations/Internationalization_fr.qm +share/flameshot/translations/Internationalization_hu.qm +share/flameshot/translations/Internationalization_it_IT.qm +share/flameshot/translations/Internationalization_ja.qm share/flameshot/translations/Internationalization_ka.qm +share/flameshot/translations/Internationalization_ko.qm +share/flameshot/translations/Internationalization_nl.qm +share/flameshot/translations/Internationalization_nl_NL.qm share/flameshot/translations/Internationalization_pl.qm +share/flameshot/translations/Internationalization_pt_BR.qm share/flameshot/translations/Internationalization_ru.qm +share/flameshot/translations/Internationalization_sk.qm +share/flameshot/translations/Internationalization_sr_SP.qm +share/flameshot/translations/Internationalization_sv_SE.qm share/flameshot/translations/Internationalization_tr.qm +share/flameshot/translations/Internationalization_uk.qm share/flameshot/translations/Internationalization_zh_CN.qm share/flameshot/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/icons/hicolor/scalable/apps/org.flameshot.Flameshot.svg share/metainfo/ -share/metainfo/flameshot.appdata.xml +share/metainfo/org.flameshot.Flameshot.metainfo.xml +share/zsh/ +share/zsh/site-functions/ +share/zsh/site-functions/_flameshot @tag gtk-update-icon-cache %D/share/icons/hicolor @tag update-desktop-database
