pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

flameshot: Qt-based interactive screenshot & snipping tool



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Wed Apr 5 15:20:39 2023 +0200
Changeset:	976561a41edabbddaa364abc348688d2d3692b74

Modified Files:
	Makefile
Added Files:
	flameshot/DESCR
	flameshot/Makefile
	flameshot/PLIST
	flameshot/TODO
	flameshot/distinfo

Log Message:
flameshot: Qt-based interactive screenshot & snipping tool

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=976561a41edabbddaa364abc348688d2d3692b74

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile           |  1 +
 flameshot/DESCR    |  7 +++++++
 flameshot/Makefile | 30 ++++++++++++++++++++++++++++++
 flameshot/PLIST    | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 flameshot/TODO     |  1 +
 flameshot/distinfo |  5 +++++
 6 files changed, 94 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index ae844ce08f..ac0949b1fc 100644
--- a/Makefile
+++ b/Makefile
@@ -898,6 +898,7 @@ SUBDIR+=	firefox69-2019Q4
 SUBDIR+=	firehose
 SUBDIR+=	flag
 SUBDIR+=	flam3-svn
+SUBDIR+=	flameshot
 SUBDIR+=	flang
 SUBDIR+=	flang-git
 SUBDIR+=	flasm
diff --git a/flameshot/DESCR b/flameshot/DESCR
new file mode 100644
index 0000000000..47653d4720
--- /dev/null
+++ b/flameshot/DESCR
@@ -0,0 +1,7 @@
+Features:
+- Snipping tool
+- Customizable appearance
+- Easy to use
+- In-app screenshot editing
+- DBus interface
+- Upload to Imgur
diff --git a/flameshot/Makefile b/flameshot/Makefile
new file mode 100644
index 0000000000..4c27e854d3
--- /dev/null
+++ b/flameshot/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+DISTNAME=	flameshot-12.1.0
+CATEGORIES=	graphics
+MASTER_SITES=	${MASTER_SITE_GITHUB:=flameshot-org/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://flameshot.org/
+COMMENT=	Powerful yet simple to use screenshot software
+LICENSE=	gnu-gpl-v3
+
+ICON_THEMES=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c++
+
+PKGCONFIG_OVERRIDE+=	external/Qt-Color-Widgets/QtColorWidgets.pc.in
+
+# Unclear why this subsitution doesn't work.
+# It makes the manpage not get installed at all.
+#SUBST_CLASSES+=	mandir
+#SUBST_STAGE.mandir=	pre-configure
+#SUBST_FILES.mandir=	src/CMakeLists.txt
+#SUBST_SED.mandir+=	-e 's,share/man,${PKGMANDIR}/man,g'
+
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/flameshot/PLIST b/flameshot/PLIST
new file mode 100644
index 0000000000..47392cdc99
--- /dev/null
+++ b/flameshot/PLIST
@@ -0,0 +1,50 @@
+@comment $NetBSD$
+bin/flameshot
+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
+share/fish/vendor_completions.d/flameshot.fish
+share/flameshot/translations/Internationalization_bg.qm
+share/flameshot/translations/Internationalization_ca.qm
+share/flameshot/translations/Internationalization_cs.qm
+share/flameshot/translations/Internationalization_de_DE.qm
+share/flameshot/translations/Internationalization_el.qm
+share/flameshot/translations/Internationalization_es.qm
+share/flameshot/translations/Internationalization_eu.qm
+share/flameshot/translations/Internationalization_fa.qm
+share/flameshot/translations/Internationalization_fi.qm
+share/flameshot/translations/Internationalization_fr.qm
+share/flameshot/translations/Internationalization_gl.qm
+share/flameshot/translations/Internationalization_grc.qm
+share/flameshot/translations/Internationalization_he.qm
+share/flameshot/translations/Internationalization_hu.qm
+share/flameshot/translations/Internationalization_id.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_nb_NO.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_vi.qm
+share/flameshot/translations/Internationalization_zh_CN.qm
+share/flameshot/translations/Internationalization_zh_HK.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/man/man1/flameshot.1
+share/metainfo/org.flameshot.Flameshot.metainfo.xml
+share/zsh/site-functions/_flameshot
diff --git a/flameshot/TODO b/flameshot/TODO
new file mode 100644
index 0000000000..573ec1171e
--- /dev/null
+++ b/flameshot/TODO
@@ -0,0 +1 @@
+Figure out why PKGMANDIR doesn't work.
diff --git a/flameshot/distinfo b/flameshot/distinfo
new file mode 100644
index 0000000000..e732268ff0
--- /dev/null
+++ b/flameshot/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (flameshot-12.1.0.tar.gz) = 220b50c2033bd4b8532a10e33ceb0059f1a439daccc8bb3f8c666e45ffd8ff50
+SHA512 (flameshot-12.1.0.tar.gz) = 159bf3a8ff406b3881dcc77fc48d9e7cc0d595bd47ee2363396d7efc95f69160cf25ccf99cd1b2c2b527baeadf91c209784a7bca23ed5f17caacc385e161c83c
+Size (flameshot-12.1.0.tar.gz) = 15618560 bytes


Home | Main Index | Thread Index | Old Index