Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 147204 Details for
Bug 140121
games-fps/kmquake2-0.19 (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
kmquake2-0.19.2.ebuild
kmquake2-0.19.2.ebuild (text/plain), 4.34 KB, created by
Sergey Kondakov
on 2008-03-25 01:48:55 UTC
(
hide
)
Description:
kmquake2-0.19.2.ebuild
Filename:
MIME Type:
Creator:
Sergey Kondakov
Created:
2008-03-25 01:48:55 UTC
Size:
4.34 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils toolchain-funcs flag-o-matic toolchain-funcs games > >MY_PN="quake2" >FILE_STEM="KMQuake2-SDL-${PV}_src_unix" >DATA_STEM="KMQuake2_data-0.19" >QUDOS_SRC="http://qudos.quakedev.com/linux/quake2" > >DESCRIPTION="Enhanced Quake 2 engine with Lazarus mod support" >HOMEPAGE="http://qexpo2005.quakedev.com/booths.php?tag=knightmare > http://qudos.quakedev.com/" >SRC_URI="${QUDOS_SRC}/engines/KMQuake2/${FILE_STEM}.tar.bz2 > ${QUDOS_SRC}/engines/KMQuake2/${DATA_STEM}.tar" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="alsa audacious cdinstall cdsound debug dedicated demo dga maps mods opengl oss optimize-cflags sdl textures" > >QA_EXECSTACK="${GAMES_BINDIR:1}/${PN}" > >UIRDEPEND="audacious? ( media-sound/audacious ) > dga? ( x11-libs/libXxf86dga ) > sdl? ( media-libs/libsdl ) > textures? ( games-fps/quake2-textures ) > virtual/opengl > virtual/glu > x11-libs/libX11 > x11-libs/libXext > x11-libs/libXxf86vm" >UIDEPEND="${UIRDEPEND} > x11-proto/xf86dgaproto > x11-proto/xf86vidmodeproto > x11-proto/xproto" >RDEPEND="opengl? ( ${UIRDEPEND} ) > !opengl? ( sdl? ( ${UIRDEPEND} ) ) > cdinstall? ( games-fps/quake2-data ) > demo? ( games-fps/quake2-demodata ) > maps? ( games-fps/kmquake2-shanmaps ) > mods? ( games-fps/kmquake2-mods )" >DEPEND="opengl? ( ${UIDEPEND} ) > !opengl? ( sdl? ( ${UIDEPEND} ) ) > alsa? ( media-libs/alsa-lib ) > media-libs/openal > media-libs/jpeg > media-libs/libogg > media-libs/libpng > media-libs/libvorbis > app-arch/unzip" > >S=${WORKDIR}/${FILE_STEM} > >pkg_setup() { > if ! use sdl && ! use opengl && ! use dedicated; then > echo > eerror "you should choose at least one video renderer:" > eerror "'opengl' or 'sdl'" > eerror "OR" > eerror "add 'dedicated' USE-flag to build server" > echo > epause 5 > die "no video renderer chosen" > fi > > if ! use alsa && ! use oss && ! use sdl && ! use dedicated; then > echo > eerror "you should choose at least one audio output:" > eerror "'alsa' (not recommended), 'oss' (good) or 'sdl' (choppy cutscenes)" > eerror "OR" > eerror "add 'dedicated' USE-flag to build server" > echo > epause 5 > die "no audio output chosen" > fi > > if use alsa; then > echo > ewarn "The ALSA sound driver for this game is incomplete." > ewarn "The 'oss' USE-flag is recommended instead." > echo > epause 2 > fi >} > >src_unpack() { > unpack ${A} > cd "${S}" > > # Fix for amd64 - http://bugs.gentoo.org/show_bug.cgi?id=158415 > epatch "${FILESDIR}"/${PN}-${PV}-remaping_amd64.patch > > # Fix directory search for the game API > epatch "${FILESDIR}"/${PN}-${PV}-search_path.patch > > # Use alsa by default > use alsa && \ > epatch "${FILESDIR}"/${PN}-${PV}-alsa.patch > > # Without cd-audio by default > use cdsound || \ > epatch "${FILESDIR}"/${PN}-${PV}-nocd.patch > > rm gnu.txt > mv "${WORKDIR}/${DATA_STEM}/${PN}.png" "${WORKDIR}" >} > >src_compile() { > yesno() { useq $1 && echo YES || echo NO ; } > > # gcc-4.1.1 workaround > if [[ "$(gcc-fullversion)" == "4.1.1" ]] ; then > append-flags -O0 > fi > > # Prevent potential for "signal 11" abort, requested by QuDos > filter-flags -fomit-frame-pointer > > emake \ > BUILD_DEDICATED=$(yesno dedicated) \ > BUILD_KMQUAKE2=$(yesno opengl) \ > BUILD_KMQUAKE2_SDL=$(yesno sdl) \ > WITH_AUDACIOUS=$(yesno audacious) \ > WITH_XMMS=NO \ > DATADIR="${GAMES_DATADIR}/${MY_PN}" \ > LIBDIR="$(games_get_libdir)/${PN}" \ > OPTIMIZE=$(yesno optimize-cflags) \ > WITH_XF86_DGA=$(yesno dga) \ > LOCALBASE="/usr" \ > CC="$(tc-getCC)" \ > BUILD_DATADIR=YES \ > BUILD_LIBDIR=YES \ > $(use debug && echo debug || echo release) \ > || die "emake failed" >} > >src_install() { > insinto "${GAMES_DATADIR}/${MY_PN}" > doins -r "${WORKDIR}/${DATA_STEM}"/* \ > || die "doins ${GAMES_DATADIR}/${MY_PN}/baseq2 failed" > > insinto "$(games_get_libdir)/${PN}" > doins -r quake2/baseq2 \ > || die "doins $(games_get_libdir)/${PN}/baseq2 failed" > > doicon "${WORKDIR}/${PN}.png" || die "doicon failed" > > use dedicated && \ > newgamesbin ${MY_PN}/${PN}_netserver ${PN}-ded || \ > die "newgamesbin ${PN}_netserver failed" > > use sdl && \ > dogamesbin ${MY_PN}/${PN}-sdl || \ > die "dogamesbin ${PN}-sdl failed" > > use opengl && \ > dogamesbin ${MY_PN}/${PN} || \ > die "dogamesbin ${PN} failed" > > use demo && \ > games_make_wrapper ${PN}-demo "${PN} +set game demo" > make_desktop_entry ${PN}-demo "KM Quake 2 (Demo)" "${PN}.png" || \ > make_desktop_entry ${PN} "KM Quake 2" "${PN}.png" > > dodoc *.{txt,unix} > prepgamesdirs >}
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 140121
:
91567
|
91573
|
91574
|
99259
|
99335
|
110024
|
110281
|
117897
|
118764
|
146695
|
146984
|
147118
|
147119
|
147121
|
147122
|
147128
|
147204
|
147217
|
147345
|
147346
|
147355
|
221113
|
221319
|
245123
|
245399
|
245400