Skip to content

Commit

Permalink
media-video/mpv-mpris: Do not call cc directly.
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/785124
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
  • Loading branch information
olifre committed Apr 22, 2021
1 parent b4ad2d8 commit 48ba306
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion media-video/mpv-mpris/mpv-mpris-0.5.ebuild
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="MPRIS plugin for mpv"
HOMEPAGE="https://github.com/hoyon/mpv-mpris"

Expand All @@ -27,6 +29,10 @@ DOCS=(
README.md
)

src_compile() {
emake CC="$(tc-getCC)"
}

src_install() {
insinto "/usr/$(get_libdir)/mpv"
doins mpris.so
Expand Down
8 changes: 7 additions & 1 deletion media-video/mpv-mpris/mpv-mpris-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Copyright 1999-2020 Gentoo Authors
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="MPRIS plugin for mpv"
HOMEPAGE="https://github.com/hoyon/mpv-mpris"

Expand All @@ -27,6 +29,10 @@ DOCS=(
README.md
)

src_compile() {
emake CC="$(tc-getCC)"
}

src_install() {
insinto "/usr/$(get_libdir)/mpv"
doins mpris.so
Expand Down

0 comments on commit 48ba306

Please sign in to comment.