diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-04-05 15:52:41 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-04-05 15:52:41 +0000 |
commit | d9c280b3944580ff33d31a46e2905794dd3e5222 (patch) | |
tree | 30e24ecc56fd977c458641c38f59018bfb8290a8 /games-fps | |
parent | version 2.2.x bump (diff) | |
download | historical-d9c280b3944580ff33d31a46e2905794dd3e5222.tar.gz historical-d9c280b3944580ff33d31a46e2905794dd3e5222.tar.bz2 historical-d9c280b3944580ff33d31a46e2905794dd3e5222.zip |
version bump
Package-Manager: portage-2.2.0_alpha171/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/urbanterror/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/urbanterror/Manifest | 28 | ||||
-rw-r--r-- | games-fps/urbanterror/files/urbanterror-4.2.010-build.patch | 70 | ||||
-rw-r--r-- | games-fps/urbanterror/urbanterror-4.2.010.ebuild | 124 |
4 files changed, 214 insertions, 16 deletions
diff --git a/games-fps/urbanterror/ChangeLog b/games-fps/urbanterror/ChangeLog index fc2e2c203d80..9438b242b5a4 100644 --- a/games-fps/urbanterror/ChangeLog +++ b/games-fps/urbanterror/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-fps/urbanterror # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/ChangeLog,v 1.20 2013/02/14 12:10:01 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/ChangeLog,v 1.21 2013/04/05 15:52:36 hasufell Exp $ + +*urbanterror-4.2.010 (05 Apr 2013) + + 05 Apr 2013; Julian Ospald <hasufell@gentoo.org> +urbanterror-4.2.010.ebuild, + +files/urbanterror-4.2.010-build.patch: + version bump 14 Feb 2013; Agostino Sarubbo <ago@gentoo.org> urbanterror-4.2.009.ebuild: Stable for x86, wrt bug #457124 diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest index 4726432e99e9..fbaf6d4e20e9 100644 --- a/games-fps/urbanterror/Manifest +++ b/games-fps/urbanterror/Manifest @@ -1,33 +1,31 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX urbanterror-4.1.1-build.patch 970 SHA256 686f183961c0ec1690696a64785bba7dbf38f7f8cf78d4cc6f8b403698342542 SHA512 8c2a5c6ca3046d5f93f7db4c1ca5d1e7f36114f0cd8cdca1d7d4cf22f4a6915463d09adc4b7d9783d91dce6232164af26ba2532b7bc9878c5e1bbfdf0154683e WHIRLPOOL 9b0ed6c6939af2d7dcc54a110752396bb29fc13238677ff35057dd3a8ab1786820e859b0962595dfe5ebac2c210f1c2e42e1356dd5c01f409bab329633e744e3 AUX urbanterror-4.1.1-minizip.patch 773 SHA256 0e6a1144bbc47c1dfcad6565c9bb7eb07b843992a0da673644d25cc08b32df9b SHA512 3c6e6f87c7db42d5d33ec93b012c08b0cf95b403dab31367a661197b5de1e29585fc4118e8d094aec1e1f4f4ec6c899c5feb6dc5b8ac2a1c4622cf599a49cc50 WHIRLPOOL 97c042f54d6bfadcf14528505078d7f77f4f97ef9f4ec9e1f5c2bf784852645531472962fdbd1cc809ba96fb5a580249a04372559972680137caa47a92bb91b1 AUX urbanterror-4.2.009-build.patch 2157 SHA256 b946620e2e4ddb43207b7af292084ff3cb28e759b07f2f50acf042b08a3f62b1 SHA512 447291e21c305cbf5ac7ae89053f19d2f295f99aa22f5ee6ab77547b5af2e12e30eac9df5339b8d9706fbb2ae31fb2de03de9b42d5a975e695f483693a84f595 WHIRLPOOL 70238230575069e8ef699c4e508945626e1b69ef5c9c73220c0f3aefe922459f424dc28c4dddaea857962d8a593a64ae22beecb473d9a5b55545caa5c114f689 +AUX urbanterror-4.2.010-build.patch 2157 SHA256 d1a447c0ab0c67c5ab6775e234fddbbde897b953c4a36877b2756259e66e6264 SHA512 802ba7934c70f5aa60f2bcb483f3af515dafdc75be9417a59b09da1ce9de6388e0d3c5a9f903295758a453c5ef76f0ec1af5ce194d11b45eba951bf0dde95427 WHIRLPOOL 0f8ab58158c37e6ad7ae358a4ba910d13d51f05da628d7e3994b0d543449e928d299fde81f089221b618d45b2811907d1aed679f0f1b5bba70eebd0e3f0a4c89 DIST UrbanTerror42_full_009.zip 1316330716 SHA256 7090820ad72cbeb556402da637a770943e64523a0eb30a3d78c8f25ed9c7025f SHA512 95241facd437224541dc0d1af5c4412b7e3ebb49a1f75f4ef7c9c779fb8ef57f8e0d9e58b71f927c9a6125a6dfbb01bcad79706cf8b84e659bd90c8e514dd1f6 WHIRLPOOL 595a9ece67a0cc7f9718f2329c50daef055e7c9794ad709186e7ab94a4cbbbfc704cbc44801c7bfa7127aad7396001beb1afcb6bc077bb64336223df3f04d95c +DIST UrbanTerror42_full_010.zip 1378221345 SHA256 27a5977f33fd3f21f703e255b400d587ce8fb69202945ef207cc3112ed2e2a35 SHA512 23d4f8aa0a5e0383e1c44543503f5507cd5527a146f7040c6bb96749670ba1be57cfaf0adc2352a7f8f04bfbcc1799f68fd44b8f6faf2ff916b0ef55750ca2fd WHIRLPOOL 0f094ae9df93438c60afb6028786130d642fe6c834efd9d7ceb9b46640840462fdf03dcb5871be463c4e6b5b0ebe484c4bac63e9d829a5119c0ed32b827f6813 DIST UrbanTerror_41_FULL.zip 754307397 SHA256 5706957783d0e4e77fcc4bbbc2df83aefc0f9a6388f6a63b60947e84f9ed265f SHA512 4ff729df5472b9bd3138e62fe2e03c794dd9293ba08106c026a120d6c9971ea2420c3e81abb99e2b2ae8a082a07e96468154958b36a770cce0e931f9a499e623 WHIRLPOOL 4752ff4455d2c69fcc732ee4035b097aed852e55bf1077c59e650297f69b87ea59ff53573b653f22843ffe7fe35e524eb66f1033049dcc364ca554bf875dad18 DIST ioq3-1807-urt-251210-git-nobumpy.tar.xz 276824 SHA256 9f14d629f2a9c8fe0a593b5a08d1ceadec6a22c387806d9e5f50e22a537c2b74 SHA512 e190f60d9c3275d285c75ba2947734cf9f555d373618a37f3b38464d10fa85a4af6460918676b18a96885fe7280c856f6c9877175dbbe82929f5f7c1704fc6a3 WHIRLPOOL 104960ca4066726cdd5dbd0d4d93998e6fc648c4e969109b3a1634232f6d4e3556c3107dd0f78860444ed3635bd3f4a979cb67d90a650b1dd8f51175b9b8e10d DIST ioquake3-1807.tar.bz2 7054317 SHA256 10d3fcee3cf41a063e686048740417c8d58496f3dff5745f897a8803318850c2 SHA512 5fe54b628c66bd8becab259d133825e762a0814c7060c8d1f48e2b662f07f80e50fba8c7ae0677b02e231eae59eba65e143eb802baa79a7de89a7a612ae9682d WHIRLPOOL 03ed102b386b33ceff1588966409f1d4c6be1d980b40cac0eda1d2a7e763e45b3cd21a9817f77d60157cf741f4d7479926aac118f5972bb7d5fd6bc72517faa8 DIST release-4.2.007.tar.gz 26640879 SHA256 96f39ad2b952b38d1fc53dd04198352fe0b396eb2a3fb696a827199222902989 SHA512 1b57a94b986e159672b7befc49771df1c5cb1637757c4e4502ca276c6d067004cac047eee0de53ad15a68c87ffb2ad995517a028f66fe3c646f3335c74866802 WHIRLPOOL a8a54c586a3e533c0090d38d1708999212e6e1e338cd97b56b3cb4a9520fed7fd8b72c8fc898e8673097b0d46a98b62f42ddbcd02d6bb908bd7ce67a9e985101 +DIST urbanterror-4.2.010.tar.gz 25935347 SHA256 91a0ed02929ba0449fe006d2cc26c8860f1af636755884bf4bda1f4b251d8a81 SHA512 5dea39b04f706f8aa81dbe8c78fbc6b3b51636271b01f2cd4ce91aeb9487250e70d87c190c6fba582a34a788c7bb454ac4d8e9edaff6c66ae15ba72abe3fe283 WHIRLPOOL b282a9a2cb962ae52f20e1be03294e0ff991fcafa50826b134d816315b97c53f36a570a1603b980602acf136c8c750c086af2bd2601e0f8f23f5e817ccc26759 DIST urbanterror.svg 1592 SHA256 0d7eb12a8fe8380e0d89199621414dd56ecdfe8a8b99eec5b95d925294521de9 SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 WHIRLPOOL 281413cfeb881466c2d8b882d0aa4dcf19013630a462775345c69e78a0cb86c7efed14f5d22b453c89648da682ab5e98e3579a1c975994a8e90b9fb22c37892c EBUILD urbanterror-4.1.1.ebuild 3496 SHA256 7b36c1c3042a68297172cb3c8234f14b06534dd4f597681b20c3d261fa60e699 SHA512 9eff1c92c34e35eaafd608a17aeedf02750ac95f8e30f13105767b902ee12c8e220eab8ad337504c652947a8f0ce30d3d621f7e62fde739824c73a57846e1e53 WHIRLPOOL f62bc3f94e3b7db3e71a096643f956babf2626bde449ffa357b1c73a411d28926a020d8d1c136c1135a02cdc3214a365f3977eeaabd881f0a406307423307231 EBUILD urbanterror-4.2.009.ebuild 3295 SHA256 b6d0660951e0bdbc76d7f6353b326fba7d70e113ff3b9c0c3561d4ea08e41657 SHA512 396a008224e34b47a93609c4fb899ca12ade6cbf7002b7069c7172af467a26c477374fdaec9f5a33d32516a27127805859c29b9a75b14e5c05802b3cc800a64a WHIRLPOOL 39208881c5d2dbce0d4e67e7ce1d70b34b661cf0b189f508b6a75f3361c9cfb6c9cf0cfbf6e2b7b442f6a1f6748ee7061beb8a9c82eff09d916f96f5deb2b4d1 -MISC ChangeLog 3579 SHA256 250d7984af58ed04e4d7e125870c63c0166cbee3baf7dbd45f82cb2433362633 SHA512 3b5b064cf62c9f3d21eb8dfa04a2280d025efae658f5b9aedab134fd1031f13e0cb90ab2b4893e0752c19b6ec47b65a8e3cbd0c4dc92dd009848e57e6d2f5d9d WHIRLPOOL 37422bfac1e0f49524254c3d427ce4addb53dc4c08dd3f8b04272d763385cb8e275006508adf03dec19cd09a69a799d8b70fbb48554ae8eda24b959a6e7ef518 +EBUILD urbanterror-4.2.010.ebuild 3293 SHA256 4d9b78501b070f4761e4a6eb648f48f98d28bd28f264ca5b838bd4351976beab SHA512 ffac77b449bb29e41d9ae5f215423c72aee65949230f678e64049704538c39b415de760421f9853b0a0c6f208cac0f3bd4ced3406fa263c2886753e35fa04364 WHIRLPOOL a6a54e81a8b14f28b7e36e52d2d5dd223da43530aaa7d1cd21229814d86a3219877ff4a9d26d22beb5365c71bc758695eccd1d1f5d6fcafc184d7fd429357735 +MISC ChangeLog 3758 SHA256 ae80e8849c07a9c19f6428039c4c16c6996c4777d0ab1d6de2f90f32362fa3a7 SHA512 c987c86fee3113f9ecf5d0b50de9d22c647c0febd97d264ac9083528477b42ec7c32c2cc11309b72cabb6f07d3da6ac423b17d4dc3fbeb18b99de6664f2296b6 WHIRLPOOL 98693a07a4e3e229141a73a320cc2d1aac43db4ce91a3c1513ec33472299bac5f62309a2d6697b4b3145cff8319fbae924c30cda8a5bb3e611e19134b8e0b4a2 MISC metadata.xml 318 SHA256 b92be79db64aa9495fc0540dcb2e8744d440938bc3fdf7a20fcc7ad2d45b084c SHA512 9d6b6289f12ca8bcc33bba5aa2ac1d6e8a256b8e7edff6e1a48326c7987656474cf355e86dbfd2ca85669757d129486db1f3cdf77180118c2136ae6995616866 WHIRLPOOL 302711496eef59814d2298bea053aecc6383dc149efedc8f07e270b3f0882a67843848e7528ac89e2502f3a64414dc9c44b9db09a9378284c57617d1eba1ba41 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQIcBAEBCgAGBQJRHNQYAAoJELp701BxlEWfPeAP/13AxdjFdXCWIynCOjkO15Lc -V0O37fGGHLlBm61urQjG+tjTXj+zOqV9Ll7Zn7R5bF7XOBPNNudgQedxzZ5MjHfy -Pk6Vg5958WImKPRGUPtl8xoGqzb9nLtRKjQapCd/1UbIkHlmm9XFKgAW11c7+E5J -4XlJ3SnK+UFNdU1KTFREMD44Yu5U/muOj1ieS7QbNAwAPjGIP06Bf2/y/NUQ0WaO -y5qlsdw33UhE/bqEnGujOMZnR/p9g2C/AnjHImwaTCxrph9lEY5TVN1/o8elrx4x -9WKW6B5fMmhDH5XD8SXCq/oYyr1vhosZ3wiAwaBHIhAhpioE3o8NL1a1Qf17Sl3N -f0W4mDEWeSl5FVfeq3EwAjMDo9iDP42r2vq3vAdFS1pDLdHLdJuWT64n+/oKCv1K -6eL4Ie4qitqKRhYTzO4sh/0oEsMID8MFwqLxD4PI+m6xRnXhq2Dbjg5ZcyvHByD/ -mJWuUg+UJOYbWuVdcNrfbZexRCXg4+L/bHFX8Ge4R1bmA+wnMPbDuNOAQpRQC/rV -1koEHjZ/UaHNo14rSz0rtqAJcg4AXjlg32pg6HZ7eKWyXXHqCovIu3i248BKo4hV -4S5p09lWnst3/r5DQCgqbJrWrjtnkACrdKSnHokVM+UXpm/g4YUtuNDPWa08+NAU -QkaVAEVbIFSBHJ7U4jYY -=ApC8 +iQEcBAEBCAAGBQJRXvNJAAoJEFpvPKfnPDWzv+0H/1pFZPinxkRusg6rUSf0WT7I +vnPJFpRHyt4BQ7A6xaNYXSXLzC7XxurfKhlq1P2cxpvplnD+sE0KetTWgydCAAIy +oiyJh1L86/XEhxzKD7GHNzQS8zYl76X6O6HwwkA3bTicIEsfEsOGCZZcO7UkR5A7 +yyLlsDgSoprDVw1WUJQFC1Qn23ZkFGzN1Gsh0Tbw1AKbzrqWnD8BYZSztOx5S87m +IFCKZI3KFk5mwEBVxGpkbKpVt3f3QH5X3gTZj7fG2mQYo1hS70OkNroJ3onxiy8m +gzl8AxPKTzokTsEttYYbTYGAxz+4D9nMBTwFdGALRXCo7FT5lwLcDDQhWVKUDWw= +=EjE5 -----END PGP SIGNATURE----- diff --git a/games-fps/urbanterror/files/urbanterror-4.2.010-build.patch b/games-fps/urbanterror/files/urbanterror-4.2.010-build.patch new file mode 100644 index 000000000000..820bd0872544 --- /dev/null +++ b/games-fps/urbanterror/files/urbanterror-4.2.010-build.patch @@ -0,0 +1,70 @@ +--- Makefile ++++ Makefile +@@ -213,7 +213,7 @@ + endif + endif + +- BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe ++ BASE_CFLAGS = -Wall -fno-strict-aliasing -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 = -ffast-math -funroll-loops + + 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 = -ffast-math -funroll-loops + # 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 = -ffast-math -funroll-loops + 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) +@@ -1157,13 +1153,13 @@ + + $(B)/Quake3-UrT.$(ARCH)$(BINEXT): $(Q3OBJ) $(Q3POBJ) $(LIBSDLMAIN) + $(echo_cmd) "LD $@" +- $(Q)$(CC) -o $@ $(Q3OBJ) $(Q3POBJ) $(CLIENT_LDFLAGS) \ +- $(LDFLAGS) $(LIBSDLMAIN) ++ $(Q)$(CC) -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) -o $@ $(Q3OBJ) $(Q3POBJ_SMP) \ ++ $(LDFLAGS) $(THREAD_LDFLAGS) $(CLIENT_LDFLAGS) $(LIBSDLMAIN) + + ifneq ($(strip $(LIBSDLMAIN)),) + ifneq ($(strip $(LIBSDLMAINSRC)),) diff --git a/games-fps/urbanterror/urbanterror-4.2.010.ebuild b/games-fps/urbanterror/urbanterror-4.2.010.ebuild new file mode 100644 index 000000000000..2c8e1d03e79b --- /dev/null +++ b/games-fps/urbanterror/urbanterror-4.2.010.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/urbanterror-4.2.010.ebuild,v 1.1 2013/04/05 15:52:36 hasufell Exp $ + +EAPI=5 + +inherit check-reqs eutils gnome2-utils games + +DESCRIPTION="Hollywood tactical shooter based on the ioquake3 engine" +HOMEPAGE="http://www.urbanterror.info/home/" +SRC_URI="http://cdn.urbanterror.info/urt/42/zips/UrbanTerror42_full_${PV:4:3}.zip + https://github.com/Barbatos/ioq3-for-UrbanTerror-4/archive/${PV}.tar.gz -> ${P}.tar.gz + http://upload.wikimedia.org/wikipedia/en/5/56/Urbanterror.svg -> ${PN}.svg" + +LICENSE="GPL-2 Q3AEULA" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+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,audio,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-${PV} +S_DATA=${WORKDIR}/UrbanTerror42 + +CHECKREQS_DISK_BUILD="2700M" +CHECKREQS_DISK_USR="1300M" + +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_prepare() { + epatch "${FILESDIR}"/${P}-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_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 +} |