diff options
Diffstat (limited to 'dev-libs/libstrophe')
-rw-r--r-- | dev-libs/libstrophe/Manifest | 6 | ||||
-rw-r--r-- | dev-libs/libstrophe/libstrophe-0.12.0.ebuild | 6 | ||||
-rw-r--r-- | dev-libs/libstrophe/libstrophe-0.12.1.ebuild | 8 | ||||
-rw-r--r-- | dev-libs/libstrophe/libstrophe-0.12.2.ebuild | 49 |
4 files changed, 54 insertions, 15 deletions
diff --git a/dev-libs/libstrophe/Manifest b/dev-libs/libstrophe/Manifest index 03accaa4c801..6b7837786b4a 100644 --- a/dev-libs/libstrophe/Manifest +++ b/dev-libs/libstrophe/Manifest @@ -1,5 +1,7 @@ DIST libstrophe-0.12.0.tar.xz 397120 BLAKE2B 6ac32e317e14a8641b1d092026772264682b7b0980158757a82036f3db2643a6429e5553d9173b578111d5b8b503e9a98a4e140f98f8ac03866758624a1cec67 SHA512 dd0fc54840bb5626859f91c7bbe5204ea89332856392a5a33c50cf7f66c8aaa7b0d7c24bd737e8473d63f2c9d7683a75dcb9465a19634d14e54c9f8f20580884 DIST libstrophe-0.12.1.tar.xz 398492 BLAKE2B 9f0e06952603d51a0697366a83d6fa80af09161858d87bee8cfd95786944a58ad1551155b8b7a982646f775a695432822f33b36c6e52161db145dca98050689e SHA512 54e255f756a6705dc554ce75dd6b4ea889822774ca38042548480ea026a7f4d411b4ba30f3aaf88776a0d8437f51eb07fb3675ddbfb0afd661d5f965b280dd52 -EBUILD libstrophe-0.12.0.ebuild 1251 BLAKE2B 98d7083591a20d015b84e5b27a8f338a8ac0c4e10f2fee56f4da13f84f40c965c69851473abf0b3341f4004254ff4fa2c1c539086ef098d12e364a11e623a4ad SHA512 cbbdcfc9e5fe30ba3374e85460d206c754278552b1bb50eb087d60a3541b0043ff77ef8751828c995afdef804bc339ff71b97ffa0b87314a5138ccb3df074571 -EBUILD libstrophe-0.12.1.ebuild 1231 BLAKE2B 98d52c2c1dbdbf6134814b683be8ca553620419612b1b28c0f3c8701fe3e846c5a78a9b59242f9e0468c2f1cab0fc80edc217f3d0bb5c473fe2e75fe677981af SHA512 a48e29ef06a4f22094c74bc55efc9f919a68524edb79de096e8c155d7de559bc4c88e2e93684dd2a3ac4d15a734241b89cbb7c5d3cd670e79ba1d444ef336627 +DIST libstrophe-0.12.2.tar.xz 400092 BLAKE2B 28b655e4bf3a279f837fd26e7c7ba34cd32053ad16be660c04d1c07b5335d805e9745cd24af584ed62f8ae44caebd8bda48473872163c122ecbcd57f042fc3db SHA512 1026f57b107a0ff8f088a5c7f1d88b3b5a35d0e6bfefb4f6eb56de37fe9fd2f554f547663a41353b7c6b01a2aa47f6cab4a9f7a7c87ba8c0c7708d7b2b4c2086 +EBUILD libstrophe-0.12.0.ebuild 1098 BLAKE2B 26ddb67d356153b17703001dde23cb867421a8d0aece702c614c3109a2e0ad67b56faf83d5cb81c2d44964d077a79319a365915aa9aae967914bdba0b906d91c SHA512 7870002f1358c72bf8404f897398eced26ae070a496bd341d3b9185d377d375f254a49df5009b8f35d27880f11f761d6abd4c0fa1bdf61b33cc87faa8e9802b3 +EBUILD libstrophe-0.12.1.ebuild 1077 BLAKE2B 2101b4722ecb56a4b44c996ea117101ac2bb5210b5e9c2985f5e4313786529167e6d18f08af512970548c0f5abdb06f023a8ed9d0f57f4f412fe5c4a01138648 SHA512 d393ebdac2d807007ae611cc00f459409cec134f1b870b5c2de06d7302eb8f5ac2f85b4ecee9e4d34631c4ffa0ab256782a91b3af099d29963280b8854d4d6ee +EBUILD libstrophe-0.12.2.ebuild 1078 BLAKE2B 458b0073edc90736f2752d386ddd79497b40061452011a1fe1ad09b9931ba96d3aff9bb78e0a8ce74900b7e242affb226301d02c1a73bebcad76585a478954d6 SHA512 6d0e08338357ea7027cb238bfc83fcb54b90042f4e17d643e931eab3d93bbe9e76383d053ff7f378278b721d013c83c4cd76373488c370a7c19ae715175d9c8e MISC metadata.xml 711 BLAKE2B 0fc95d72ff0d9dbf1765e8b2ddf7182d6543cecdd275798e79ad8bdf8bc494234f6fcd8acc76c6d3e87f6f4159d4b0ea0e70706932628173b1b75bed6c788701 SHA512 d8eb8fcbadee45ff2d411d766e3fba2afb18b2516eb4172ff2b072ef9b5469d7a92c32a4b70e989fd0b56eeaaad39d5f187748f7aedc6dca32493b1f2d0ca817 diff --git a/dev-libs/libstrophe/libstrophe-0.12.0.ebuild b/dev-libs/libstrophe/libstrophe-0.12.0.ebuild index fb98239a890e..e883a03f6c63 100644 --- a/dev-libs/libstrophe/libstrophe-0.12.0.ebuild +++ b/dev-libs/libstrophe/libstrophe-0.12.0.ebuild @@ -48,9 +48,3 @@ src_install() { use doc && dodoc -r examples find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die } - -# Explicit src_test is there to document that the test suite is integrated and -# is expected to pass. Please do not remove. -src_test() { - emake check -} diff --git a/dev-libs/libstrophe/libstrophe-0.12.1.ebuild b/dev-libs/libstrophe/libstrophe-0.12.1.ebuild index a070ad9748ba..a491acaf81f5 100644 --- a/dev-libs/libstrophe/libstrophe-0.12.1.ebuild +++ b/dev-libs/libstrophe/libstrophe-0.12.1.ebuild @@ -8,7 +8,7 @@ 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" +KEYWORDS="amd64" IUSE="doc expat gnutls" RDEPEND=" @@ -47,9 +47,3 @@ src_install() { use doc && dodoc -r examples find "${D}" -type f \( -name '*.la' -o -name '*.a' \) -delete || die } - -# Explicit src_test is there to document that the test suite is integrated and -# is expected to pass. Please do not remove. -src_test() { - emake check -} diff --git a/dev-libs/libstrophe/libstrophe-0.12.2.ebuild b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild new file mode 100644 index 000000000000..77bb69760d4a --- /dev/null +++ b/dev-libs/libstrophe/libstrophe-0.12.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +DESCRIPTION="A simple, lightweight C library for writing XMPP clients" +HOMEPAGE="http://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" +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 +} |