Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 187436 Details for
Bug 265048
initial ebuild for the games-fps/tremfusion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tremfusion-9999.ebuild
tremfusion-9999.ebuild (text/plain), 2.58 KB, created by
keenblade
on 2009-04-06 03:16:07 UTC
(
hide
)
Description:
tremfusion-9999.ebuild
Filename:
MIME Type:
Creator:
keenblade
Created:
2009-04-06 03:16:07 UTC
Size:
2.58 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-fps/tremulous/tremulous-1.1.0.ebuild,v 1.4 2006/12/05 18:03:48 wolf31o2 Exp $ > >EAPI=2 > >inherit eutils games autotools mercurial toolchain-funcs > >DESCRIPTION="TremFusion is a free software first person shooter. It is an outgrowth of Tremulous, which is based on ioquake3 game engine." >HOMEPAGE="https://www.tremfusion.net/" >EHG_REPO_URI="http://tremfusion.net/hg/${PN}" >EHG_PROJECT="${P}" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="dedicated openal +opengl smp tty +vorbis" > >UIDEPEND="openal? ( media-libs/openal ) > media-libs/libsdl > vorbis? ( media-libs/libogg media-libs/libvorbis ) > virtual/opengl > sys-libs/ncurses" >RDEPEND="opengl? ( ${UIDEPEND} ) > !opengl? ( !dedicated? ( ${UIDEPEND} ) ) >|| ( games-fps/tremulous games-fps/tremulous-bin )" >DEPEND="${RDEPEND} > media-libs/freetype > app-arch/unzip > net-misc/curl" > >S=${WORKDIR}/${PN} > >pkg_setup() { > games_pkg_setup >} > >src_unpack() { > mercurial_src_unpack > cd "${S}" >} > >src_prepare() { > cd "${S}" >#EPATCH_OPTS="-p1 -R -g0 -E --no-backup-if-mismatch" \ ># epatch "${FILESDIR}"/q3cpp.patch || die "q3cpp patch failed" > if use amd64 ; then > echo ARCH=x86_64 > fi >} > > > >src_compile() { > buildit() { use $1 && echo 1 || echo 0 ; } > > local build_client=1 > local build_smp=1 > local build_tty=1 > if use dedicated && ! use opengl ; then > build_client=0 > build_smp=0 > fi > > if ! use smp ; then > build_smp=0 > fi > if ! use tty ; then > build_tty=0 > fi > > > > emake \ > BUILD_CLIENT=${build_client} \ > BUILD_CLIENT_SMP=${build_smp} \ > BUILD_SERVER=$(buildit dedicated) \ > BUILD_CLIENT_TTY=${build_tty} \ > BUILD_GAME_SO=0 \ > BUILD_GAME_QVM=0 \ > CC="$(tc-getCC)" \ > DEFAULT_BASEDIR="${GAMES_DATADIR}/${PN}" \ > USE_CODEC_VORBIS=$(buildit vorbis) \ > USE_OPENAL=$(buildit openal) \ > USE_LOCAL_HEADERS=0 \ > USE_SCM_VERSION=1 \ > OPTIMIZE= \ > || die "emake failed" ># Lets build the pk3s that TremFusion uses. > cd "${S}"/misc/ > ./makepk3s.py -d \ > || die "building the pk3s failed" >} > >src_install() { > emake BUILDROOT="${D}" INSTALL_PREFIX=/usr BINDIR="${GAMES_BINDIR}" DATADIR="${GAMES_DATADIR}" \ > install || die "Died in action: make install ... " > insinto "${GAMES_DATADIR}"/${PN}/base > doins "${WORKDIR}"/"${PN}"/misc/*.pk3 || die "doins pk3 files failed" > dodoc README > doicon "${WORKDIR}"/tremfusion/misc/tremfusion.xpm > make_desktop_entry "${PN}" Tremfusion "${PN}".xpm \ > || die "make_desktop_entry failed for Tremfusion" > prepgamesdirs >} > >pkg_postinst() { > games_pkg_postinst > > elog "This is tremfusion live mercurial ebuild" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 265048
:
187436
|
187442
|
187463
|
196507