public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/apulse/
Date: Fri,  7 Jun 2024 13:15:10 +0000 (UTC)	[thread overview]
Message-ID: <1717766106.4021c7a0d13adccf9df582e57c82b76dc2da6808.juippis@gentoo> (raw)

commit:     4021c7a0d13adccf9df582e57c82b76dc2da6808
Author:     Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org>
AuthorDate: Wed Apr  3 22:21:57 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Jun  7 13:15:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4021c7a0

media-sound/apulse: update EAPI 7 -> 8

Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-sound/apulse/apulse-0.1.13-r3.ebuild | 71 ++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

diff --git a/media-sound/apulse/apulse-0.1.13-r3.ebuild b/media-sound/apulse/apulse-0.1.13-r3.ebuild
new file mode 100644
index 000000000000..8a3640b8115d
--- /dev/null
+++ b/media-sound/apulse/apulse-0.1.13-r3.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib multiprocessing
+
+DESCRIPTION="PulseAudio emulation for ALSA"
+HOMEPAGE="https://github.com/i-rinat/apulse"
+SRC_URI="https://github.com/i-rinat/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+
+IUSE="debug sdk test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/glib:2[${MULTILIB_USEDEP}]
+	media-libs/alsa-lib[${MULTILIB_USEDEP}]
+	sdk? ( !media-libs/libpulse !media-sound/pulseaudio ) "
+RDEPEND="${DEPEND}
+	!media-plugins/alsa-plugins[pulseaudio]"
+
+PATCHES=(
+	"${FILESDIR}/sdk.patch"
+	"${FILESDIR}/check-key-before-remove.patch"
+	"${FILESDIR}/man.patch"
+)
+
+src_prepare() {
+	cmake_src_prepare
+
+	if ! use sdk; then
+		# Ensure all relevant libdirs are added, to support all ABIs
+		DIRS=
+		_add_dir() { DIRS="${EPREFIX}/usr/$(get_libdir)/apulse${DIRS:+:${DIRS}}"; }
+		multilib_foreach_abi _add_dir
+		sed -e "s#@@DIRS@@#${DIRS}#g" "${FILESDIR}"/apulse > "${T}"/apulse || die
+	fi
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		"-DINSTALL_SDK=$(usex sdk)"
+		"-DLOG_TO_STDERR=$(usex debug)"
+		"-DWITH_TRACE=$(usex debug)"
+	)
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	_test() {
+		pushd tests || die
+		cmake -S "${S}/tests" -B . || die
+		emake test_ringbuffer
+		ctest -j "$(makeopts_jobs "${MAKEOPTS}" 999)" \
+			--test-load "$(makeopts_loadavg)" || die
+		popd || die
+	}
+	multilib_foreach_abi _test
+}
+
+multilib_src_install_all() {
+	if ! use sdk; then
+		_install_wrapper() { newbin "${BUILD_DIR}/apulse" "${CHOST}-apulse"; }
+		multilib_foreach_abi _install_wrapper
+		dobin "${T}/apulse"
+	fi
+	einstalldocs
+}


             reply	other threads:[~2024-06-07 13:15 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-07 13:15 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-20 23:43 [gentoo-commits] repo/gentoo:master commit in: media-sound/apulse/ Sam James
2025-05-20 14:09 Arthur Zamarin
2025-04-19 15:49 Joonas Niilola
2024-08-30 13:11 Andreas Sturmlechner
2024-08-30  5:44 Joonas Niilola
2024-08-30  5:44 Joonas Niilola
2024-06-07 13:15 Joonas Niilola
2022-05-01  7:30 Michał Górny
2022-02-21  0:49 Sam James
2022-02-11 16:17 Sam James
2022-02-11 16:14 Sam James
2022-02-11 16:13 Sam James
2020-10-11  7:42 Andrew Savchenko
2020-09-20 20:21 Agostino Sarubbo
2020-09-06 19:10 Andrew Savchenko
2020-08-25 18:20 Georgy Yakovlev
2020-06-27 18:01 Ben Kohler
2020-06-27 16:39 Andrew Savchenko
2018-10-20 11:49 Andrew Savchenko
2018-10-17 16:21 Mikle Kolyada
2018-10-17 12:07 Thomas Deutschmann
2018-10-01  9:28 Andrew Savchenko
2018-09-25 14:26 Andrew Savchenko
2018-09-22 20:53 Andrew Savchenko
2018-08-03 13:05 Andrew Savchenko
2017-08-23  6:42 Andrew Savchenko
2017-08-19  0:31 Thomas Deutschmann
2017-07-15 16:42 Tobias Klausmann
2017-07-09  1:25 Andrew Savchenko
2017-05-06  1:19 Daniel Campbell
2017-05-06  1:14 Daniel Campbell
2017-03-20  4:12 Daniel Campbell
2017-03-20  4:04 Daniel Campbell
2017-03-15  6:24 Daniel Campbell
2016-08-06 14:01 Andrew Savchenko
2016-03-06 22:14 Daniel Campbell
2015-12-25  9:23 Daniel Campbell
2015-08-30  9:47 Daniel Campbell

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=1717766106.4021c7a0d13adccf9df582e57c82b76dc2da6808.juippis@gentoo \
    --to=juippis@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