net-libs/libcurl-gnutls: bumped to 7.70.0, fixed QA

This commit is contained in:
Parona 2020-05-14 02:11:22 +03:00
parent 28baf408e5
commit 95aed7738b
2 changed files with 22 additions and 14 deletions

View File

@ -1 +1 @@
DIST libcurl-gnutls-7.69.1-1-x86_64.pkg.tar.zst 233178 BLAKE2B 37b123d16b42dabcb2ce9d6b7e9bcd6fcb5041a936b2f222eccb597ce752152399a6cfeb0b11b716e215753cbedd5c6c037c78d9010ee6a478b248e530c9e20b SHA512 04f99976028bd0ffa71d282f80bce31054426a314d8dbff1e23eaf96ffc2c7bbc7a9b44a5daec06eb6a367780341c026c4ebc32e0e6b3628aa4c2c0e7fbf4270
DIST libcurl-gnutls-7.70.0-2-x86_64.pkg.tar.zst 233766 BLAKE2B 0d6888c278af7fe9e1b2a9a93259527e1b342b45d915cec25b98859b11f0fce21551df759e3a72120563b1c6f8feea760e4ab6c740bdb688cdcca6904f36d75b SHA512 a912c44aa449ae7ceab6f0a694fa33854007ef0fe8280ca7fc1d8713f2e1167b6a121724ffdf0367bb2c0f0c0d4541e27a87f174a2461687a766416cc12fd9fe

View File

@ -1,4 +1,4 @@
# Copyright 2019 Gentoo Authors
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -10,7 +10,7 @@ HOMEPAGE="https://curl.haxx.se"
MIRROR_URI="https://mirror.rackspace.com/archlinux"
SRC_URI="
amd64? (
${MIRROR_URI}/community/os/x86_64/${PN}-${PV}-1-x86_64.pkg.tar.zst
${MIRROR_URI}/community/os/x86_64/${PN}-${PV}-2-x86_64.pkg.tar.zst
)
"
@ -20,21 +20,29 @@ KEYWORDS="~amd64"
IUSE=""
RESTRICT="mirror strip"
DEPEND="net-misc/curl[-curl_ssl_gnutls]
app-arch/zstd"
RDEPEND="${DEPEND}"
COMMON_DEPEND="net-misc/curl[-curl_ssl_gnutls]"
DEPEND="
${COMMON_DEPEND}
app-arch/zstd
"
RDEPEND="
${COMMON_DEPEND}
net-libs/nghttp2
>=dev-libs/nettle-3.6
"
S="${WORKDIR}"
QA_PRESTRIPPED="
/usr/lib/libcurl-gnutls-4.5.0
/usr/lib64/libcurl-gnutls-4.5.0
/usr/lib/libcurl-gnutls-4.6.0
/usr/lib64/libcurl-gnutls-4.6.0
"
#QA_PRESTRIPPED="
# /usr/lib/libcurl-gnutls-4.5.0
# /usr/lib64/libcurl-gnutls-4.5.0
# /usr/lib/libcurl-gnutls-4.6.0
# /usr/lib64/libcurl-gnutls-4.6.0
#"
src_install(){
mkdir -p "${D}/usr/$(get_libdir)"
cp -r usr/lib/. "${D}/usr/$(get_libdir)"
mkdir -p "${D}/usr/lib"
cp -r usr/lib32/* "${D}/usr/lib/"
}