summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-04-05 22:04:05 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-04-05 22:06:59 +0200
commit2bc77592d4af6cefc036bb001140114be5cc8543 (patch)
tree289a90ae58b5dbc2817df12a392aebcfbb0ed024 /app-misc/datovka
parentapp-emacs/slime: Version bump to 2.27 (diff)
downloadgentoo-2bc77592d4af6cefc036bb001140114be5cc8543.tar.gz
gentoo-2bc77592d4af6cefc036bb001140114be5cc8543.tar.bz2
gentoo-2bc77592d4af6cefc036bb001140114be5cc8543.zip
app-misc/datovka: Use qt5_get_bindir to find lrelease not in PATH
EAPI-8 bump, fix BDEPEND. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-misc/datovka')
-rw-r--r--app-misc/datovka/datovka-4.18.0-r1.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/datovka/datovka-4.18.0-r1.ebuild b/app-misc/datovka/datovka-4.18.0-r1.ebuild
new file mode 100644
index 000000000000..f12fa66b0f55
--- /dev/null
+++ b/app-misc/datovka/datovka-4.18.0-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2022 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:0=
+ >=dev-qt/qtcore-${QT_PV}
+ >=dev-qt/qtgui-${QT_PV}
+ >=dev-qt/qtnetwork-${QT_PV}
+ >=dev-qt/qtprintsupport-${QT_PV}
+ >=dev-qt/qtsql-${QT_PV}[sqlite]
+ >=dev-qt/qtsvg-${QT_PV}
+ >=dev-qt/qtwidgets-${QT_PV}
+ >=net-libs/libisds-0.11
+ >=app-misc/libdatovka-0.2.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" 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
+}