summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2021-02-20 20:31:08 +0100
committerDavid Seifert <soap@gentoo.org>2021-02-20 20:31:08 +0100
commit7991a21602bde37c2f2972270954cedefd27148e (patch)
tree413132e68d373c1013e8814bfe75c68ff6f19113 /games-emulation/pcsxr
parentdev-lang/pcc: Port to EAPI 7 (diff)
downloadgentoo-7991a21602bde37c2f2972270954cedefd27148e.tar.gz
gentoo-7991a21602bde37c2f2972270954cedefd27148e.tar.bz2
gentoo-7991a21602bde37c2f2972270954cedefd27148e.zip
games-emulation/pcsxr: Apply gcc-10 workaround
* Dead upstream Closes: https://bugs.gentoo.org/711238 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'games-emulation/pcsxr')
-rw-r--r--games-emulation/pcsxr/pcsxr-1.9.94_p20190306.ebuild19
1 files changed, 5 insertions, 14 deletions
diff --git a/games-emulation/pcsxr/pcsxr-1.9.94_p20190306.ebuild b/games-emulation/pcsxr/pcsxr-1.9.94_p20190306.ebuild
index f8d068fed3ca..672c8ccbccb4 100644
--- a/games-emulation/pcsxr/pcsxr-1.9.94_p20190306.ebuild
+++ b/games-emulation/pcsxr/pcsxr-1.9.94_p20190306.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit cmake xdg-utils
+inherit flag-o-matic xdg cmake
EGIT_COMMIT="62467b86871aee3d70c7445f3cb79f0858ec566e"
MY_P=${PN}-${EGIT_COMMIT}
@@ -36,17 +36,16 @@ RDEPEND="
ccdda? ( >=media-video/ffmpeg-3:= )
openal? ( media-libs/openal:= )
pulseaudio? ( media-sound/pulseaudio:= )
- sdl? ( media-libs/libsdl2:=[sound] )
-"
+ sdl? ( media-libs/libsdl2:=[sound] )"
DEPEND="${RDEPEND}
x11-base/xorg-proto"
BDEPEND="
app-arch/unzip
dev-util/intltool
- sys-devel/gettext:0
-"
+ sys-devel/gettext:0"
src_configure() {
+ append-cflags -fcommon
local sound_backend
if use pulseaudio; then
@@ -78,11 +77,3 @@ src_install() {
mv "${ED}"/usr/share/doc/pcsxr/* "${ED}/usr/share/doc/${PF}/" || die
rmdir "${ED}"/usr/share/doc/pcsxr || die
}
-
-pkg_postinst() {
- xdg_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_icon_cache_update
-}