public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/aml/
Date: Sat, 11 Dec 2021 02:34:42 +0000 (UTC)	[thread overview]
Message-ID: <1639190070.f1bcd1732a3194be1a7f69bf48d3dc42c332ff4f.sam@gentoo> (raw)

commit:     f1bcd1732a3194be1a7f69bf48d3dc42c332ff4f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 11 02:26:32 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 11 02:34:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1bcd173

dev-libs/aml: add 0.2.1, fix musl build

* Add 0.2.1
* Fixes musl build by depending on queue-standalone.

Closes: https://bugs.gentoo.org/828806
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/aml/Manifest                              |  1 +
 dev-libs/aml/{aml-9999.ebuild => aml-0.2.1.ebuild} | 20 ++++++++++++++++----
 dev-libs/aml/aml-9999.ebuild                       | 20 ++++++++++++++++----
 3 files changed, 33 insertions(+), 8 deletions(-)

diff --git a/dev-libs/aml/Manifest b/dev-libs/aml/Manifest
index 4b5e3e0dab4e..26e539a0c75f 100644
--- a/dev-libs/aml/Manifest
+++ b/dev-libs/aml/Manifest
@@ -1 +1,2 @@
 DIST aml-0.2.0.tar.gz 20358 BLAKE2B 4be63726ea9069cbfe36fbf04e3a0b2229066d7df039aea1a41fdca27700d012fda9eda348115f8c0ef9d3f201640123722d0b96bc7b171841d920357a292152 SHA512 196cd891fdbaad47340d8b4ca9eb62a7f9e6b0969ae9ad744a3c9ea110a532691d53a1e39fde583bad0f8fdae4b51c3a4243bbdab65e952e5fc79ceb6efc3262
+DIST aml-0.2.1.tar.gz 20413 BLAKE2B 62f8cc0e75f23ac7dc8835dd874f584cdb5b394b0d7af08feded06b99ccff66395e0ec04bdd26917ef7784457dc170c2c99bc98a118ecff947602e4d9a60bf21 SHA512 0af4a50cafbddd2a593dac437e6c8121de5265d0383139818bcda97d672a7430cb410ce32552b6842bc82eaebb061bc6cc0ee1b45a483754efbdfbc2103fa2e3

diff --git a/dev-libs/aml/aml-9999.ebuild b/dev-libs/aml/aml-0.2.1.ebuild
similarity index 55%
copy from dev-libs/aml/aml-9999.ebuild
copy to dev-libs/aml/aml-0.2.1.ebuild
index db62c0b53724..5ff10f20992d 100644
--- a/dev-libs/aml/aml-9999.ebuild
+++ b/dev-libs/aml/aml-0.2.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit meson
 
-DESCRIPTION="event timer executor loop"
+DESCRIPTION="Event timer executor loop"
 HOMEPAGE="https://github.com/any1/aml/"
 
 if [[ ${PV} == 9999 ]]; then
@@ -13,16 +13,28 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/any1/aml.git"
 else
 	SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64 ~riscv ~x86"
 fi
 
 LICENSE="ISC"
 SLOT="0"
 IUSE="examples"
 
+DEPEND="elibc_musl? ( sys-libs/queue-standalone )"
+
+src_prepare() {
+	default
+
+	# The bundled copy includes cdefs which breaks on musl and
+	# this header is already available on glibc.
+	# bug #828806
+	rm include/sys/queue.h || die
+}
+
 src_configure() {
 	local emesonargs=(
 		$(meson_use examples)
 	)
+
 	meson_src_configure
 }

diff --git a/dev-libs/aml/aml-9999.ebuild b/dev-libs/aml/aml-9999.ebuild
index db62c0b53724..5ff10f20992d 100644
--- a/dev-libs/aml/aml-9999.ebuild
+++ b/dev-libs/aml/aml-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit meson
 
-DESCRIPTION="event timer executor loop"
+DESCRIPTION="Event timer executor loop"
 HOMEPAGE="https://github.com/any1/aml/"
 
 if [[ ${PV} == 9999 ]]; then
@@ -13,16 +13,28 @@ if [[ ${PV} == 9999 ]]; then
 	EGIT_REPO_URI="https://github.com/any1/aml.git"
 else
 	SRC_URI="https://github.com/any1/aml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-	KEYWORDS="~amd64 ~x86"
+	KEYWORDS="~amd64 ~riscv ~x86"
 fi
 
 LICENSE="ISC"
 SLOT="0"
 IUSE="examples"
 
+DEPEND="elibc_musl? ( sys-libs/queue-standalone )"
+
+src_prepare() {
+	default
+
+	# The bundled copy includes cdefs which breaks on musl and
+	# this header is already available on glibc.
+	# bug #828806
+	rm include/sys/queue.h || die
+}
+
 src_configure() {
 	local emesonargs=(
 		$(meson_use examples)
 	)
+
 	meson_src_configure
 }


             reply	other threads:[~2021-12-11  2:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-11  2:34 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-28 22:28 [gentoo-commits] repo/gentoo:master commit in: dev-libs/aml/ Ionen Wolkens
2024-04-26  0:14 Sam James
2024-04-26  0:14 Sam James
2024-04-25 22:18 Sam James
2024-04-25 22:18 Sam James
2023-11-29  4:23 Sam James
2023-01-13 12:37 Arthur Zamarin
2022-12-31 13:02 Arthur Zamarin
2022-12-26  1:49 WANG Xuerui
2022-12-26  1:49 WANG Xuerui
2022-12-24 17:12 James Le Cuirot
2021-07-21  2:22 Yixun Lan
2021-01-25 14:55 Aaron Bauman

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=1639190070.f1bcd1732a3194be1a7f69bf48d3dc42c332ff4f.sam@gentoo \
    --to=sam@gentoo.org \
    --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