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: media-video/pipewire/, media-video/pipewire/files/
Date: Sun,  1 May 2022 19:52:59 +0000 (UTC)	[thread overview]
Message-ID: <1651434762.8505ba6d4d94a2aa5e6358edb32f31d5f8098401.sam@gentoo> (raw)

commit:     8505ba6d4d94a2aa5e6358edb32f31d5f8098401
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun May  1 19:52:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  1 19:52:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8505ba6d

media-video/pipewire: respect prefix for 99-pipewire-default-hook.conf

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-video/pipewire/files/99-pipewire-default-hook.conf | 6 +++---
 media-video/pipewire/pipewire-0.3.51-r1.ebuild           | 1 +
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/media-video/pipewire/files/99-pipewire-default-hook.conf b/media-video/pipewire/files/99-pipewire-default-hook.conf
index 172de5c27f60..7145accea809 100644
--- a/media-video/pipewire/files/99-pipewire-default-hook.conf
+++ b/media-video/pipewire/files/99-pipewire-default-hook.conf
@@ -1,15 +1,15 @@
 # Load pipewire configuration at conf hook processing time. This allows to
 # override pulseaudio defaults configuration which is also applied via hook.
 #
-# Note since hooks are run after /etc/asound.conf and ~/.asoundrc are applied,
+# Note since hooks are run after @GENTOO_PORTAGE_EPREFIX@/etc/asound.conf and ~/.asoundrc are applied,
 # we load these again here make sure that user configuration takes precedence.
 
 @hooks [
 	{
 		func load
 		files [
-			"/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf"
-			"/etc/asound.conf"
+			"@GENTOO_PORTAGE_EPREFIX@/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf"
+			"@GENTOO_PORTAGE_EPREFIX@/etc/asound.conf"
 			"~/.asoundrc"
 		]
 		errors false

diff --git a/media-video/pipewire/pipewire-0.3.51-r1.ebuild b/media-video/pipewire/pipewire-0.3.51-r1.ebuild
index b22860800f14..c28ecc739f33 100644
--- a/media-video/pipewire/pipewire-0.3.51-r1.ebuild
+++ b/media-video/pipewire/pipewire-0.3.51-r1.ebuild
@@ -240,6 +240,7 @@ multilib_src_install_all() {
 		# Install pipewire conf loader hook
 		insinto /usr/share/alsa/alsa.conf.d
 		doins "${FILESDIR}"/99-pipewire-default-hook.conf
+		eprefixify "${ED}"/usr/share/alsa/alsa.conf.d/99-pipewire-default-hook.conf
 
 		# These will break if someone has /etc that is a symbolic link to a subfolder! See #724222
 		# And the current dosym8 -r implementation is likely affected by the same issue, too.


             reply	other threads:[~2022-05-01 19:53 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-01 19:52 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-28 12:08 [gentoo-commits] repo/gentoo:master commit in: media-video/pipewire/, media-video/pipewire/files/ Sam James
2024-07-01  8:19 Sam James
2024-03-19  5:48 Sam James
2023-09-12  0:43 Sam James
2023-05-11  1:21 Sam James
2023-01-15 22:32 Sam James
2022-12-16  4:56 Sam James
2022-12-14  8:45 Sam James
2022-11-17 19:20 Sam James
2022-10-14 19:33 Sam James
2022-07-31  3:40 Sam James
2022-07-12 23:23 Sam James
2022-07-12 23:23 Sam James
2022-07-04 23:36 Sam James
2022-05-01 19:52 Sam James
2022-02-21  3:30 Sam James
2021-11-26 19:37 Andreas Sturmlechner
2021-10-24  1:58 Sam James
2021-10-13 21:11 Andreas Sturmlechner
2021-10-01  0:00 Sam James
2021-09-16 21:55 Sam James
2021-09-13 23:07 Sam James
2021-04-12 21:55 Thomas Deutschmann
2021-01-01 19:12 Andreas Sturmlechner
2020-06-28 15:36 Andreas Sturmlechner
2019-07-07 15:56 Andreas Sturmlechner

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=1651434762.8505ba6d4d94a2aa5e6358edb32f31d5f8098401.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