* [gentoo-commits] repo/gentoo:master commit in: net-libs/wslay/
@ 2022-08-16 0:01 Ionen Wolkens
0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2022-08-16 0:01 UTC (permalink / raw
To: gentoo-commits
commit: 8fe2bddc020d6b66bac560b5b2f6c03c47fe2830
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 08:59:48 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Aug 16 00:00:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8fe2bddc
net-libs/wslay: new package, add 1.1.1_p20210115
To unbundle from godot, this is the same snapshot (and current
latest commit) that godot uses.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-libs/wslay/Manifest | 1 +
net-libs/wslay/metadata.xml | 11 +++++++
net-libs/wslay/wslay-1.1.1_p20210115.ebuild | 46 +++++++++++++++++++++++++++++
3 files changed, 58 insertions(+)
diff --git a/net-libs/wslay/Manifest b/net-libs/wslay/Manifest
new file mode 100644
index 000000000000..664d4098dc5d
--- /dev/null
+++ b/net-libs/wslay/Manifest
@@ -0,0 +1 @@
+DIST wslay-1.1.1_p20210115.tar.gz 57514 BLAKE2B 1808814cf9cecc874f341989f14b36d53c9386681934f86547274dd9c926d1add84182960f02f0f2738e55723da17b99b16f046eea75ed1ec65be997d274ed21 SHA512 97fd58fba956162ebba8f824748ad3c161afb6a72e6e5db515f94a81edb99ddcd8eb332de4ffd08cb36f79010761036e4432e6d93b000ac5e4b0a88deeda9023
diff --git a/net-libs/wslay/metadata.xml b/net-libs/wslay/metadata.xml
new file mode 100644
index 000000000000..47029d119abf
--- /dev/null
+++ b/net-libs/wslay/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tatsuhiro-t/wslay</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
new file mode 100644
index 000000000000..4ddb9775de62
--- /dev/null
+++ b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+WSLAY_HASH="45d22583b488f79d5a4e598cc7675c191c5ab53f"
+
+DESCRIPTION="WebSocket library in C"
+HOMEPAGE="https://tatsuhiro-t.github.io/wslay/"
+SRC_URI="https://github.com/tatsuhiro-t/wslay/archive/${WSLAY_HASH}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${WSLAY_HASH}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-util/cunit )"
+BDEPEND="doc? ( dev-python/sphinx )"
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ local econfargs=(
+ # no options... and cmake build has different issues
+ $(usev !doc ac_cv_path_SPHINX_BUILD=)
+ $(usev !test ac_cv_lib_cunit_CU_initialize_registry=)
+ PKG_CONFIG=false # disables examples by failing to find nettle
+ )
+
+ econf "${econfargs[@]}"
+}
+
+src_install() {
+ local DOCS=( AUTHORS NEWS README.rst ) # skip non-rst README
+ default
+
+ find "${ED}" -type f -name '*.la' -delete || die
+}
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/wslay/
@ 2024-01-03 2:48 Ionen Wolkens
0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2024-01-03 2:48 UTC (permalink / raw
To: gentoo-commits
commit: cdaa6e6af83924d8146920ce0bdcc390de01680e
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 3 02:35:13 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 3 02:47:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cdaa6e6a
net-libs/wslay: workaround docs build race condition
If USE=doc cause more issues for bigger reasons, may just remove
that as it'd likely not worth worrying about without any upstream
activity.
...and then there'd be the option to switch to cmake, vaguely
recall did not use it because it did not support building docs.
May need less workarounds than current autoconf usage.
Closes: https://bugs.gentoo.org/921192
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-libs/wslay/wslay-1.1.1_p20210115.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
index 4ddb9775de62..03e102a9da97 100644
--- a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
+++ b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -38,6 +38,10 @@ src_configure() {
econf "${econfargs[@]}"
}
+src_compile() {
+ emake $(usev doc -j1) #921192
+}
+
src_install() {
local DOCS=( AUTHORS NEWS README.rst ) # skip non-rst README
default
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/wslay/
@ 2024-08-16 9:48 Ionen Wolkens
0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2024-08-16 9:48 UTC (permalink / raw
To: gentoo-commits
commit: 097c11711f5626311f63ff26f5cc7e6b20e95d97
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 09:46:39 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 09:47:27 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=097c1171
net-libs/wslay: add missing pkgconfig bdep
Closes: https://bugs.gentoo.org/938002
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-libs/wslay/wslay-1.1.1_p20210115.ebuild | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
index 03e102a9da97..dffeed24e492 100644
--- a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
+++ b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
@@ -18,8 +18,13 @@ KEYWORDS="~amd64"
IUSE="doc test"
RESTRICT="!test? ( test )"
-DEPEND="test? ( dev-util/cunit )"
-BDEPEND="doc? ( dev-python/sphinx )"
+DEPEND="
+ test? ( dev-util/cunit )
+"
+BDEPEND="
+ virtual/pkgconfig
+ doc? ( dev-python/sphinx )
+"
src_prepare() {
default
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: net-libs/wslay/
@ 2024-08-16 10:22 Ionen Wolkens
0 siblings, 0 replies; 4+ messages in thread
From: Ionen Wolkens @ 2024-08-16 10:22 UTC (permalink / raw
To: gentoo-commits
commit: 9f49334dc89ad535327abadab880df89c9799140
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 10:02:28 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 10:21:29 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f49334d
net-libs/wslay: use different method to disable examples
Keeping the dependency on pkg-config due to the macro usage.
Closes: https://bugs.gentoo.org/938003
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
net-libs/wslay/wslay-1.1.1_p20210115.ebuild | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
index dffeed24e492..44486fa55aa1 100644
--- a/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
+++ b/net-libs/wslay/wslay-1.1.1_p20210115.ebuild
@@ -29,6 +29,9 @@ BDEPEND="
src_prepare() {
default
+ # skip unnecessary examples & automagic dependency on nettle
+ sed -i '/build_examples=/s/yes/no/' configure.ac || die
+
eautoreconf
}
@@ -37,7 +40,6 @@ src_configure() {
# no options... and cmake build has different issues
$(usev !doc ac_cv_path_SPHINX_BUILD=)
$(usev !test ac_cv_lib_cunit_CU_initialize_registry=)
- PKG_CONFIG=false # disables examples by failing to find nettle
)
econf "${econfargs[@]}"
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-08-16 10:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-16 0:01 [gentoo-commits] repo/gentoo:master commit in: net-libs/wslay/ Ionen Wolkens
-- strict thread matches above, loose matches on Subject: below --
2024-01-03 2:48 Ionen Wolkens
2024-08-16 9:48 Ionen Wolkens
2024-08-16 10:22 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox