|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" | KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86 ~x86-fbsd" |
IUSE="aac alsa amr debug ffmpeg ipv6 jpeg jpeg2k javascript mad ogg opengl oss png sdl ssl theora truetype vorbis wxwindows xml xvid" |
IUSE="aac alsa amr debug ffmpeg ipv6 jpeg jpeg2k javascript mad ogg opengl oss png sdl ssl theora truetype unicode vorbis wxwindows xml xvid" |
| |
S="${WORKDIR}/${PN}" | S="${WORKDIR}/${PN}" |
| |
|
|
# make sure configure looks for wx-2.6 | # make sure configure looks for wx-2.6 |
if use wxwindows; then | if use wxwindows; then |
WX_GTK_VER=2.6 | WX_GTK_VER=2.6 |
need-wxwidgets gtk2 |
use unicode && need-wxwidgets unicode || need-wxwidgets ansi |
sed -i -e "s:wx-config:${WX_CONFIG}:g" configure | sed -i -e "s:wx-config:${WX_CONFIG}:g" configure |
else | else |
sed -i -e 's:^has_wx="yes:has_wx="no:' configure | sed -i -e 's:^has_wx="yes:has_wx="no:' configure |