Lines 21-33
Link Here
|
21 |
LICENSE="BSD" |
21 |
LICENSE="BSD" |
22 |
SLOT="0" |
22 |
SLOT="0" |
23 |
KEYWORDS="amd64 x86" |
23 |
KEYWORDS="amd64 x86" |
24 |
IUSE="alsa debug +ffmpeg +fftw openal oss portaudio pulseaudio spell" |
24 |
IUSE="alsa debug +ffmpeg +fftw noluajit openal oss portaudio pulseaudio spell" |
25 |
|
25 |
|
26 |
# configure.ac specifies minimal versions for some of the dependencies below. |
26 |
# configure.ac specifies minimal versions for some of the dependencies below. |
27 |
# However, most of these minimal versions date back to 2006-2010 yy. |
27 |
# However, most of these minimal versions date back to 2006-2010 yy. |
28 |
# Such version specifiers are meaningless nowadays, so they are omitted. |
28 |
# Such version specifiers are meaningless nowadays, so they are omitted. |
29 |
RDEPEND=" |
29 |
RDEPEND=" |
30 |
>=dev-lang/luajit-2.0.3:2 |
30 |
!noluajit? ( >=dev-lang/luajit-2.0.3:2 ) |
|
|
31 |
noluajit? ( >=dev-lang/lua-5.1.5 ) |
31 |
>=dev-libs/boost-1.50.0:=[icu,nls,threads] |
32 |
>=dev-libs/boost-1.50.0:=[icu,nls,threads] |
32 |
>=dev-libs/icu-4.8.1.1:= |
33 |
>=dev-libs/icu-4.8.1.1:= |
33 |
>=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?] |
34 |
>=x11-libs/wxGTK-3.0.0:${WX_GTK_VER}[X,opengl,debug?] |
Lines 62-68
Link Here
|
62 |
# Thus unbundling luabins is not worth the effort. |
63 |
# Thus unbundling luabins is not worth the effort. |
63 |
PATCHES=( |
64 |
PATCHES=( |
64 |
"${FILESDIR}/${P}-fix-lua-regexp.patch" |
65 |
"${FILESDIR}/${P}-fix-lua-regexp.patch" |
65 |
"${FILESDIR}/${P}-unbundle-luajit.patch" |
|
|
66 |
"${FILESDIR}/${P}-add-missing-pthread-flags.patch" |
66 |
"${FILESDIR}/${P}-add-missing-pthread-flags.patch" |
67 |
"${FILESDIR}/${P}-respect-user-compiler-flags.patch" |
67 |
"${FILESDIR}/${P}-respect-user-compiler-flags.patch" |
68 |
) |
68 |
) |
Lines 74-79
Link Here
|
74 |
} |
74 |
} |
75 |
|
75 |
|
76 |
src_prepare() { |
76 |
src_prepare() { |
|
|
77 |
use noluajit || epatch "${FILESDIR}/${P}-unbundle-luajit.patch" |
78 |
use noluajit && epatch "${FILESDIR}/${P}-no-luajit.patch" |
77 |
cp /usr/share/gettext/config.rpath . || die |
79 |
cp /usr/share/gettext/config.rpath . || die |
78 |
|
80 |
|
79 |
remove_locale() { |
81 |
remove_locale() { |