diff options
author | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2022-12-21 23:42:08 +0100 |
---|---|---|
committer | Oliver Freyermuth <o.freyermuth@googlemail.com> | 2022-12-21 23:42:08 +0100 |
commit | 75760867b56172fabfb5dee516c8e9ca500c814e (patch) | |
tree | 96287bbf86d4e9bbc4cf44a57e390776211c065e /mpv-plugin/mpv-mpris | |
parent | gui-apps/packettracer: Add cisco licence in file LICENCE (diff) | |
download | guru-75760867b56172fabfb5dee516c8e9ca500c814e.tar.gz guru-75760867b56172fabfb5dee516c8e9ca500c814e.tar.bz2 guru-75760867b56172fabfb5dee516c8e9ca500c814e.zip |
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>
Diffstat (limited to 'mpv-plugin/mpv-mpris')
-rw-r--r-- | mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild (renamed from mpv-plugin/mpv-mpris/mpv-mpris-0.9-r1.ebuild) | 5 | ||||
-rw-r--r-- | mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild | 12 |
2 files changed, 15 insertions, 2 deletions
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r1.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild index a9bcf1de1..f5ef84c62 100644 --- a/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r1.ebuild +++ b/mpv-plugin/mpv-mpris/mpv-mpris-0.9-r2.ebuild @@ -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)" diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild index 33adfb1da..f5ef84c62 100644 --- a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild +++ b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild @@ -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)" |