mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
mpv-plugin/mpv-mpris: Patch out -O2 from Makefile.
This overrides optimization flags specified by the user otherwise. Also, revbump and re-sync live ebuild. Closes: https://bugs.gentoo.org/887795 Signed-off-by: Oliver Freyermuth <o.freyermuth@googlemail.com>
This commit is contained in:
@@ -42,6 +42,11 @@ MPV_PLUGIN_FILES=( mpris.so )
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-O2 ::' -i Makefile || die "sed Makefile(s) failed"
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
@@ -19,9 +19,10 @@ fi
|
||||
|
||||
LICENSE="MIT"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-libs/glib:2"
|
||||
RDEPEND="
|
||||
dev-libs/glib:2
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
@@ -39,6 +40,13 @@ BDEPEND="
|
||||
|
||||
MPV_PLUGIN_FILES=( mpris.so )
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's:-O2 ::' -i Makefile || die "sed Makefile(s) failed"
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
|
||||
Reference in New Issue
Block a user