summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/datovka/Manifest1
-rw-r--r--app-misc/datovka/datovka-4.23.7.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/app-misc/datovka/Manifest b/app-misc/datovka/Manifest
index fd81fbd769bb..cb9981910bcb 100644
--- a/app-misc/datovka/Manifest
+++ b/app-misc/datovka/Manifest
@@ -1,2 +1,3 @@
DIST datovka-4.22.0.tar.xz 3132780 BLAKE2B 6aa94a4ae37fe4ff12738902c3f721058ce2bb86946f7150cbdda1b9b38b4e14ae43a10252e9d10784a1549c2ab508291e7323635da0aa8b1d7d5d2338946ff3 SHA512 43ea3eb7b1f06596f7babedaaff3a7950f6e893b71cdcb8482fb5a7c11861369e080ca2058c39c0ca362c8917ae90e4058f614958057e87039b186b3ba5d5863
DIST datovka-4.23.1.tar.xz 3190276 BLAKE2B a74e338b372dbb3b5d1778db820cadfe6661b4a12fd63f4a954e767e6f2509006857187b6453d8daf4c2bf2979276b01b685e20858d887992e62573bc806fca3 SHA512 5b885eb3f511fe58c388879a67957b6fa510de8c94c62f5e7a4e3233beb549b7079adaedb6f31932cd5e007125de599d00fe8a3ae3d23d08e519e186670ce9d2
+DIST datovka-4.23.7.tar.xz 3227396 BLAKE2B 3045c46e5c548eb04a81989ba351f4fe4ea3a4e78afa74e9ba7b88bc40352b60009b54b7f7bc83b97e5b749d51e3594d143b5cb8ecfcfcc781a12d326c9effec SHA512 c4cf1f473bf9c5b8b1aba9d2caa133bb10efa7c4cf1cfbf91e6f8fa32fc8da80faa6496cc87cf0bfefd0877f1ad0fea7efa17025082b4551d223e68c7e12b722
diff --git a/app-misc/datovka/datovka-4.23.7.ebuild b/app-misc/datovka/datovka-4.23.7.ebuild
new file mode 100644
index 000000000000..332fd01af304
--- /dev/null
+++ b/app-misc/datovka/datovka-4.23.7.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit qmake-utils xdg-utils
+
+DESCRIPTION="GUI to access the Czech data box e-government system"
+HOMEPAGE="https://www.datovka.cz/"
+SRC_URI="https://secure.nic.cz/files/datove_schranky/${PV}/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# minimum Qt version required
+QT_PV="5.14.0:5"
+
+RDEPEND="
+ >=dev-libs/openssl-1.0.2:=
+ dev-libs/quazip:=[qt5(+)]
+ >=dev-qt/qtcore-${QT_PV}
+ >=dev-qt/qtgui-${QT_PV}
+ >=dev-qt/qtnetwork-${QT_PV}[ssl]
+ >=dev-qt/qtprintsupport-${QT_PV}
+ >=dev-qt/qtsql-${QT_PV}[sqlite]
+ >=dev-qt/qtsvg-${QT_PV}
+ >=dev-qt/qtwebsockets-${QT_PV}
+ >=dev-qt/qtwidgets-${QT_PV}
+ >=app-misc/libdatovka-0.6.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ >=dev-qt/linguist-tools-${QT_PV}
+ virtual/pkgconfig
+"
+
+DOCS=( ChangeLog README )
+
+src_configure() {
+ $(qt5_get_bindir)/lrelease datovka.pro || die
+ eqmake5 PREFIX="/usr" SYSTEM_LIBQUAZIP=1 DISABLE_VERSION_NOTIFICATION=1 TEXT_FILES_INST_DIR="/usr/share/${PN}/"
+}
+
+src_install() {
+ emake install INSTALL_ROOT="${D}"
+ einstalldocs
+}
+
+pkg_postinst() {
+ xdg_icon_cache_update
+}
+
+pkg_postrm() {
+ xdg_icon_cache_update
+}