diff --git a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild index 0254241812..ef693dac18 100644 --- a/media-video/mpv-mpris/mpv-mpris-0.5.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-0.5.ebuild @@ -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" @@ -27,6 +29,10 @@ DOCS=( README.md ) +src_compile() { + emake CC="$(tc-getCC)" +} + src_install() { insinto "/usr/$(get_libdir)/mpv" doins mpris.so diff --git a/media-video/mpv-mpris/mpv-mpris-9999.ebuild b/media-video/mpv-mpris/mpv-mpris-9999.ebuild index 0254241812..ef693dac18 100644 --- a/media-video/mpv-mpris/mpv-mpris-9999.ebuild +++ b/media-video/mpv-mpris/mpv-mpris-9999.ebuild @@ -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" @@ -27,6 +29,10 @@ DOCS=( README.md ) +src_compile() { + emake CC="$(tc-getCC)" +} + src_install() { insinto "/usr/$(get_libdir)/mpv" doins mpris.so