forked from hasufell/hasufell-repository
games-strategy/openra: use lua.exlib, fix jpeg dep
This commit is contained in:
parent
50e9067ab4
commit
6167791fd2
@ -2,6 +2,7 @@
|
|||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
require desktop-utils gtk-icon-cache freedesktop-desktop freedesktop-mime
|
require desktop-utils gtk-icon-cache freedesktop-desktop freedesktop-mime
|
||||||
|
require lua [ whitelist="5.1" multibuild=false ]
|
||||||
|
|
||||||
SUMMARY="A free RTS engine supporting games like Command & Conquer and Red Alert"
|
SUMMARY="A free RTS engine supporting games like Command & Conquer and Red Alert"
|
||||||
HOMEPAGE="http://www.openra.net/"
|
HOMEPAGE="http://www.openra.net/"
|
||||||
@ -54,19 +55,17 @@ MYOPTIONS="
|
|||||||
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]]
|
||||||
"
|
"
|
||||||
|
|
||||||
LUA_SLOT="5.1"
|
|
||||||
DEPENDENCIES="
|
DEPENDENCIES="
|
||||||
build:
|
build:
|
||||||
virtual/unzip
|
virtual/unzip
|
||||||
build+run:
|
build+run:
|
||||||
dev-dotnet/libgdiplus
|
dev-dotnet/libgdiplus
|
||||||
dev-lang/lua:${LUA_SLOT}
|
|
||||||
dev-lang/mono[>=3.2]
|
dev-lang/mono[>=3.2]
|
||||||
media-libs/freetype:2
|
media-libs/freetype:2
|
||||||
media-libs/SDL:2[X]
|
media-libs/SDL:2[X]
|
||||||
media-libs/openal
|
media-libs/openal
|
||||||
x11-dri/mesa
|
x11-dri/mesa
|
||||||
providers:ijg-jpeg? ( media-libs/jpeg )
|
providers:ijg-jpeg? ( media-libs/jpeg:= )
|
||||||
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
providers:jpeg-turbo? ( media-libs/libjpeg-turbo )
|
||||||
"
|
"
|
||||||
|
|
||||||
@ -108,7 +107,7 @@ src_prepare() {
|
|||||||
emake VERSION="${PV}" version
|
emake VERSION="${PV}" version
|
||||||
|
|
||||||
edo sed \
|
edo sed \
|
||||||
-e "s/@LIBLUA51@/liblua${LUA_SLOT}.so/" \
|
-e "s/@LIBLUA51@/liblua5.1.so/" \
|
||||||
"${WORK}"/thirdparty/Eluant.dll.config.in > Eluant.dll.config
|
"${WORK}"/thirdparty/Eluant.dll.config.in > Eluant.dll.config
|
||||||
|
|
||||||
edo cd "${WORK}"/thirdparty/download
|
edo cd "${WORK}"/thirdparty/download
|
||||||
|
Loading…
Reference in New Issue
Block a user