pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/flameshot
Module Name: pkgsrc
Committed By: tnn
Date: Mon May 5 08:59:03 UTC 2025
Added Files:
pkgsrc/graphics/flameshot: DESCR Makefile PLIST distinfo
pkgsrc/graphics/flameshot/patches: patch-src_CMakeLists.txt
Log Message:
graphics/flameshot: import flameshot-12.1.0
Flameshot is a free and open-source, cross-platform tool to take screenshots
with many built-in features to save you time. Features:
- Snipping tool
- Highly customizable
- Easy to use
- In-app screenshot editing
- DBus interface
- Upload to online platforms
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/flameshot/DESCR \
pkgsrc/graphics/flameshot/Makefile pkgsrc/graphics/flameshot/PLIST \
pkgsrc/graphics/flameshot/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/flameshot/patches/patch-src_CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/graphics/flameshot/DESCR
diff -u /dev/null pkgsrc/graphics/flameshot/DESCR:1.1
--- /dev/null Mon May 5 08:59:03 2025
+++ pkgsrc/graphics/flameshot/DESCR Mon May 5 08:59:03 2025
@@ -0,0 +1,8 @@
+Flameshot is a free and open-source, cross-platform tool to take screenshots
+with many built-in features to save you time. Features:
+- Snipping tool
+- Highly customizable
+- Easy to use
+- In-app screenshot editing
+- DBus interface
+- Upload to online platforms
Index: pkgsrc/graphics/flameshot/Makefile
diff -u /dev/null pkgsrc/graphics/flameshot/Makefile:1.1
--- /dev/null Mon May 5 08:59:03 2025
+++ pkgsrc/graphics/flameshot/Makefile Mon May 5 08:59:03 2025
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2025/05/05 08:59:03 tnn Exp $
+
+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
+
+SUBST_CLASSES+= mandir
+SUBST_STAGE.mandir= pre-configure
+SUBST_FILES.mandir= src/CMakeLists.txt
+SUBST_VARS.mandir= PKGMANDIR
+
+.include "../../devel/cmake/build.mk"
+.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qtsvg/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt5-qttools= build
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/flameshot/PLIST
diff -u /dev/null pkgsrc/graphics/flameshot/PLIST:1.1
--- /dev/null Mon May 5 08:59:03 2025
+++ pkgsrc/graphics/flameshot/PLIST Mon May 5 08:59:03 2025
@@ -0,0 +1,50 @@
+@comment $NetBSD: PLIST,v 1.1 2025/05/05 08:59:03 tnn Exp $
+bin/flameshot
+man/man1/flameshot.1
+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/metainfo/org.flameshot.Flameshot.metainfo.xml
+share/zsh/site-functions/_flameshot
Index: pkgsrc/graphics/flameshot/distinfo
diff -u /dev/null pkgsrc/graphics/flameshot/distinfo:1.1
--- /dev/null Mon May 5 08:59:03 2025
+++ pkgsrc/graphics/flameshot/distinfo Mon May 5 08:59:03 2025
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2025/05/05 08:59:03 tnn Exp $
+
+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
+SHA1 (patch-src_CMakeLists.txt) = 7e84235f6a761c4951a3ca436920be5d10f6d128
Index: pkgsrc/graphics/flameshot/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/flameshot/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null Mon May 5 08:59:03 2025
+++ pkgsrc/graphics/flameshot/patches/patch-src_CMakeLists.txt Mon May 5 08:59:03 2025
@@ -0,0 +1,23 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2025/05/05 08:59:03 tnn Exp $
+
+Honour PKGMANDIR.
+
+--- src/CMakeLists.txt.orig 2022-07-03 13:42:21.000000000 +0000
++++ src/CMakeLists.txt
+@@ -325,7 +325,7 @@ if (UNIX)
+
+ # Install man pages
+ configure_file(${CMAKE_SOURCE_DIR}/data/man/man1/flameshot.1
+- ${CMAKE_CURRENT_BINARY_DIR}/share/man/man1/flameshot.1 COPYONLY)
++ ${CMAKE_CURRENT_BINARY_DIR}/@PKGMANDIR@/man1/flameshot.1 COPYONLY)
+
+ # Install Icons
+ configure_file(${CMAKE_SOURCE_DIR}/data/img/hicolor/48x48/apps/org.flameshot.Flameshot.png
+@@ -349,6 +349,7 @@ if (UNIX)
+
+ # Install assets
+ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/share/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR})
++ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/@PKGMANDIR@/ DESTINATION ${CMAKE_INSTALL_MANDIR})
+
+ # Install Translations
+ install(FILES ${QM_FILES} DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/flameshot/translations)
Home |
Main Index |
Thread Index |
Old Index