Urbanterror removed from the overlay.
This commit is contained in:
parent
a16a100286
commit
3ea2a8f50b
|
@ -1,5 +0,0 @@
|
||||||
DIST UrbanTerror-4.2.017-to-4.2.018.zip 9485349 SHA256 9d8a4cb258a60b2f464daaa998d9d26244f339fac562fb0c3cb4e00683968163 SHA512 a64e996a8538219ecc4300e25a31c14471593588e236ce4585c65d97b7306db7208f31549c08636657f1bd52142d7ba3aa2e72ab60a375d7a46949b6c18dac48 WHIRLPOOL 239595f7f75cc4fb9976c817a08eaa77e9413a913106b581459c84438babfe68c62ebb9775359c3dad460aeea48afaacd136d318ce9d0aa4abc0bd25ab92736c
|
|
||||||
DIST UrbanTerror-4.2.018-to-4.2.019.zip 220929569 SHA256 79f1bd49cc7c84fc7d24d7219a1057ecca932de2f583b310f40af1052b494ab1 SHA512 1ad7dd8e35daf1688f2c2919108946ae19d59c4d1e267b7186287cd9c01b373db8d4a71fa44d9bede7f964badef904ed3947ff0ab66e858d8b8c1bee6db609e0 WHIRLPOOL 85e005c52821a45f4d89acc5649de2377c6b7979fe2467b77300f6fe8f5ce190132dd723b50c4e7c6ff4a3ab0daee0eba1dbf88c2afd846159a4a6ace778c544
|
|
||||||
DIST UrbanTerror42_full017.zip 1701599483 SHA256 d7849509c91c11e986ef6d47f51e7711ec53100ff42bef44095c32d91c65d7c2 SHA512 5363a21d6e21090a823eb21b82ac089640602151292f2985b6d26fc061e891e3bcadc5b0d4751f829cf6b9fe664bc619706e0e008210734bc1ef6afea3d46f96 WHIRLPOOL ee7553949f882c795eadc36dba57c923d3c49bc768aac128bfaae999bf9466c551df71946a9e8856210e5dea42c32887cb96d30f1339bba117bf9ee0c35c7edd
|
|
||||||
DIST urbanterror-4.2.019.tar.gz 10588156 SHA256 536ed6dfaec926f0a556951c96908e8611509ba8ef6c600557ced08e02e57c6e SHA512 c8ca725771523e862fb076df2f669ac511f1aa354e9507a96fe823ab7a109c0be95492394d519fb152f479842f1fbcd3af6a5ffe2a46d64a0ebfc1c882ebf48b WHIRLPOOL 67acd97df8dd4467b0c4f47a054b321a855ca1183d0c31be3efbc53d2f380470611bb4a245ab744ac571260cb933a22556c62cf87dba5726ec9e8dd7d61a5989
|
|
||||||
DIST urbanterror.svg 1592 SHA256 0d7eb12a8fe8380e0d89199621414dd56ecdfe8a8b99eec5b95d925294521de9 SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 WHIRLPOOL 281413cfeb881466c2d8b882d0aa4dcf19013630a462775345c69e78a0cb86c7efed14f5d22b453c89648da682ab5e98e3579a1c975994a8e90b9fb22c37892c
|
|
|
@ -1,75 +0,0 @@
|
||||||
Author: hasufell <hasufell@gentoo.org>
|
|
||||||
Date: Wed Jul 10 01:25:27 2013 +0200
|
|
||||||
|
|
||||||
respect CFLAGS/LDFLAGS
|
|
||||||
|
|
||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -213,7 +213,7 @@
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe
|
|
||||||
+ BASE_CFLAGS = -Wall -Wimplicit -Wstrict-prototypes
|
|
||||||
|
|
||||||
ifeq ($(USE_OPENAL),1)
|
|
||||||
BASE_CFLAGS += -DUSE_OPENAL=1
|
|
||||||
@@ -239,19 +239,15 @@
|
|
||||||
BASE_CFLAGS += -I/usr/X11R6/include
|
|
||||||
endif
|
|
||||||
|
|
||||||
- OPTIMIZE = -O3 -ffast-math -funroll-loops -fomit-frame-pointer
|
|
||||||
+ OPTIMIZE =
|
|
||||||
|
|
||||||
ifeq ($(ARCH),x86_64)
|
|
||||||
- OPTIMIZE = -O3 -fomit-frame-pointer -ffast-math -funroll-loops \
|
|
||||||
- -falign-loops=2 -falign-jumps=2 -falign-functions=2 \
|
|
||||||
- -fstrength-reduce
|
|
||||||
+ OPTIMIZE =
|
|
||||||
# experimental x86_64 jit compiler! you need GNU as
|
|
||||||
HAVE_VM_COMPILED = true
|
|
||||||
else
|
|
||||||
ifeq ($(ARCH),i386)
|
|
||||||
- OPTIMIZE = -O3 -march=i586 -fomit-frame-pointer -ffast-math \
|
|
||||||
- -funroll-loops -falign-loops=2 -falign-jumps=2 \
|
|
||||||
- -falign-functions=2 -fstrength-reduce
|
|
||||||
+ OPTIMIZE =
|
|
||||||
HAVE_VM_COMPILED=true
|
|
||||||
else
|
|
||||||
ifeq ($(ARCH),ppc)
|
|
||||||
@@ -265,7 +261,7 @@
|
|
||||||
BASE_CFLAGS += -DNO_VM_COMPILED
|
|
||||||
endif
|
|
||||||
|
|
||||||
- DEBUG_CFLAGS = $(BASE_CFLAGS) -g -O0
|
|
||||||
+ DEBUG_CFLAGS = $(BASE_CFLAGS) $(OPTIMIZE)
|
|
||||||
|
|
||||||
RELEASE_CFLAGS=$(BASE_CFLAGS) -DNDEBUG $(OPTIMIZE)
|
|
||||||
|
|
||||||
@@ -274,7 +270,7 @@
|
|
||||||
SHLIBLDFLAGS=-shared $(LDFLAGS)
|
|
||||||
|
|
||||||
THREAD_LDFLAGS=-lpthread
|
|
||||||
- LDFLAGS=-ldl -lm
|
|
||||||
+ LDFLAGS+=-ldl -lm
|
|
||||||
|
|
||||||
ifeq ($(USE_SDL),1)
|
|
||||||
CLIENT_LDFLAGS=$(shell sdl-config --libs)
|
|
||||||
@@ -1158,13 +1154,13 @@
|
|
||||||
|
|
||||||
$(B)/Quake3-UrT.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN)
|
|
||||||
$(echo_cmd) "LD $@"
|
|
||||||
- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \
|
|
||||||
- $(LDFLAGS) $(LIBSDLMAIN)
|
|
||||||
+ $(Q)$(CC) $(CFLAGS) -o $@ $(Q3OBJ) $(Q3POBJ) \
|
|
||||||
+ $(LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN)
|
|
||||||
|
|
||||||
$(B)/Quake3-UrT-smp.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ_SMP) $(LIBSDLMAIN)
|
|
||||||
$(echo_cmd) "LD $@"
|
|
||||||
- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) $(CLIENT_LDFLAGS) \
|
|
||||||
- $(THREAD_LDFLAGS) $(LDFLAGS) $(LIBSDLMAIN)
|
|
||||||
+ $(Q)$(CC) $(CFLAGS) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) \
|
|
||||||
+ $(LDFLAGS) $(THREAD_LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN)
|
|
||||||
|
|
||||||
ifneq ($(strip $(LIBSDLMAIN)),)
|
|
||||||
ifneq ($(strip $(LIBSDLMAINSRC)),)
|
|
|
@ -1,153 +0,0 @@
|
||||||
# Copyright 1999-2014 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/urbanterror-4.2.019.ebuild,v 1.1 2014/09/19 13:43:50 hasufell Exp $
|
|
||||||
|
|
||||||
EAPI=5
|
|
||||||
|
|
||||||
inherit check-reqs eutils gnome2-utils games
|
|
||||||
|
|
||||||
ENGINE_PV=${PV}
|
|
||||||
FULL_P=UrbanTerror42_full017
|
|
||||||
UPDATE_PV=${PV:0:3}.${FULL_P#*full}
|
|
||||||
DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine"
|
|
||||||
HOMEPAGE="http://www.urbanterror.info/home/"
|
|
||||||
SRC_URI="http://cdn.urbanterror.info/urt/42/zips/${FULL_P}.zip
|
|
||||||
https://github.com/Barbatos/ioq3-for-UrbanTerror-4/archive/release-${ENGINE_PV}.tar.gz -> ${PN}-${ENGINE_PV}.tar.gz
|
|
||||||
http://upload.wikimedia.org/wikipedia/en/5/56/Urbanterror.svg -> ${PN}.svg"
|
|
||||||
|
|
||||||
# fetch updates
|
|
||||||
if [[ ${FULL_P#*full} != ${PV##*.} ]] ; then
|
|
||||||
UPDATE_I=${UPDATE_PV:6:1}
|
|
||||||
while [[ ${UPDATE_I} -lt ${PV:6:1} ]] ; do
|
|
||||||
SRC_URI="${SRC_URI} http://cdn.urbanterror.info/urt/42/zips/UrbanTerror-${PV:0:6}${UPDATE_I}-to-${PV:0:6}$(( ${UPDATE_I} + 1)).zip"
|
|
||||||
UPDATE_I=$(( ${UPDATE_I} + 1))
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
unset UPDATE_I
|
|
||||||
|
|
||||||
LICENSE="GPL-2 Q3AEULA-20000111 urbanterror-4.2-maps"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="+altgamma +curl debug dedicated openal +sdl server smp vorbis"
|
|
||||||
RESTRICT="mirror"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
!dedicated? (
|
|
||||||
virtual/opengl
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
openal? ( media-libs/openal )
|
|
||||||
sdl? ( media-libs/libsdl[X,sound,joystick,opengl,video] )
|
|
||||||
!sdl? ( x11-libs/libX11
|
|
||||||
x11-libs/libXext
|
|
||||||
x11-libs/libXxf86dga
|
|
||||||
x11-libs/libXxf86vm )
|
|
||||||
vorbis? ( media-libs/libogg
|
|
||||||
media-libs/libvorbis )
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
app-arch/unzip
|
|
||||||
dedicated? ( curl? ( net-misc/curl ) )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/ioq3-for-UrbanTerror-4-release-${ENGINE_PV}
|
|
||||||
S_DATA=${WORKDIR}/UrbanTerror42
|
|
||||||
|
|
||||||
CHECKREQS_DISK_BUILD="3300M"
|
|
||||||
CHECKREQS_DISK_USR="1550M"
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
check-reqs_pkg_pretend
|
|
||||||
|
|
||||||
if ! use dedicated ; then
|
|
||||||
if ! use sdl && ! use openal ; then
|
|
||||||
ewarn
|
|
||||||
ewarn "Sound support disabled. Enable 'sdl' or 'openal' useflag."
|
|
||||||
ewarn
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
local UPDATE_I
|
|
||||||
default
|
|
||||||
# apply updates
|
|
||||||
if [[ ${FULL_P#*full} != ${PV##*.} ]] ; then
|
|
||||||
UPDATE_I=${UPDATE_PV:6:1}
|
|
||||||
while [[ ${UPDATE_I} -lt ${PV:6:1} ]] ; do
|
|
||||||
cp -dRpf \
|
|
||||||
"${WORKDIR}"/UrbanTerror-${PV:0:6}${UPDATE_I}-to-${PV:0:6}$((${UPDATE_I} + 1))/* \
|
|
||||||
"${S_DATA}"/ || die
|
|
||||||
UPDATE_I=$(( ${UPDATE_I} + 1))
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${PN}-${ENGINE_PV}-build.patch
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
buildit() { use $1 && echo 1 || echo 0 ; }
|
|
||||||
nobuildit() { use $1 && echo 0 || echo 1 ; }
|
|
||||||
|
|
||||||
emake \
|
|
||||||
ARCH=$(usex amd64 "x86_64" "i386") \
|
|
||||||
DEFAULT_BASEDIR="${GAMES_DATADIR}/${PN}" \
|
|
||||||
BUILD_CLIENT=$(nobuildit dedicated) \
|
|
||||||
BUILD_CLIENT_SMP=$(usex smp "$(nobuildit dedicated)" "0") \
|
|
||||||
BUILD_SERVER=$(usex dedicated "1" "$(buildit server)") \
|
|
||||||
USE_SDL=$(buildit sdl) \
|
|
||||||
USE_OPENAL=$(buildit openal) \
|
|
||||||
USE_OPENAL_DLOPEN=0 \
|
|
||||||
USE_CURL=$(buildit curl) \
|
|
||||||
USE_CURL_DLOPEN=0 \
|
|
||||||
USE_CODEC_VORBIS=$(buildit vorbis) \
|
|
||||||
USE_ALTGAMMA=$(buildit altgamma) \
|
|
||||||
USE_LOCAL_HEADERS=0 \
|
|
||||||
Q="" \
|
|
||||||
$(usex debug "debug" "release")
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
local my_arch=$(usex amd64 "x86_64" "i386")
|
|
||||||
|
|
||||||
dodoc ChangeLog README md4-readme.txt
|
|
||||||
dodoc "${S_DATA}"/q3ut4/readme42.txt
|
|
||||||
insinto "${GAMES_DATADIR}"/${PN}/q3ut4
|
|
||||||
doins "${S_DATA}"/q3ut4/*.pk3
|
|
||||||
|
|
||||||
if use !dedicated ; then
|
|
||||||
newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT$(usex smp "-smp" "").${my_arch} ${PN}
|
|
||||||
doicon -s scalable "${DISTDIR}"/${PN}.svg
|
|
||||||
make_desktop_entry ${PN} "UrbanTerror"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use dedicated || use server ; then
|
|
||||||
newgamesbin build/$(usex debug "debug" "release")-linux-${my_arch}/Quake3-UrT-Ded.${my_arch} ${PN}-dedicated
|
|
||||||
docinto examples
|
|
||||||
dodoc "${S_DATA}"/q3ut4/{server_example.cfg,mapcycle_example.txt}
|
|
||||||
fi
|
|
||||||
|
|
||||||
prepgamesdirs
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
games_pkg_preinst
|
|
||||||
use dedicated || gnome2_icon_savelist
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
games_pkg_postinst
|
|
||||||
use dedicated || gnome2_icon_cache_update
|
|
||||||
|
|
||||||
if use openal && ! use dedicated ; then
|
|
||||||
einfo
|
|
||||||
elog "You might need to set:"
|
|
||||||
elog " seta s_useopenal \"1\""
|
|
||||||
elog "in your ~/.q3a/q3ut4/q3config.cfg for openal to work."
|
|
||||||
einfo
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
use dedicated || gnome2_icon_cache_update
|
|
||||||
}
|
|
Loading…
Reference in New Issue