mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
games-simulation/searchandrescue: add libsdl[joystick] dependency
Closes: https://bugs.gentoo.org/733522 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop flag-o-matic prefix toolchain-funcs xdg
|
||||
|
||||
MY_PN=SearchAndRescue
|
||||
@@ -10,13 +11,14 @@ HOMEPAGE="http://searchandrescue.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/searchandrescue/${MY_PN}-${PV}.tar.gz -> ${MY_PN}-${PV}.tar
|
||||
mirror://sourceforge/searchandrescue/${MY_PN}-data-${PV}.tar.gz -> ${MY_PN}-data-${PV}.tar
|
||||
mirror://sourceforge/searchandrescue/${MY_PN}-data-guadarrama-${PV}.tar.gz -> ${MY_PN}-data-guadarrama-${PV}.tar"
|
||||
S="${WORKDIR}"/${PN}_${PV}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
media-libs/libsdl
|
||||
media-libs/libsdl[joystick]
|
||||
media-libs/sdl-mixer
|
||||
virtual/glu
|
||||
virtual/opengl
|
||||
@@ -31,8 +33,6 @@ RDEPEND="
|
||||
DEPEND="${RDEPEND}
|
||||
x11-base/xorg-proto"
|
||||
|
||||
S=${WORKDIR}/${PN}_${PV}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${MY_PN}-${PV}.tar
|
||||
mkdir data || die
|
||||
@@ -52,7 +52,7 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" \
|
||||
export CC="$(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" \
|
||||
CPP="$(tc-getCXX) ${LDFLAGS}"
|
||||
|
||||
append-flags -DNEW_GRAPHICS -DHAVE_SDL_MIXER
|
||||
Reference in New Issue
Block a user