public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/libsigrokdecode/
Date: Mon, 02 Jun 2025 15:19:27 +0000 (UTC)	[thread overview]
Message-ID: <1748877243.e051f8623201ec11a260f3ed96fa486bccc10fe2.asturm@gentoo> (raw)

commit:     e051f8623201ec11a260f3ed96fa486bccc10fe2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 10:57:06 2025 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jun  2 15:14:03 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e051f862

sci-libs/libsigrokdecode: add 0.6.0_pre20241001

Bug: https://bugs.gentoo.org/948044
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 sci-libs/libsigrokdecode/Manifest                  |  1 +
 .../libsigrokdecode-0.6.0_pre20241001.ebuild       | 78 ++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/sci-libs/libsigrokdecode/Manifest b/sci-libs/libsigrokdecode/Manifest
index f549ae22ea40..5463cbab79e4 100644
--- a/sci-libs/libsigrokdecode/Manifest
+++ b/sci-libs/libsigrokdecode/Manifest
@@ -1 +1,2 @@
 DIST libsigrokdecode-0.5.3.tar.gz 892783 BLAKE2B 45bae2488e4872be3bb891813083ed540617ac88558bb6c2d971fbb0c05585d3fcb74192fc83ce7d67ee466bc04c61fbccf6f475e549b80c86fe5f0cc191c7c1 SHA512 23393504b68135ed4ae8e8a654df024620af02e84fa3955956c61899388812229108155b4ae8d946e61f33dc8a8807db090d608350548a7a717d966442b07b9e
+DIST libsigrokdecode-71f4514.zip 846498 BLAKE2B 5a44a51524ad5c2c476d32bd5dc5eaa8a20f4455d07318b3d388707985c3efde68bd5f9364ecf8faa60b245a8d04d61f2b87e584dc47161c15d8fda34f1996a2 SHA512 0e1fde37dc9579e7eaa4b917e63335d7bd3a9072a33dbc01ae23ebcd5bc0a20e1c30f2e0686e05210a887db4d1cf75a983aad38b8a29d132e7aa1f4c9083370f

diff --git a/sci-libs/libsigrokdecode/libsigrokdecode-0.6.0_pre20241001.ebuild b/sci-libs/libsigrokdecode/libsigrokdecode-0.6.0_pre20241001.ebuild
new file mode 100644
index 000000000000..fe5104a11e49
--- /dev/null
+++ b/sci-libs/libsigrokdecode/libsigrokdecode-0.6.0_pre20241001.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+inherit autotools python-single-r1
+
+case ${PV} in
+*9999*)
+	EGIT_REPO_URI="https://github.com/sigrokproject/${PN}.git"
+	inherit git-r3
+	S="${WORKDIR}"/${P}
+	;;
+*_p*)
+	inherit unpacker
+	COMMIT="71f451443029322d57376214c330b518efd84f88"
+	SRC_URI="https://sigrok.org/gitweb/?p=${PN}.git;a=snapshot;h=${COMMIT};sf=zip -> ${PN}-${COMMIT:0:7}.zip"
+	S="${WORKDIR}"/${PN}-${COMMIT:0:7}
+	;;
+*)
+	SRC_URI="https://sigrok.org/download/source/${PN}/${P}.tar.gz"
+	S="${WORKDIR}"/${P}
+	;;
+esac
+
+DESCRIPTION="Provide (streaming) protocol decoding functionality"
+HOMEPAGE="https://sigrok.org/wiki/Libsigrokdecode"
+
+LICENSE="GPL-3"
+if [[ ${PV} == *9999* ]]; then
+	SLOT="0/9999"
+else
+	SLOT="0/4"
+	KEYWORDS="~amd64 ~x86"
+fi
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}
+	>=dev-libs/glib-2.34.0
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+[[ ${PV} == *_p* ]] && BDEPEND+=" app-arch/unzip"
+
+src_unpack() {
+	case ${PV} in
+	*9999*)
+		git-r3_src_unpack ;;
+	*_p*)
+		unpack_zip ${A} ;;
+	esac
+	default
+}
+
+src_prepare() {
+	default
+
+	# bug #794592
+	sed -e "s/\[SRD_PKGLIBS\],\$/& [python-${EPYTHON#python}-embed], [python-${EPYTHON#python}],/" \
+		-i configure.ac || die
+
+	eautoreconf
+}
+
+src_configure() {
+	econf PYTHON3="${PYTHON}"
+}
+
+src_test() {
+	emake check
+}
+
+src_install() {
+	default
+	python_optimize "${D}"/usr/share/libsigrokdecode/decoders
+	find "${D}" -name '*.la' -type f -delete || die
+}


             reply	other threads:[~2025-06-02 15:19 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-02 15:19 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-02 15:19 [gentoo-commits] repo/gentoo:master commit in: sci-libs/libsigrokdecode/ Andreas Sturmlechner
2025-02-17 21:41 Andreas Sturmlechner
2024-08-31 16:00 Sven Wegener
2024-06-11 16:47 Sam James
2023-02-26 20:03 Sven Wegener
2023-02-26 20:03 Sven Wegener
2023-02-26 20:03 Sven Wegener
2022-01-08 15:47 Sven Wegener
2021-09-16  1:25 Sam James
2020-07-06 20:24 Sven Wegener
2020-07-06 18:16 Andreas Sturmlechner
2020-07-06 18:16 Andreas Sturmlechner
2020-07-06 18:16 Andreas Sturmlechner
2019-12-31 15:13 Sven Wegener
2019-04-12 15:45 Sven Wegener
2019-03-21 18:12 Michał Górny
2018-12-08 21:34 Sven Wegener
2018-10-03 19:37 Sven Wegener
2018-10-03 19:37 Sven Wegener
2018-06-18 13:08 Sven Wegener
2018-04-11  9:40 David Seifert
2017-11-07 22:13 Sven Wegener
2017-07-01 20:52 Sven Wegener
2017-07-01 20:52 Sven Wegener
2017-05-29 16:33 Pacho Ramos
2016-12-30 18:44 Sven Wegener
2016-08-03 11:41 Sven Wegener
2016-08-03 11:41 Sven Wegener

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=1748877243.e051f8623201ec11a260f3ed96fa486bccc10fe2.asturm@gentoo \
    --to=asturm@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