17,12 → 17,12 |
LICENSE="Frictional_Games-EULA" |
|
SLOT="0" |
KEYWORDS="amd64 x86" |
IUSE="doc linguas_de linguas_en linguas_es linguas_fr linguas_it" |
KEYWORDS="~amd64 ~x86" |
IUSE="doc glew-bundled fltk-bundled linguas_de linguas_en linguas_es linguas_fr linguas_it" |
|
DEPEND="app-arch/xz-utils" |
RDEPEND="media-libs/freealut |
media-libs/glew |
!glew-bundled? ( <media-libs/glew-1.6 ) |
media-libs/jpeg:62 |
media-libs/libogg |
media-libs/libvorbis |
32,7 → 32,7 |
media-libs/sdl-image |
media-libs/sdl-ttf |
sys-libs/zlib |
x11-libs/fltk:1 |
!fltk-bundled? ( <x11-libs/fltk-1.2 ) |
x11-libs/libX11 |
x11-libs/libXau |
x11-libs/libxcb |
45,7 → 45,7 |
|
GAMEDIR="${GAMES_PREFIX_OPT}/${PN}" |
|
GAMES_CHECK_LICENSE="yes" |
#GAMES_CHECK_LICENSE="yes" |
|
pkg_nofetch() { |
einfo "Please buy and download \"${SRC_URI}\" from:" |
54,6 → 54,10 |
einfo |
} |
|
pkg_setup() { |
check_license |
} |
|
src_unpack() { |
mkdir "tmp" || die "mkdir \"tmp\" failed" |
cd "./tmp" || die "cd \"tmp\" failed" |
227,9 → 231,17 |
# Used LibIL (media-libs/devil) isn't in portage as too old |
exeinto "${libsdir}" || die "exeinto \"${libsdir}\" failed" |
doexe libs*/libIL* || die "doexe \"libs\" failed" |
# Used LibGlEW may not be installed the game is using 1.5, there is 1.6 in portage |
doexe libs*/libGLEW* || die "doexe \"libs\" failed" |
|
if use glew-bundled |
then |
# Used LibGlEW may not be installed. There is game is using 1.5, there is 1.6 in portage |
doexe libs*/libGLEW* || die "doexe \"libs\" failed" |
fi |
if use fltk-bundled |
then |
# Used Libfltk may not be installed. There is game is using 1.1, there is 1.3 in portage |
exeinto "${libsdir}/all" || die "exeinto \"${libsdir}/all\" failed" |
doexe libs*/all/libfltk* || die "doexe \"libs/all\" failed" |
fi |
exeinto "${GAMEDIR}" || die "exeinto \"${GAMEDIR}\" failed" |
doexe *.bin || die "doexe \".bin\" binaries failed" |
|
284,3 → 296,4 |
ewarn "due to save game differences between 1.0 and 1.0.1." |
ewarn "" |
} |
|