From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: net-libs/usockets/
Date: Thu, 25 Jun 2020 07:29:58 +0000 (UTC) [thread overview]
Message-ID: <1592964918.3001daa50fb79a450631a1bf00f773f422df658f.andrewammerlaan@gentoo> (raw)
commit: 3001daa50fb79a450631a1bf00f773f422df658f
Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Jun 24 02:15:18 2020 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Jun 24 02:15:18 2020 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3001daa5
net-libs/usockets: version bump to 0.4.1
Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
net-libs/usockets/Manifest | 1 +
net-libs/usockets/usockets-0.4.1.ebuild | 56 +++++++++++++++++++++++++++++++++
2 files changed, 57 insertions(+)
diff --git a/net-libs/usockets/Manifest b/net-libs/usockets/Manifest
index 773a4ab..29f39fa 100644
--- a/net-libs/usockets/Manifest
+++ b/net-libs/usockets/Manifest
@@ -1 +1,2 @@
DIST usockets-0.4.0.tar.gz 48367 BLAKE2B 025b83bd1f9778c469ad29bde0f8cab7fbc5f9b86e5cd97261b9aee77c2d26a67d22a185a17011e9c067acb23e0341c4112a00dbf270510013e1e863b5678ff1 SHA512 c480c6fd4a87ebe7d9db1928185075d52da63482f4ecc37f684fe10654e92de540badf47d2ab8e6021266a87308496189b39e95830d11924da0023a222decf2d
+DIST usockets-0.4.1.tar.gz 49955 BLAKE2B 581b5745c4b1562fe21ac81736ebc6db95ed9e25a47e3124fa4dbc25978cde9f901a651cbc99128952282407f506900cae79a59bb1aab8d5e951e114d1f8f3b7 SHA512 2fbb37e0d3768c4b79b100132edd4aea65c7483186394d9dd5729385031e257ebe7ba04e53cb67f796edbc035074268920a1fdb11be79a74cb83799a7b61f7c0
diff --git a/net-libs/usockets/usockets-0.4.1.ebuild b/net-libs/usockets/usockets-0.4.1.ebuild
new file mode 100644
index 0000000..0b4a1f0
--- /dev/null
+++ b/net-libs/usockets/usockets-0.4.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2019-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib
+
+DESCRIPTION="tiny eventing, networking & crypto for async applications"
+HOMEPAGE="https://github.com/uNetworking/uSockets"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/uNetworking/uSockets.git"
+else
+ SRC_URI="https://github.com/uNetworking/uSockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+ S="${WORKDIR}/uSockets-${PV}"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="libuv +ssl libressl static-libs"
+
+DEPEND="ssl? (
+ libressl? ( >=dev-libs/libressl-3.0.0:=[static-libs?] )
+ !libressl? ( >=dev-libs/openssl-1.1.0:=[static-libs?] )
+ )
+ libuv? ( dev-libs/libuv[static-libs?] )
+"
+BDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/usockets-Makefile.patch"
+)
+
+src_compile() {
+ # the Makefile uses environment variables
+ emake -j1 \
+ LIBusockets_VERSION=${PV} \
+ WITH_OPENSSL=$(usex ssl 1 0) \
+ WITH_LIBUV=$(usex libuv 1 0) \
+ default
+}
+
+src_install() {
+ emake -j1 \
+ libdir="/usr/$(get_libdir)" \
+ prefix="/usr" DESTDIR="${D}" \
+ LIBusockets_VERSION=${PV} \
+ install
+ einstalldocs
+ if ! use static-libs; then
+ rm "${D}/usr/$(get_libdir)/libusockets.a" || die
+ fi
+}
next reply other threads:[~2020-06-25 7:30 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-25 7:29 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-14 16:17 [gentoo-commits] repo/proj/guru:master commit in: net-libs/usockets/ David Roman
2024-05-16 17:59 Julien Roy
2024-05-02 15:42 David Roman
2024-05-02 15:42 David Roman
2021-09-21 9:52 [gentoo-commits] repo/proj/guru:dev " Arthur Zamarin
2021-09-21 10:02 ` [gentoo-commits] repo/proj/guru:master " Arthur Zamarin
2021-06-09 3:22 [gentoo-commits] repo/proj/guru:dev " Theo Anderson
2021-06-09 3:39 ` [gentoo-commits] repo/proj/guru:master " Theo Anderson
2021-05-03 9:52 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2021-05-03 10:11 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2021-04-23 12:25 Andrew Ammerlaan
2021-01-29 11:10 Andrew Ammerlaan
2021-01-29 11:10 Andrew Ammerlaan
2021-01-29 11:10 Andrew Ammerlaan
2021-01-29 11:10 Andrew Ammerlaan
2020-11-26 12:10 Andrew Ammerlaan
2020-11-23 22:06 Andrew Ammerlaan
2020-09-11 16:51 Andrew Ammerlaan
2020-07-30 16:16 Andrew Ammerlaan
2020-06-26 14:46 Andrew Ammerlaan
2020-06-25 7:29 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1592964918.3001daa50fb79a450631a1bf00f773f422df658f.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox