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>
This commit is contained in:
Brahmajit Das
2023-09-14 18:28:22 +00:00
committed by Arthur Zamarin
parent c26ab6724c
commit 8aeae769df
2 changed files with 56 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}