aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2021-11-04 15:35:13 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2021-11-04 15:43:15 +0000
commit0c8209b96c3ae7931388b4d4e5a53abc0eb1d1bf (patch)
tree8acb419bdfda04df349b0249f70cd0235478b5a2
parent8f43c1a2705b185a717ab1910ead6a6764fae864 (diff)
downloadports-0c8209b96c3ae7931388b4d4e5a53abc0eb1d1bf.tar.gz
ports-0c8209b96c3ae7931388b4d4e5a53abc0eb1d1bf.zip
graphics/skanpage: new port, multi-page scanning application
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/skanpage/Makefile24
-rw-r--r--graphics/skanpage/distinfo3
-rw-r--r--graphics/skanpage/pkg-descr4
-rw-r--r--graphics/skanpage/pkg-plist29
5 files changed, 61 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index 5966bfd83aa7..a7886d974ad1 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1038,6 +1038,7 @@
SUBDIR += simage
SUBDIR += simpleviewer
SUBDIR += skanlite
+ SUBDIR += skanpage
SUBDIR += spectacle
SUBDIR += spirv-tools
SUBDIR += springgraph
diff --git a/graphics/skanpage/Makefile b/graphics/skanpage/Makefile
new file mode 100644
index 000000000000..96462dc12bad
--- /dev/null
+++ b/graphics/skanpage/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= skanpage
+DISTVERSION= 1.0.0
+CATEGORIES= graphics kde
+MASTER_SITES= https://download.kde.org/stable/${PORTNAME}/${DISTVERSION}/
+
+MAINTAINER= adridg@FreeBSD.org
+COMMENT= Multi-page image scanning application
+
+# We pick GPLv3 out of 2|3|KDEeV
+LICENSE= GPLv3
+LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-3.0-only.txt
+
+LIB_DEPENDS= libKF5Sane.so:graphics/libksane \
+ libpng.so:graphics/png
+
+USES= cmake compiler:c++11-lang gettext kde:5 qt:5 tar:xz
+USE_KDE= auth config configwidgets codecs completion \
+ coreaddons i18n jobwidgets kio kirigami2 \
+ service widgetsaddons xmlgui \
+ doctools_build ecm_build
+USE_QT= core concurrent dbus gui network widgets xml \
+ buildtools_build qmake_build testlib_build
+
+.include <bsd.port.mk>
diff --git a/graphics/skanpage/distinfo b/graphics/skanpage/distinfo
new file mode 100644
index 000000000000..378e20bbc68b
--- /dev/null
+++ b/graphics/skanpage/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1636032250
+SHA256 (skanpage-1.0.0.tar.xz) = 90f5401bae283e4285df3b4707857b336c5cd4072fc221e762930c2cc40d6060
+SIZE (skanpage-1.0.0.tar.xz) = 378932
diff --git a/graphics/skanpage/pkg-descr b/graphics/skanpage/pkg-descr
new file mode 100644
index 000000000000..889a30769ad4
--- /dev/null
+++ b/graphics/skanpage/pkg-descr
@@ -0,0 +1,4 @@
+Skanpage is a multi-page scanning application and supports multi-page PDF
+export. It is based on the libksane library.
+
+WWW: https://invent.kde.org/utilities/skanpage
diff --git a/graphics/skanpage/pkg-plist b/graphics/skanpage/pkg-plist
new file mode 100644
index 000000000000..27b89c72c4a5
--- /dev/null
+++ b/graphics/skanpage/pkg-plist
@@ -0,0 +1,29 @@
+bin/skanpage
+share/applications/org.kde.skanpage.desktop
+share/icons/hicolor/48x48/apps/skanpage.png
+share/icons/hicolor/scalable/apps/skanpage.svg
+share/locale/ar/LC_MESSAGES/skanpage.mo
+share/locale/ca/LC_MESSAGES/skanpage.mo
+share/locale/ca@valencia/LC_MESSAGES/skanpage.mo
+share/locale/cs/LC_MESSAGES/skanpage.mo
+share/locale/de/LC_MESSAGES/skanpage.mo
+share/locale/el/LC_MESSAGES/skanpage.mo
+share/locale/en_GB/LC_MESSAGES/skanpage.mo
+share/locale/es/LC_MESSAGES/skanpage.mo
+share/locale/fi/LC_MESSAGES/skanpage.mo
+share/locale/fr/LC_MESSAGES/skanpage.mo
+share/locale/ia/LC_MESSAGES/skanpage.mo
+share/locale/it/LC_MESSAGES/skanpage.mo
+share/locale/ko/LC_MESSAGES/skanpage.mo
+share/locale/nl/LC_MESSAGES/skanpage.mo
+share/locale/pl/LC_MESSAGES/skanpage.mo
+share/locale/pt/LC_MESSAGES/skanpage.mo
+share/locale/pt_BR/LC_MESSAGES/skanpage.mo
+share/locale/sk/LC_MESSAGES/skanpage.mo
+share/locale/sl/LC_MESSAGES/skanpage.mo
+share/locale/sv/LC_MESSAGES/skanpage.mo
+share/locale/tr/LC_MESSAGES/skanpage.mo
+share/locale/uk/LC_MESSAGES/skanpage.mo
+share/locale/zh_CN/LC_MESSAGES/skanpage.mo
+share/metainfo/org.kde.skanpage.appdata.xml
+share/qlogging-categories5/skanpage.categories