commit:     5e588272094cafb61ee3924b87c2637179e88945
Author:     Emanuel Komínek <drake127 <AT> planescape <DOT> cz>
AuthorDate: Fri May  3 09:50:53 2024 +0000
Commit:     Amy Liffey <amynka <AT> gentoo <DOT> org>
CommitDate: Sat May  4 10:37:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e588272

app-misc/libdatovka: add 0.6.2

Closes: https://github.com/gentoo/gentoo/pull/36525
Signed-off-by: Emanuel Komínek <drake127 <AT> planescape.cz>
Signed-off-by: Amy Liffey <amynka <AT> gentoo.org>

 app-misc/libdatovka/Manifest                |  1 +
 app-misc/libdatovka/libdatovka-0.6.2.ebuild | 56 +++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/app-misc/libdatovka/Manifest b/app-misc/libdatovka/Manifest
index 47e18cce478f..fe9316a1b859 100644
--- a/app-misc/libdatovka/Manifest
+++ b/app-misc/libdatovka/Manifest
@@ -1,2 +1,3 @@
 DIST libdatovka-0.4.0.tar.xz 807160 BLAKE2B 
a5bca260e2f9f4d1b8ae2e24152754ba22b4d3752e772ca55c2983390328968025599393842ac9305ac3745e9e166af2b4e75efd5e90f374f6e12aebe152341f
 SHA512 
9c5c98927ea297b2fa148ef91420eb4a862728d1fc94299c6121932fac0b9811bbf686d08cf2f8bb820be9b552a62efd60292277455cd1c7a2fbf4222f4d4c10
 DIST libdatovka-0.6.0.tar.xz 721408 BLAKE2B 
b8b4398a3adc85a9eb9b642733941929a8d14aa6e4323fe5345f62adb6f7488c9c5b10688f0ed1e0fde8252377ae2b5e21d00bfe00f966523cd025fd4a35f60d
 SHA512 
5a1b1574ae81f5d3c1ca8c2cd6e2fa9c9b3dc7dde6d1dd6de662a64120f2a8d107137b77da03043d4943fa6d51e4d7bdf330e3ddb2fe73467d705b0f7baf841c
+DIST libdatovka-0.6.2.tar.xz 720944 BLAKE2B 
617a0cb367d84cdbac50b2cc2d446af361828b34ca329c7872846283ea52bc2d611d97ea650e9de919ec09085ac7e5053c761e3d01373a98176f5419fe3d7fe1
 SHA512 
5eace37bcf3ede1ac6c35f9ce62e8eb0bb963c1eba16afa001f0d3033ad4761b4a6e9023d2a0eaa3c9d8a51423c918c7c1a98b1336d6f4c6844d7fbaa3ee2b26

diff --git a/app-misc/libdatovka/libdatovka-0.6.2.ebuild 
b/app-misc/libdatovka/libdatovka-0.6.2.ebuild
new file mode 100644
index 000000000000..da916814f61e
--- /dev/null
+++ b/app-misc/libdatovka/libdatovka-0.6.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 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";
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+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
+}

Reply via email to