summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrahmajit Das <brahmajit.xyz@gmail.com>2023-09-14 18:28:22 +0000
committerArthur Zamarin <arthurzam@gentoo.org>2023-09-14 21:30:05 +0300
commit8aeae769df213e72f4e0e3fa72cb42e2dcd04d1d (patch)
tree72e25e4ff3ce1e31d6b03537d99bfc1023fffa00 /app-misc/libdatovka
parentapp-admin/ccze: disable tests (diff)
downloadgentoo-8aeae769df213e72f4e0e3fa72cb42e2dcd04d1d.tar.gz
gentoo-8aeae769df213e72f4e0e3fa72cb42e2dcd04d1d.tar.bz2
gentoo-8aeae769df213e72f4e0e3fa72cb42e2dcd04d1d.zip
app-misc/libdatovka: add 0.4.0
and EAPI 7 -> 8 Closes: https://github.com/gentoo/gentoo/pull/31402 Closes: https://bugs.gentoo.org/900495 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32782 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-misc/libdatovka')
-rw-r--r--app-misc/libdatovka/Manifest1
-rw-r--r--app-misc/libdatovka/libdatovka-0.4.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/libdatovka/Manifest b/app-misc/libdatovka/Manifest
index bdcc81af9a3a..f9c39f243ae6 100644
--- a/app-misc/libdatovka/Manifest
+++ b/app-misc/libdatovka/Manifest
@@ -1,2 +1,3 @@
DIST libdatovka-0.2.1.tar.xz 683476 BLAKE2B f50c3da050e37e29d8a2bbedd8c5c15bb9317b6edf299a2e5d5b7b87e91c2489296f70bdbc8072ff318ba0082bb050a26d6d8f9161de4e5202df25d6eb3930ad SHA512 18fdc08392e2b96b1895f528e827dcaddb81089b7f08b70110b1fb3ce7e7961ca9851f33de4565ef7363da9659977127abf2508a2d83d44a693f8c5f3090f878
DIST libdatovka-0.3.0.tar.xz 689000 BLAKE2B 6e3e8dcbc20a3ce181766e572727104c09584078411f07b627a0b0789328f6000a5b780ea1fbd4eb16d6f6b149351c732385f3e27adb31af7999dd74b183635d SHA512 4d82905c0a0d07251bec267cfc52319de3b3bfac537b98832059360174f4ab228d791df88a7d16bcd041343dcf5dfd00fd759881eae212a033ec47c3c9684fa0
+DIST libdatovka-0.4.0.tar.xz 807160 BLAKE2B a5bca260e2f9f4d1b8ae2e24152754ba22b4d3752e772ca55c2983390328968025599393842ac9305ac3745e9e166af2b4e75efd5e90f374f6e12aebe152341f SHA512 9c5c98927ea297b2fa148ef91420eb4a862728d1fc94299c6121932fac0b9811bbf686d08cf2f8bb820be9b552a62efd60292277455cd1c7a2fbf4222f4d4c10
diff --git a/app-misc/libdatovka/libdatovka-0.4.0.ebuild b/app-misc/libdatovka/libdatovka-0.4.0.ebuild
new file mode 100644
index 000000000000..2f8bd7f1f0f1
--- /dev/null
+++ b/app-misc/libdatovka/libdatovka-0.4.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Client library for accessing ISDS SOAP services"
+HOMEPAGE="https://www.datovka.cz/cs/pages/libdatovka.html"
+SRC_URI="https://secure.nic.cz/files/datove_schranky/${PN}/${P}.tar.xz"
+KEYWORDS="~amd64 ~x86"
+
+LICENSE="LGPL-3"
+SLOT="0"
+IUSE="+curl debug doc nls openssl test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ dev-libs/expat
+ dev-libs/libxml2
+ curl? ( net-misc/curl[ssl] )
+ doc? (
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )
+ openssl? ( dev-libs/openssl:= )
+ !openssl? (
+ app-crypt/gnupg
+ app-crypt/gpgme:=
+ dev-libs/libgcrypt:=
+ )"
+DEPEND="${RDEPEND}
+ test? ( net-libs/gnutls )"
+BDEPEND="
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+src_configure() {
+ local myeconfargs=(
+ --disable-fatalwarnings
+ --disable-static
+ $(use_with curl libcurl)
+ $(use_enable curl curlreauthorizationbug)
+ $(use_enable doc)
+ $(use_enable debug)
+ $(use_enable nls)
+ $(use_enable openssl openssl-backend)
+ $(use_enable test)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}