initial commit
This commit is contained in:
6
games-action/fs2_open/Manifest
Normal file
6
games-action/fs2_open/Manifest
Normal file
@@ -0,0 +1,6 @@
|
||||
AUX fs2_open-3.6.9-bugzilla.patch 842 RMD160 6eb0c58b6ecd36a4a8671bb47f493ad43e6b38b9 SHA1 2be2f5a242f39d2359fef07f70417510e06c0c43 SHA256 51d3c2da8e7324a7540b0a8e0bc30472b4c9d93bfcd54e449d36dc8accd2a154
|
||||
AUX s2_open_remove_deprecated_duplicate_attachment_gl_ext.patch 842 RMD160 6eb0c58b6ecd36a4a8671bb47f493ad43e6b38b9 SHA1 2be2f5a242f39d2359fef07f70417510e06c0c43 SHA256 51d3c2da8e7324a7540b0a8e0bc30472b4c9d93bfcd54e449d36dc8accd2a154
|
||||
DIST fs2_open-3.6.9.tar.bz2 5192396 RMD160 4f0b22712c8e6c17e75ddd5b5bd3a131d5f74e77 SHA1 01ddb3e8bdc894da037f6c881ff8c15a3676129d SHA256 e4127cb23c88de1b954a81bcce2bb762cd03e9a9ad7a48d3599529ed17e244b4
|
||||
DIST fs2_open_3_6_10.tgz 11291429 RMD160 a154571dcfd7e962f94e84c293e43d18181778b3 SHA1 ae54a9f5bf83cd89268f4f9a5e8031d9084cf0d3 SHA256 cf1533c566f4476cb6bfc15d3e657fd29fdb0bbba7423d804d73063d1e9a5248
|
||||
EBUILD fs2_open-3.6.10.ebuild 2718 RMD160 3e5498be63c9ef8d89a22fa9fe39a21b0ae755c3 SHA1 40ce535f0302757ade05e514510574d13db409a8 SHA256 356ee452d53ead335cc7c2b4e125b7053377556f241119514d2b667c867b12d3
|
||||
EBUILD fs2_open-3.6.9.ebuild 1335 RMD160 ab2d1293aefdff511247424318a4a7aa86817ea6 SHA1 703f2c4d1486011fa642e1186bb26510323f75be SHA256 847d06b650a49ba8d1405c9aee75d36b2a3dfe7fde16e2739b17094998dcc3a2
|
108
games-action/fs2_open/fs2_open-3.6.10.ebuild
Normal file
108
games-action/fs2_open/fs2_open-3.6.10.ebuild
Normal file
@@ -0,0 +1,108 @@
|
||||
# Copyright 1999-2006 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit games eutils versionator
|
||||
|
||||
MY_PV=$(replace_all_version_separators '_' )
|
||||
#MY_PV=$(replace_version_separator '_' )
|
||||
MY_P="${PN}_${MY_PV}"
|
||||
|
||||
DESCRIPTION="Freespace2 SCP"
|
||||
HOMEPAGE="http://scp.indiegames.us/"
|
||||
|
||||
SRC_URI="http://swc.fs2downloads.com/builds/${MY_P}.tgz"
|
||||
#http://freespace.pl/hosted/foxer/gtva_ico/gtva.ico
|
||||
|
||||
#iconos: http://www.hard-light.net/forums/index.php?topic=44371.20
|
||||
|
||||
#SRC_URI="http://swc.fs2downloads.com/builds/${PN}_3_6_10.tgz"
|
||||
# videos? ( http://fszmirror.com/files/FS2OGGcutscenepack.vp )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="fs2_open"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
#IUSE="mediavps speech videos yal"
|
||||
IUSE="babylon freespace2 inferno speech"
|
||||
RESTRICT="mirror"
|
||||
|
||||
RDEPEND="media-libs/libogg
|
||||
>=media-libs/libsdl-1.2
|
||||
media-libs/libvorbis
|
||||
media-libs/libtheora
|
||||
media-libs/openal
|
||||
virtual/opengl
|
||||
|| (
|
||||
( media-libs/mesa
|
||||
x11-libs/libX11
|
||||
x11-libs/libXau
|
||||
x11-libs/libXdmcp
|
||||
x11-libs/libXext )
|
||||
virtual/x11 )
|
||||
freespace2? ( =games-action/freespace2-mediavps-${PV}
|
||||
games-action/freespace2-data )
|
||||
babylon? ( games-action/babylon-mediavps )"
|
||||
# yal? ( games-action/fs2_launcher )"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
dir=${GAMES_DATADIR}/${PN}
|
||||
|
||||
pkg_setup() {
|
||||
if useq babylon && useq freespace2 ; then
|
||||
eerror "Error: 'freespace2' and 'babylon' USE flags cannot both be enabled!"
|
||||
die
|
||||
fi
|
||||
# if use babylon && ! use inferno; then
|
||||
# elog "Please, for full advantage of TBP mod, enable inferno useflag too!"
|
||||
# die
|
||||
# fi
|
||||
}
|
||||
|
||||
if useq freespace2 ; then
|
||||
FS2DATA=${GAMES_PREFIX_OPT}/freespace2
|
||||
fi
|
||||
if useq babylon ; then
|
||||
FS2DATA=${GAMES_PREFIX_OPT}/babylon
|
||||
fi
|
||||
|
||||
src_compile() {
|
||||
chmod +x ${S}/autogen.sh
|
||||
${S}/autogen.sh 2>&1 > /dev/null
|
||||
if [ -x ./configure ]; then
|
||||
econf \
|
||||
$(use_enable speech ) \
|
||||
$(use_enable inferno )
|
||||
fi
|
||||
if [ -f Makefile ] || [ -f GNUmakefile ] || [ -f makefile ]; then
|
||||
emake || die "emake failed"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
src_install() {
|
||||
exeinto "${dir}"
|
||||
newexe code/${PN}_r ${PN} || die
|
||||
|
||||
if useq babylon || useq freespace2; then
|
||||
games_make_wrapper ${PN} "${dir}"/${PN} "${FS2DATA}"
|
||||
fi
|
||||
|
||||
# if useq videos ; then
|
||||
# insinto "${FS2DATA}/data/"
|
||||
# doins "${DISTDIR}"/FS2OGGcutscenepack.vp || die
|
||||
# fi
|
||||
|
||||
dodoc AUTHORS ChangeLog COPYING NEWS README FS2OpenSCPReadMe.doc
|
||||
newicon code/freespace2/app_icon.png fs2_open.png
|
||||
#newicon /usr/portage/distfiles/gtva.ico fs2_open.ico
|
||||
make_desktop_entry ${PN} "${DESCRIPTION}" fs2_open
|
||||
|
||||
prepgamesdirs
|
||||
|
||||
if use babylon && ! use inferno; then
|
||||
elog "Please, for full advantage of TBP mod, enable inferno useflag too and rebuild!"
|
||||
fi
|
||||
}
|
Reference in New Issue
Block a user