deskutils/kodaskanna: new port, barcode and qr-code scanner

Announcement is here
	https://mail.kde.org/pipermail/kde-announce-apps/2022-January/005686.html
This commit is contained in:
Adriaan de Groot 2022-01-27 15:41:26 +01:00
parent 33b83935a4
commit 7aaabb9df5
5 changed files with 53 additions and 0 deletions

View File

@ -140,6 +140,7 @@
SUBDIR += kmail
SUBDIR += kmail-account-wizard
SUBDIR += knotes
SUBDIR += kodaskanna
SUBDIR += kongress
SUBDIR += kontact
SUBDIR += korganizer

View File

@ -0,0 +1,25 @@
PORTNAME= kodaskanna
DISTVERSION= 0.1.0
CATEGORIES= deskutils
MASTER_SITES= KDE/unstable/${PORTNAME}/${DISTVERSION}/src
MAINTAINER= adridg@FreeBSD.org
COMMENT= Barcode and QR-core scanner
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSES/LGPL-2.1-or-later.txt
LIB_DEPENDS= libZXing.so.1:textproc/zxing-cpp
USES= cmake compiler:c++17-lang gl kde:5 pkgconfig qt:5 tar:xz xorg
USE_GL= gl
USE_XORG= x11
USE_QT= concurrent core dbus declarative gui \
multimedia network quickcontrols quickcontrols2 \
widgets xml \
buildtools_build qmake_build
USE_KDE= auth codecs config configwidgets coreaddons i18n \
kio purpose service widgetsaddons windowsystem \
ecm_build
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1643278462
SHA256 (kodaskanna-0.1.0.tar.xz) = 2860cfdae922a29749421f3b4e3281ef88fc5713002345bc725082fb47cd627f
SIZE (kodaskanna-0.1.0.tar.xz) = 40656

View File

@ -0,0 +1,11 @@
Kodaskanna is a utility for reading data from 1D/2D codes (e.g. QR
codes or bar codes) and making the data available for further processing.
This initial 0.1.0 release supports scanning codes in static images. The image
input files (can be also non-local ones) can be either passed as argument on
the command line or manually selected via a file picker, pasted from the
clipboard or dropped by DnD. The extracted content can then be exported to the
clipboard or as a file. The version also provides integration via the Dolphin
context menu for image files and by a KDE Purpose "Export" plugin.
WWW: https://invent.kde.org/graphics/kodaskanna

View File

@ -0,0 +1,13 @@
bin/kodaskanna
%%QT_PLUGINDIR%%/kf5/purpose/kodaskannaplugin.so
share/applications/org.kde.kodaskanna.desktop
share/icons/hicolor/48x48/apps/kodaskanna.svg
share/kservices5/ServiceMenus/kodaskanna_scan_image.desktop
share/locale/ca/LC_MESSAGES/kodaskanna.mo
share/locale/es/LC_MESSAGES/kodaskanna.mo
share/locale/nl/LC_MESSAGES/kodaskanna.mo
share/locale/sk/LC_MESSAGES/kodaskanna.mo
share/locale/sl/LC_MESSAGES/kodaskanna.mo
share/locale/sv/LC_MESSAGES/kodaskanna.mo
share/locale/uk/LC_MESSAGES/kodaskanna.mo
share/metainfo/org.kde.kodaskanna.appdata.xml