diff options
author | Michael Vetter <jubalh@iodoru.org> | 2023-08-03 08:26:38 +0000 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-08-17 14:35:05 +0200 |
commit | 75d4f2c9b3364fd3a81e0347a47bb38c070f152d (patch) | |
tree | 975e27b52df9f2d0a1bc5768ebd3e5f6b734569d /dev-libs | |
parent | media-libs/libplacebo: note meson changes in python patch (diff) | |
download | gentoo-75d4f2c9b3364fd3a81e0347a47bb38c070f152d.tar.gz gentoo-75d4f2c9b3364fd3a81e0347a47bb38c070f152d.tar.bz2 gentoo-75d4f2c9b3364fd3a81e0347a47bb38c070f152d.zip |
dev-libs/libstrophe: add 0.12.3
Signed-off-by: Michael Vetter <jubalh@iodoru.org>
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libstrophe/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libstrophe/libstrophe-0.12.3.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-libs/libstrophe/Manifest b/dev-libs/libstrophe/Manifest index 2ef97da97df0..fd74dd5d1a75 100644 --- a/dev-libs/libstrophe/Manifest +++ b/dev-libs/libstrophe/Manifest @@ -1,2 +1,3 @@ DIST libstrophe-0.12.2.tar.xz 400092 BLAKE2B 28b655e4bf3a279f837fd26e7c7ba34cd32053ad16be660c04d1c07b5335d805e9745cd24af584ed62f8ae44caebd8bda48473872163c122ecbcd57f042fc3db SHA512 1026f57b107a0ff8f088a5c7f1d88b3b5a35d0e6bfefb4f6eb56de37fe9fd2f554f547663a41353b7c6b01a2aa47f6cab4a9f7a7c87ba8c0c7708d7b2b4c2086 +DIST libstrophe-0.12.3.tar.xz 399056 BLAKE2B 9e7e344d46c78393ee2386a842895e29c417eeffbf41bd2e1c775f16bd40cb2387b59e56955a5331242af74932f61abb8afec2bda49c97063689b976b4892a52 SHA512 fa0fcb91c47197391f3b7f186b49ca4921f1937e2d1c9d25afdb73ee766bbeae5efbdeddde9cb6361eb58997c2fb136e2c1ed73a62f8c5618805a9555c473e0b DIST libstrophe-fix-configure-bashisms.patch 1274 BLAKE2B d9308e2687eab255f94ac2b0e030f4d0424e56c3d129f544eb75fb25addf57485de0e210afe12bad29d3b92db6bf4e7400c4152707f6316921a1f2d4aa1b9367 SHA512 a2fdea484ba4e5bce4982ae5d5699df6bf2169027e7f62865baa7a7049a264d16a9dcda05826bbd942a1cc256e8559c6dfb6883913edf7f4711f5ce2601b83c5 diff --git a/dev-libs/libstrophe/libstrophe-0.12.3.ebuild b/dev-libs/libstrophe/libstrophe-0.12.3.ebuild new file mode 100644 index 000000000000..84880fd6c622 --- /dev/null +++ b/dev-libs/libstrophe/libstrophe-0.12.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A simple, lightweight C library for writing XMPP clients" +HOMEPAGE="https://strophe.im/libstrophe/" +SRC_URI=" + https://github.com/strophe/${PN}/releases/download/${PV}/${P}.tar.xz +" +LICENSE="|| ( MIT GPL-3 )" +# Subslot: ${SONAME}.1 to differentiate from previous versions without SONAME +SLOT="0/0.1" +KEYWORDS="~amd64 ~arm64" +IUSE="doc expat gnutls" + +RDEPEND=" + expat? ( dev-libs/expat ) + !expat? ( dev-libs/libxml2:2 ) + gnutls? ( net-libs/gnutls:0= ) + !gnutls? ( dev-libs/openssl:0= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +DOCS=( ChangeLog ) + +src_configure() { + # shellcheck disable=SC2207 + local myeconf=( + --enable-tls + $(use_with !expat libxml2) + $(use_with gnutls) + ) + econf "${myeconf[@]}" +} + +src_compile() { + default + if use doc; then + doxygen || die + HTML_DOCS=( docs/html/* ) + fi +} + +src_install() { + default + use doc && dodoc -r examples + find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die +} |