summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Liffey <amynka@gentoo.org>2023-05-14 18:00:05 +0200
committerAmy Liffey <amynka@gentoo.org>2023-05-14 18:00:17 +0200
commitf72cc3b404233a8c992c61b381822e84c16d0817 (patch)
tree945c2c61d10d914f7104f0a8e2cdf919f4d6453a /app-misc/datovka
parentapp-misc/libdatovka: drop 0.1.2-r1, 0.2.0-r1 (diff)
downloadgentoo-f72cc3b404233a8c992c61b381822e84c16d0817.tar.gz
gentoo-f72cc3b404233a8c992c61b381822e84c16d0817.tar.bz2
gentoo-f72cc3b404233a8c992c61b381822e84c16d0817.zip
app-misc/datovka: add 4.22.0
Closes: https://bugs.gentoo.org/894792 Submitted-by: Karel Slany <karel.slany@nic.cz> Signed-off-by: Amy Liffey <amynka@gentoo.org>
Diffstat (limited to 'app-misc/datovka')
-rw-r--r--app-misc/datovka/Manifest1
-rw-r--r--app-misc/datovka/datovka-4.22.0.ebuild57
2 files changed, 58 insertions, 0 deletions
diff --git a/app-misc/datovka/Manifest b/app-misc/datovka/Manifest
index 5171cd2f5489..6e3a8310d27c 100644
--- a/app-misc/datovka/Manifest
+++ b/app-misc/datovka/Manifest
@@ -1,2 +1,3 @@
DIST datovka-4.20.0.tar.xz 2992736 BLAKE2B ec963a1099f3aabc83c78a86d843aafa98e6f55bc970c5a973b81b7c9f67f092213e2a4fe50e527315301cc52785b7dd730927cf4e745debeb68d53851776e14 SHA512 67d805d08df839d3dd1300b48a51e65578b4de7ba556560b768189b44ef3ea02ceb9359503928b3a735c54776947669c04e64f01944942586a0036703a1ec09d
DIST datovka-4.21.0.tar.xz 3119488 BLAKE2B 61baa13db4452398df2004aa650d309b2b67403b5b770a02b969f635e680d4ba2fe9f3920f8ba59520130440a9132fca4e5cd731e35ac73e30deecdb4422b986 SHA512 86254c8cbf093aa1c908d4aeec94390a71841b5818e3db879024b70f76b7d59b8dab8bb635b3448c9507ede2cb2c5e3ea5c829798b128572731d9a4cec28fb18
+DIST datovka-4.22.0.tar.xz 3132780 BLAKE2B 6aa94a4ae37fe4ff12738902c3f721058ce2bb86946f7150cbdda1b9b38b4e14ae43a10252e9d10784a1549c2ab508291e7323635da0aa8b1d7d5d2338946ff3 SHA512 43ea3eb7b1f06596f7babedaaff3a7950f6e893b71cdcb8482fb5a7c11861369e080ca2058c39c0ca362c8917ae90e4058f614958057e87039b186b3ba5d5863
diff --git a/app-misc/datovka/datovka-4.22.0.ebuild b/app-misc/datovka/datovka-4.22.0.ebuild
new file mode 100644
index 000000000000..37fb669b8237
--- /dev/null
+++ b/app-misc/datovka/datovka-4.22.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2023 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"
+IUSE=""
+
+# 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.3.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
+}