forked from hasufell/hasufell-repository
games-emulation/gambatte: unconditionally build sdl frontend
This commit is contained in:
parent
231f23d80a
commit
53531e7155
@ -12,14 +12,12 @@ LICENCES="GPL-2"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
PLATFORMS="~amd64"
|
PLATFORMS="~amd64"
|
||||||
MYOPTIONS="
|
MYOPTIONS="
|
||||||
(
|
qt4 [[ description = [ build qt4 GUI frontend ] ]]
|
||||||
qt4 [[ description = [ build qt4 frontend with real GUI ] ]]
|
|
||||||
sdl [[ description = [ build sdl fronted, start via cli ] ]]
|
|
||||||
) [[ number-selected = at-least-one ]]
|
|
||||||
"
|
"
|
||||||
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build+run:
|
build+run:
|
||||||
|
media-libs/SDL:0[X]
|
||||||
sys-libs/zlib
|
sys-libs/zlib
|
||||||
qt4? (
|
qt4? (
|
||||||
sys-sound/alsa-lib
|
sys-sound/alsa-lib
|
||||||
@ -29,7 +27,6 @@ DEPENDENCIES="
|
|||||||
x11-libs/libXv
|
x11-libs/libXv
|
||||||
x11-libs/qt:4[opengl]
|
x11-libs/qt:4[opengl]
|
||||||
)
|
)
|
||||||
sdl? ( media-libs/SDL:0[X] )
|
|
||||||
"
|
"
|
||||||
|
|
||||||
REMOTE_IDS+=" sourceforge:${PN}"
|
REMOTE_IDS+=" sourceforge:${PN}"
|
||||||
@ -78,10 +75,8 @@ src_compile() {
|
|||||||
escons
|
escons
|
||||||
|
|
||||||
# build sdl frontend
|
# build sdl frontend
|
||||||
if option sdl; then
|
edo cd "${WORK}"/gambatte_sdl
|
||||||
edo cd "${WORK}"/gambatte_sdl
|
escons
|
||||||
escons
|
|
||||||
fi
|
|
||||||
|
|
||||||
# build qt frontend
|
# build qt frontend
|
||||||
if option qt4; then
|
if option qt4; then
|
||||||
@ -90,7 +85,7 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
option sdl && dobin gambatte_sdl/gambatte_sdl
|
dobin gambatte_sdl/gambatte_sdl
|
||||||
option qt4 && dobin gambatte_qt/bin/gambatte_qt
|
option qt4 && dobin gambatte_qt/bin/gambatte_qt
|
||||||
|
|
||||||
nonfatal dodoc README changelog
|
nonfatal dodoc README changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user