Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/pulseaudio/
Date: Fri, 22 Jun 2018 10:10:02
Message-Id: 1529662194.fa966f8dc24b4f0a0f48dfc2f046bcdd88fe9541.polynomial-c@gentoo
1 commit: fa966f8dc24b4f0a0f48dfc2f046bcdd88fe9541
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 22 10:09:40 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 22 10:09:54 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa966f8d
7
8 media-sound/pulseaudio: Minor ebuild simplifications.
9
10 Package-Manager: Portage-2.3.40, Repoman-2.3.9
11
12 media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild | 14 ++++++--------
13 1 file changed, 6 insertions(+), 8 deletions(-)
14
15 diff --git a/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild b/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild
16 index 7244e687d13..4b4924da944 100644
17 --- a/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild
18 +++ b/media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild
19 @@ -277,6 +277,12 @@ multilib_src_install_all() {
20 doinitd "${T}/pulseaudio"
21
22 systemd_dounit "${FILESDIR}/${PN}.service"
23 +
24 + # We need /var/run/pulse, bug #442852
25 + systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf"
26 + else
27 + # Prevent warnings when system-wide is not used, bug #447694
28 + rm "${ED%/}"/etc/dbus-1/system.d/pulseaudio-system.conf || die
29 fi
30
31 if use zeroconf ; then
32 @@ -289,14 +295,6 @@ multilib_src_install_all() {
33 # Create the state directory
34 use prefix || diropts -o pulse -g pulse -m0755
35
36 - # We need /var/run/pulse, bug #442852
37 - use system-wide && systemd_newtmpfilesd "${FILESDIR}/${PN}.tmpfiles" "${PN}.conf"
38 -
39 - # Prevent warnings when system-wide is not used, bug #447694
40 - if ! use system-wide ; then
41 - rm "${ED}"/etc/dbus-1/system.d/pulseaudio-system.conf || die
42 - fi
43 -
44 find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
45 }