Gentoo Archives: gentoo-commits

From: Oliver Freyermuth <o.freyermuth@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/mpv-mpris/
Date: Thu, 22 Apr 2021 22:18:25
Message-Id: 1619129889.48ba306a591d62cad7b1b8d91d7822c414377ea1.freyermuth@gentoo
1 commit: 48ba306a591d62cad7b1b8d91d7822c414377ea1
2 Author: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
3 AuthorDate: Thu Apr 22 22:18:09 2021 +0000
4 Commit: Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
5 CommitDate: Thu Apr 22 22:18:09 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48ba306a
7
8 media-video/mpv-mpris: Do not call cc directly.
9
10 Closes: https://bugs.gentoo.org/785124
11 Package-Manager: Portage-3.0.17, Repoman-3.0.2
12 Signed-off-by: Oliver Freyermuth <o.freyermuth <AT> googlemail.com>
13
14 media-video/mpv-mpris/mpv-mpris-0.5.ebuild | 8 +++++++-
15 media-video/mpv-mpris/mpv-mpris-9999.ebuild | 8 +++++++-
16 2 files changed, 14 insertions(+), 2 deletions(-)
17
18 diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
19 index 025424181..ef693dac1 100644
20 --- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
21 +++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild
22 @@ -1,8 +1,10 @@
23 -# Copyright 1999-2020 Gentoo Authors
24 +# Copyright 1999-2021 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=7
28
29 +inherit toolchain-funcs
30 +
31 DESCRIPTION="MPRIS plugin for mpv"
32 HOMEPAGE="https://github.com/hoyon/mpv-mpris"
33
34 @@ -27,6 +29,10 @@ DOCS=(
35 README.md
36 )
37
38 +src_compile() {
39 + emake CC="$(tc-getCC)"
40 +}
41 +
42 src_install() {
43 insinto "/usr/$(get_libdir)/mpv"
44 doins mpris.so
45
46 diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
47 index 025424181..ef693dac1 100644
48 --- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild
49 +++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild
50 @@ -1,8 +1,10 @@
51 -# Copyright 1999-2020 Gentoo Authors
52 +# Copyright 1999-2021 Gentoo Authors
53 # Distributed under the terms of the GNU General Public License v2
54
55 EAPI=7
56
57 +inherit toolchain-funcs
58 +
59 DESCRIPTION="MPRIS plugin for mpv"
60 HOMEPAGE="https://github.com/hoyon/mpv-mpris"
61
62 @@ -27,6 +29,10 @@ DOCS=(
63 README.md
64 )
65
66 +src_compile() {
67 + emake CC="$(tc-getCC)"
68 +}
69 +
70 src_install() {
71 insinto "/usr/$(get_libdir)/mpv"
72 doins mpris.so