gentoo-ebuilds/games-sports/trophy/trophy-2.0.4-r1.ebuild
Pacho Ramos e11629fc5a
games-sports/trophy: Fix compilation with gcc-15
Following Fedora approach.

Closes: https://bugs.gentoo.org/941236
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
2025-06-28 20:16:06 +02:00

28 lines
603 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop flag-o-matic xdg
DESCRIPTION="2D Racing Game"
HOMEPAGE="https://trophy.sourceforge.io/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz
https://dev.gentoo.org/~pacho/${PN}/${PN}.png"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="dev-games/clanlib:0.8[opengl]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
src_configure() {
append-cxxflags -Wno-template-body #941236
default
}
src_install(){
default
doicon -s 256 "${DISTDIR}/${PN}.png"
}