diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2018-02-14 00:20:07 +0300 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-02-14 20:55:06 +0100 |
commit | c1f407f158f5a7f55eab45cb6e05ee89e78cf5d7 (patch) | |
tree | 952394c36e8336d89ddb4726ed5282716a9723c9 | |
parent | profiles/arch/arm/p.use.mask: allow mpv[raspberry-pi] with recent mpv (diff) | |
download | gentoo-c1f407f158f5a7f55eab45cb6e05ee89e78cf5d7.tar.gz gentoo-c1f407f158f5a7f55eab45cb6e05ee89e78cf5d7.tar.bz2 gentoo-c1f407f158f5a7f55eab45cb6e05ee89e78cf5d7.zip |
media-video/mpv: sync 9999 with latest release
Closes: https://github.com/gentoo/gentoo/pull/7175
Package-Manager: Portage-2.3.24, Repoman-2.3.6
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 1543eb4db2e5..c530dace68b4 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -8,7 +8,7 @@ PYTHON_REQ_USE='threads(+)' WAF_PV=1.9.8 -inherit gnome2-utils pax-utils python-r1 toolchain-funcs versionator waf-utils xdg-utils +inherit flag-o-matic gnome2-utils pax-utils python-r1 toolchain-funcs versionator waf-utils xdg-utils DESCRIPTION="Media player based on MPlayer and mplayer2" HOMEPAGE="https://mpv.io/" @@ -147,10 +147,9 @@ src_prepare() { src_configure() { tc-export CC PKG_CONFIG AR - if tc-is-cross-compiler && use raspberry-pi; then - export EXTRA_PKG_CONFIG_LIBDIR="${SYSROOT%/}${EPREFIX}/opt/vc/lib/pkgconfig" - # Drop next line when Gentoo bug 607344 is fixed or if you fixed it locally. - die "${PN} can't be cross built with raspberry-pi USE enabled. See Gentoo bug 607344." + if use raspberry-pi; then + append-cflags -I"${SYSROOT%/}${EPREFIX}/opt/vc/include" + append-ldflags -L"${SYSROOT%/}${EPREFIX}/opt/vc/lib" fi local mywafargs=( |