diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 23:13:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-15 23:13:45 +0100 |
commit | e87ef1b6ce856ae8859bdfce8028fb992f3e3763 (patch) | |
tree | d51e0c41adf3586e9a393881cee3ec0a9ed48977 /net-libs | |
parent | 0c80ffd3caee224555f8b394b6b2c05b2752f440 (diff) |
gentoo auto-resync : 15:09:2022 - 23:13:44
Diffstat (limited to 'net-libs')
-rw-r--r-- | net-libs/Manifest.gz | bin | 32608 -> 32601 bytes | |||
-rw-r--r-- | net-libs/kdsoap/Manifest | 6 | ||||
-rw-r--r-- | net-libs/kdsoap/files/kdsoap-2.1.0-cmake.patch | 38 | ||||
-rw-r--r-- | net-libs/kdsoap/files/kdsoap-2.1.0-fix-cppcheck-warnings.patch | 52 | ||||
-rw-r--r-- | net-libs/kdsoap/kdsoap-2.1.1.ebuild (renamed from net-libs/kdsoap/kdsoap-2.1.0.ebuild) | 5 | ||||
-rw-r--r-- | net-libs/libnftnl/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild | 2 | ||||
-rw-r--r-- | net-libs/libsoup/Manifest | 2 | ||||
-rw-r--r-- | net-libs/libsoup/libsoup-3.2.0.ebuild | 102 |
9 files changed, 108 insertions, 101 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz Binary files differindex 17f6eeaa32aa..1885d5ce8a03 100644 --- a/net-libs/Manifest.gz +++ b/net-libs/Manifest.gz diff --git a/net-libs/kdsoap/Manifest b/net-libs/kdsoap/Manifest index b2d358786362..b0b573b1cff7 100644 --- a/net-libs/kdsoap/Manifest +++ b/net-libs/kdsoap/Manifest @@ -1,7 +1,5 @@ -AUX kdsoap-2.1.0-cmake.patch 1560 BLAKE2B c7f2d8bd3717e7c324a09a11a2840a427ec0e294962c12dd1b6a4a6b1693dbd92d7ee2da0471edfbc631d0ba3f6b1e787e567ed946ee517ad67bc1c7efc6a1f6 SHA512 187b329b18f147b66c4b7c5fe805ed3c45ed85509e0cdf3196a18afe1f5aa925ffee52ccad4c98a1832e53c72b709e5bf761da2f9eb17b3673f2c931005f56e4 -AUX kdsoap-2.1.0-fix-cppcheck-warnings.patch 2299 BLAKE2B f37369ad0f225b2f2fb7205dd590b847f3186cca6cd93e141ca1396567a894cdf4570114b46fe38e7227d8e420de569acbbdebf2ecea33ab010e64b27c687911 SHA512 741ecd8180666e8e02094e753082873d20c11d590844b2469f01f19046754cb219d9bcebca4117d3814e279ed9e1e95d726f200704ead9ca587a866dd99c8b46 DIST kdsoap-2.0.0.tar.gz 2916527 BLAKE2B 7b9cf71b181b88180fb00cb2f0c2b84b5fd7d997531aa68957a84811959befd9c8909c8892d3b60d47a654916fa5b8841fa7b389a006a8ca6a2cdce98a433cfb SHA512 50305866595048e0ec6cd6dabba9e63a948f1e1263e7f03e9e3bc56f09a843bade944df95b5ff57d4fc3a62896e72f02b0d7b3d5cc2be2823da67001ca459428 -DIST kdsoap-2.1.0.tar.gz 948070 BLAKE2B 69f13fb394c0b6a568d5ee63f26d3384e1276a63084116ebd96b8a1b4b87ef70155aba9a3e84c9c5f7016166d6e1cfffcb98c96400fccac6c7d339f6f73fb41d SHA512 db4c0ba25ccef3c5dc90662fbfa14ee4cdc2e8079f132efebf71a10d9a26460070bf71d22cce478520ead0425488b79f52ea6a1ee651473e989d59dfd5053972 +DIST kdsoap-2.1.1.tar.gz 948277 BLAKE2B 6daec26426bb6becc78400877ad221b929f0c30e45755644258eca864617d20b9d1269d8a964d38d40e9f5eb93ae213a95e05deb0a34dd3817261096178815a2 SHA512 12224f664dcae7ceb7395a7c3de48a208ae81c10f6fba4d0db233613472c6b9cdbea6375297c27b58fe7338d7db27a4447844f4e8f40a24ec1b4dd3fa38d20bb EBUILD kdsoap-2.0.0.ebuild 965 BLAKE2B 711da17f4859234a1f552d62b8bab9f37f9701d53ecdd1454789ee985b7578d63a93493b809e6aabd250d326a9ec4d91512f3016add0067263767481dfbb53eb SHA512 9c6e12a4c38b12b4b21ab1fa8e11111b04db322296782100904d2d0352cae847d732b761a1afeb8edca7b9fdd3d520f215a055e48be0c3328742dcf2fbe6eb53 -EBUILD kdsoap-2.1.0.ebuild 1061 BLAKE2B a25926022b283c3a801572ee6264f4118bf0abd91d86c147c41ae39879d15559a330c6a6f6c4d3eb9cfc45683f3172863ce084225567b9a391dae88cc3b2d1c0 SHA512 485d7f1500e68fba8b264b5ebab9494e2fb4314524b510278aa65f494656e470a17c9f38e9fd9f37e374bc0069ad824dc9cdea37e9d0a1d25879f6e8bb62e6f3 +EBUILD kdsoap-2.1.1.ebuild 968 BLAKE2B 8e4f2eb74d0e62c96ddc728ee735e21597ce58690798581cca2784000bee5f714ba2b8c5cf6d35792dd3f8362466608cd8f022ea63bfc47aea928784741dbba6 SHA512 ae9f7f40ab5794d00bd98e6fbc3f9626d6740f78e0f386e6d2cdce1b4c5724c6b043d117a3dba5ae870e5839fc66a00ae79e530f507bc7114e477e35edb70238 MISC metadata.xml 250 BLAKE2B f3e9395137ebb9adf46cd35c1b6156f82c04cfa94f964f6da24fe71eb560cf51b4f70ebfa10daaa4884400ec22782d819ab794dfd29e7a47559f07208397195d SHA512 78c4ff15eed76ba883b457be95dabd41e928a0e64a42b758b5eab4d8a95afca27d5ea6a7cfe0948de578b169153a05f08aadfce1ddd41a88732212a1e76e565f diff --git a/net-libs/kdsoap/files/kdsoap-2.1.0-cmake.patch b/net-libs/kdsoap/files/kdsoap-2.1.0-cmake.patch deleted file mode 100644 index f70e0bf062ce..000000000000 --- a/net-libs/kdsoap/files/kdsoap-2.1.0-cmake.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 0c7374b25464d2dca3728a9c1a59f577b978e211 Mon Sep 17 00:00:00 2001 -From: Allen Winter <allen.winter@kdab.com> -Date: Mon, 12 Sep 2022 17:06:03 -0400 -Subject: [PATCH] KDSoapClient,KDSoapServer]/CMakeLists.txt - fix - INSTALL_INTERFACES - -should not have the extra hierarchy for the library ---- - src/KDSoapClient/CMakeLists.txt | 2 +- - src/KDSoapServer/CMakeLists.txt | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/src/KDSoapClient/CMakeLists.txt b/src/KDSoapClient/CMakeLists.txt -index 563cb6df..44dc17cd 100644 ---- a/src/KDSoapClient/CMakeLists.txt -+++ b/src/KDSoapClient/CMakeLists.txt -@@ -44,7 +44,7 @@ target_link_libraries( - ) - target_include_directories( - kdsoap -- INTERFACE "$<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}/KDSoapClient${${PROJECT_NAME}_LIBRARY_QTID}>" -+ INTERFACE "$<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}>" - ) - set_target_properties(kdsoap PROPERTIES SOVERSION ${${PROJECT_NAME}_SOVERSION} VERSION ${${PROJECT_NAME}_VERSION}) - -diff --git a/src/KDSoapServer/CMakeLists.txt b/src/KDSoapServer/CMakeLists.txt -index 2c9ff893..a111dacb 100644 ---- a/src/KDSoapServer/CMakeLists.txt -+++ b/src/KDSoapServer/CMakeLists.txt -@@ -39,7 +39,7 @@ target_link_libraries( - ) - target_include_directories( - kdsoap-server -- INTERFACE "$<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}/KDSoapServer${${PROJECT_NAME}_LIBRARY_QTID}>" -+ INTERFACE "$<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}>" - ) - set_target_properties( - kdsoap-server PROPERTIES SOVERSION ${${PROJECT_NAME}_SOVERSION} VERSION ${${PROJECT_NAME}_VERSION} diff --git a/net-libs/kdsoap/files/kdsoap-2.1.0-fix-cppcheck-warnings.patch b/net-libs/kdsoap/files/kdsoap-2.1.0-fix-cppcheck-warnings.patch deleted file mode 100644 index f0d56869729e..000000000000 --- a/net-libs/kdsoap/files/kdsoap-2.1.0-fix-cppcheck-warnings.patch +++ /dev/null @@ -1,52 +0,0 @@ -From e9df81fa01188371d2f62f29ebf0d08eb6e50ef2 Mon Sep 17 00:00:00 2001 -From: David Faure <david.faure@kdab.com> -Date: Tue, 13 Sep 2022 09:50:52 +0200 -Subject: [PATCH] Fix cppcheck warnings - ---- - src/KDSoapClient/KDSoapClientInterface.h | 3 +++ - src/KDSoapServer/KDSoapServerObjectInterface.h | 3 +++ - unittests/serverlib/test_serverlib.cpp | 2 +- - 3 files changed, 7 insertions(+), 1 deletion(-) - -diff --git a/src/KDSoapClient/KDSoapClientInterface.h b/src/KDSoapClient/KDSoapClientInterface.h -index e89d44f7..9c5450f0 100644 ---- a/src/KDSoapClient/KDSoapClientInterface.h -+++ b/src/KDSoapClient/KDSoapClientInterface.h -@@ -79,6 +79,9 @@ class KDSOAP_EXPORT KDSoapClientInterface - */ - ~KDSoapClientInterface(); - -+ KDSoapClientInterface(const KDSoapClientInterface &) = delete; -+ KDSoapClientInterface &operator=(const KDSoapClientInterface &) = delete; -+ - /** - * Calls the method \p method on this interface and passes the arguments specified in \p message - * to the method. -diff --git a/src/KDSoapServer/KDSoapServerObjectInterface.h b/src/KDSoapServer/KDSoapServerObjectInterface.h -index 69c69100..0c881b63 100644 ---- a/src/KDSoapServer/KDSoapServerObjectInterface.h -+++ b/src/KDSoapServer/KDSoapServerObjectInterface.h -@@ -68,6 +68,9 @@ class KDSOAPSERVER_EXPORT KDSoapServerObjectInterface - */ - virtual ~KDSoapServerObjectInterface(); - -+ KDSoapServerObjectInterface(const KDSoapServerObjectInterface &) = delete; -+ KDSoapServerObjectInterface &operator =(const KDSoapServerObjectInterface &) = delete; -+ - /** - * Handle \p request and return \p response. - * The default implementation in this base class is to simply return -diff --git a/unittests/serverlib/test_serverlib.cpp b/unittests/serverlib/test_serverlib.cpp -index f4d4818d..eb6af065 100644 ---- a/unittests/serverlib/test_serverlib.cpp -+++ b/unittests/serverlib/test_serverlib.cpp -@@ -1450,7 +1450,7 @@ public Q_SLOTS: - return QString::fromUtf8("David Ä Faure France"); - } - -- void verifySocketResponse(ClientSocket &socket, const QByteArray employeeName) -+ void verifySocketResponse(ClientSocket &socket, const QByteArray &employeeName) - { - QVERIFY(socket.waitForReadyRead()); - const QByteArray response = socket.readAll(); diff --git a/net-libs/kdsoap/kdsoap-2.1.0.ebuild b/net-libs/kdsoap/kdsoap-2.1.1.ebuild index 977a947a3156..c988db03bf07 100644 --- a/net-libs/kdsoap/kdsoap-2.1.0.ebuild +++ b/net-libs/kdsoap/kdsoap-2.1.1.ebuild @@ -29,11 +29,6 @@ DEPEND="${RDEPEND} dev-libs/boost " -PATCHES=( - "${FILESDIR}"/${P}-cmake.patch - "${FILESDIR}"/${P}-fix-cppcheck-warnings.patch -) - src_prepare() { cmake_src_prepare sed -e "/install.*INSTALL_DOC_DIR/d" -i CMakeLists.txt || die diff --git a/net-libs/libnftnl/Manifest b/net-libs/libnftnl/Manifest index 5856009c4409..9f595557540d 100644 --- a/net-libs/libnftnl/Manifest +++ b/net-libs/libnftnl/Manifest @@ -6,7 +6,7 @@ DIST libnftnl-1.2.2.tar.bz2.sig 566 BLAKE2B ffdb35811e57f55ba30dfdd3e6656166b5f5 DIST libnftnl-1.2.3.tar.bz2 395208 BLAKE2B 893688a861bbb10609642bed912090b227d5d823cc1b94098b60ac85d137254ff3001971580e5059029a33c64e7226cc8473b0b9c1c79be77cbfb0c477254a1e SHA512 e2d16cbc062eb8900f0472abb8fe6b22910cc5a8efbb47445fe6ce6e2713a0637f74b46b2bf2031ba9ecb2e5eed932e3bbb49b015c7b7207591249de23d5149d DIST libnftnl-1.2.3.tar.bz2.sig 566 BLAKE2B 82b49ab1c7a9a588fea67b516d57afb455ceb5242bf774ff7ec92e240b5c2373fe7cc90dd60f302cb4e0615ec0036d995c1ddf25d9b26d6168eeaaa3c7027511 SHA512 73b8f75851dd30f5f54fe85d4c75d9ab18151c38e7c63961b52965e5e7478d240931a09a078fda1fe6b1a32a588e092c98e44b57fe1c9542874ac76bb04a29a1 EBUILD libnftnl-1.2.1.ebuild 1596 BLAKE2B 4f0df58ffaba293aaee147690535e20e22a9f1e7bc6d115b0a5bac9039fd616b3d861786552c27661d3a7569f7ad8675bdabb818fd22a1bc57f5e00af1146e47 SHA512 bbf0ae2f34d3d3a9e102e11a3c466664989f37f145eb757587887bb3538c75b863073ebe8b61b9ad26dc8d8af071c66ae5680dea6ad98b4d82af13892f192cba -EBUILD libnftnl-1.2.2-r1.ebuild 1958 BLAKE2B 684cdfce7ac41054ec9dee0b705040082ecbd3b83084648602335fa3c2f2c29dfc74f50efd4856a50e03b240735f9218acfb9b2a44602bfca2ce3861cf6ff703 SHA512 de21e1e9b8cf95e0b9adea5d254835161b45f13e46fd3596a5a4d203aa41602df55a8647dd93217254ddbcd7251ef6f713571ed06328b04f50897e412d70b59a +EBUILD libnftnl-1.2.2-r1.ebuild 1957 BLAKE2B 654f19741d14191a2b911269432d7f7cfb74fffe5e928ca5284806d24fb584b5451f2deecca7f4bfbdbab46e53de40d73d87f8e7f51ffc1e43d759afe53abdd8 SHA512 083eaabaf68998295ab41e77101d59f83cea09714692bc2d6ade58ebedcb9f145e26226d21ff179b161fa5383d2c43f0421a80315c8c7fff4c54aebc286a96d5 EBUILD libnftnl-1.2.3.ebuild 1616 BLAKE2B 33da1ea7acb7744a89396efd68da7b2bd4318d876e73fffbcf9734b810b3e37adb89b60e44b554d33a938f132a9264c0ea244c2b71798708da646817a8a59348 SHA512 ae5f73c91cf326c33900ed53a601b3550dcbbd07b0f65cf0823c5870eb55dddce4ed5e80d4edc822ffc20065f72c34613c0258fd8732361c39006482b4880ba4 EBUILD libnftnl-9999.ebuild 1616 BLAKE2B 33da1ea7acb7744a89396efd68da7b2bd4318d876e73fffbcf9734b810b3e37adb89b60e44b554d33a938f132a9264c0ea244c2b71798708da646817a8a59348 SHA512 ae5f73c91cf326c33900ed53a601b3550dcbbd07b0f65cf0823c5870eb55dddce4ed5e80d4edc822ffc20065f72c34613c0258fd8732361c39006482b4880ba4 MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild b/net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild index 0396d0fff468..ac98a2cbbb9d 100644 --- a/net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild +++ b/net-libs/libnftnl/libnftnl-1.2.2-r1.ebuild @@ -18,7 +18,7 @@ else https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-clang-fortify-source.patch.xz verify-sig? ( https://netfilter.org/projects/${PN}/files/${P}.tar.bz2.sig ) " - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86" + KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86" BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-netfilter )" fi diff --git a/net-libs/libsoup/Manifest b/net-libs/libsoup/Manifest index 8b5527d12897..bbd3dbc0d711 100644 --- a/net-libs/libsoup/Manifest +++ b/net-libs/libsoup/Manifest @@ -1,6 +1,8 @@ AUX disable-apache-tests.patch 1318 BLAKE2B d922d5613241c96fed46c746dcd0fde704093f910ea4203a2cae8e8e11d141b8ef604292f36023e1b7f307b58b4352651aa0eb65d8a72cccc9040ec2c7940619 SHA512 3030472d05a4075349dabc21bb5fdab32a329a761e20d9e01b70d414a8de20ab9ecb6985376e61ebdc5378e5873bad42b8f3ef41cff4faf285a2593747195095 DIST libsoup-2.74.2.tar.xz 1497356 BLAKE2B b05e5d06e20a95042334c79e3a633ec43db0e7444b425f8577045fbdee7b78bd697e743f4283ed79265bbe538145a541ef2ef55636ae235667a89d00910d5bf2 SHA512 6f9da3296364e210103093cef9ef34fb40f694a8ef90966fc1fbd834c11f3db1031784a0901e9181bf3124e0682708148bd3598a31d60f1cce61eaae2e19ba7a DIST libsoup-3.0.8.tar.xz 1535496 BLAKE2B 7f5531f7771df557e6ce65ae684ba83c9eeddf98547f1c025204f17a087fc1ec34ed6baf7c278528d41b4298a694bb9cb0726387dae6f313b896c9dfba2d2c57 SHA512 91d7de5dc642bfc1aa69fed9686fcafcc10094f3ae568f827dcebecfc9c919a00486b93c5f43710628cb3ab415bd7146d28455c5f9e916f4fe57ff4c0e66ad56 +DIST libsoup-3.2.0.tar.xz 1526272 BLAKE2B 782e872fd135d1b9fead3714ca0bdb3884b38baaf54bf2dd91212a6b362c818f8046a829bcdb57de255dad12bf4e5ca0682bbd8acd529b28a2d3fca8db6239bd SHA512 e4dc4cda297ec2c2e8ced82d141e00c186b552c9308eb0d05d55a1397de1b037d8fe053ea0ada12691ce7c0ff42c03f5f8177049005a1455cc3b0e1df77c99ea EBUILD libsoup-2.74.2.ebuild 2942 BLAKE2B 83795dff978db6701967be68903382ce13f25a138a7d851cdaf25c18d0a21813ef8366c38102ed9cad349b2a4aae3492e89830029128a7ac3c7e4c64b46f780c SHA512 4d018f152a378112785f6af8d040a969a3ba8bcb81423261126f3971d8118e4e5ea550690b1d48b9b3f1c7ecd98271d0f30334264b5ac7281c6ce24e2c3ef005 EBUILD libsoup-3.0.8.ebuild 2924 BLAKE2B 4edf981426806b0998b339da797b1f212b49601bc843d1e1e2ecf50fa923d89753498c47f228196c1d7ff0f63cb51f702aca9b1fdb335241683b2b902cf84ffc SHA512 909656228775b3bdf03f050d2dccd29b07f1013840fc61f865a917dac36bbdbaeb4f2b3be2c5c9a6a8b1daafd0abc39d619aa2917170d32a18b36705fa2e3be9 +EBUILD libsoup-3.2.0.ebuild 3137 BLAKE2B c8302c2b2a869080491c97e0203d61054b3bfa999fa8fe4ace0c46cf1f2661ed2ce738d938225090e0de7e283bf4dee1c54399c5923780528e14772caa934a79 SHA512 b2efeace7ee8e5d03f13a17b38cc147293fca5627248c39ae48955b1dffd38a59c43871ee065031b1962c051524537a342e638e0b790725fc939adfc6765f479 MISC metadata.xml 578 BLAKE2B eb74705e02403da0706e9eba5fd7ce416721a8f4eaa7f0548376a11767f8d6f0214b6c696e8a65c3b2b1b9753bd1397bc2c9b5cdd953e89f23c00749884d7966 SHA512 120645b4e9ca76acaba6ae6eb86daca28be6af566576458b443996ff7e2c922eda059db209aa92dda28123d0474640e69e25236908b10d8472f4442608b7a6a2 diff --git a/net-libs/libsoup/libsoup-3.2.0.ebuild b/net-libs/libsoup/libsoup-3.2.0.ebuild new file mode 100644 index 000000000000..9b2de0509056 --- /dev/null +++ b/net-libs/libsoup/libsoup-3.2.0.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +VALA_MIN_API_VERSION="0.54" # requires gio-2.0.vapi generated from glib-2.70+ + +inherit gnome.org meson-multilib vala xdg + +DESCRIPTION="HTTP client/server library for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/libsoup" + +LICENSE="LGPL-2.1+" +SLOT="3.0" + +IUSE="+brotli gssapi gtk-doc +introspection samba ssl sysprof test +vala" +RESTRICT="!test? ( test )" +REQUIRED_USE="vala? ( introspection )" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +DEPEND=" + >=dev-libs/glib-2.69.1:2[${MULTILIB_USEDEP}] + net-libs/nghttp2:=[${MULTILIB_USEDEP}] + >=dev-db/sqlite-3.8.2:3[${MULTILIB_USEDEP}] + brotli? ( >=app-arch/brotli-1.0.6-r1:=[${MULTILIB_USEDEP}] ) + >=net-libs/libpsl-0.20[${MULTILIB_USEDEP}] + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4[${MULTILIB_USEDEP}] ) + sys-libs/zlib + gssapi? ( virtual/krb5[${MULTILIB_USEDEP}] ) + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + samba? ( net-fs/samba ) +" +RDEPEND="${DEPEND} + >=net-libs/glib-networking-2.70_alpha[ssl?,${MULTILIB_USEDEP}] +" +BDEPEND=" + dev-libs/glib + dev-util/glib-utils + gtk-doc? ( + >=dev-util/gi-docgen-2021.1 + app-text/docbook-xml-dtd:4.1.2 + ) + >=sys-devel/gettext-0.19.8 + virtual/pkgconfig + vala? ( $(vala_depend) ) + test? ( >=net-libs/gnutls-3.6.0[pkcs11] ) +" +# test? ( www-servers/apache[ssl,apache2_modules_auth_digest,apache2_modules_alias,apache2_modules_auth_basic, +# apache2_modules_authn_file,apache2_modules_authz_host,apache2_modules_authz_user,apache2_modules_dir, +# apache2_modules_mime,apache2_modules_proxy,apache2_modules_proxy_http,apache2_modules_proxy_connect] +# dev-lang/php[apache2,xmlrpc] +# net-misc/curl +# net-libs/glib-networking[ssl])" + +PATCHES=( + # Disable apache tests until they are usable on Gentoo, bug #326957 + "${FILESDIR}"/disable-apache-tests.patch +) + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset + # https://gitlab.gnome.org/GNOME/libsoup/issues/159 - could work with libnss-myhostname + sed -e '/hsts/d' -i tests/meson.build || die +} + +src_configure() { + # FIXME: we need addpredict to workaround bug #324779 until + # root cause (bug #249496) is solved + # But unnecessary while apache tests are disabled + #addpredict /usr/share/snmp/mibs/.index + + multilib-minimal_src_configure +} + +multilib_src_configure() { + local emesonargs=( + $(meson_feature gssapi) + -Dkrb5_config="${CHOST}-krb5-config" + $(meson_feature samba ntlm) + $(meson_feature brotli) + -Dntlm_auth="${EPREFIX}/usr/bin/ntlm_auth" + -Dtls_check=false # disables check, we still rdep on glib-networking + $(meson_native_use_feature introspection) + $(meson_native_use_feature vala vapi) + $(meson_native_use_feature gtk-doc docs) + -Ddoc_tests=false + $(meson_use test tests) + -Dinstalled_tests=false + $(meson_feature sysprof) + $(meson_feature test pkcs11_tests) + ) + meson_src_configure +} + +multilib_src_install_all() { + if use gtk-doc; then + mkdir -p "${ED}"/usr/share/gtk-doc/html/ || die + mv "${ED}"/usr/share/doc/libsoup-3.0 "${ED}"/usr/share/gtk-doc/html/ || die + fi +} |