diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-09-19 13:43:54 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-09-19 13:43:54 +0000 |
commit | 6e18fc168e54637cda285cd4c1a11fb4560eb64e (patch) | |
tree | 13b0046ed2001d2b12fc3de9600bf68b06105892 /games-fps | |
parent | Version bump. Requirement for GnuPG 2.1.0-beta834 (diff) | |
download | historical-6e18fc168e54637cda285cd4c1a11fb4560eb64e.tar.gz historical-6e18fc168e54637cda285cd4c1a11fb4560eb64e.tar.bz2 historical-6e18fc168e54637cda285cd4c1a11fb4560eb64e.zip |
version bump
Package-Manager: portage-2.2.12-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xBDEED020
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/urbanterror/ChangeLog | 8 | ||||
-rw-r--r-- | games-fps/urbanterror/Manifest | 38 | ||||
-rw-r--r-- | games-fps/urbanterror/files/urbanterror-4.2.019-build.patch | 75 | ||||
-rw-r--r-- | games-fps/urbanterror/metadata.xml | 1 | ||||
-rw-r--r-- | games-fps/urbanterror/urbanterror-4.2.019.ebuild | 153 |
5 files changed, 258 insertions, 17 deletions
diff --git a/games-fps/urbanterror/ChangeLog b/games-fps/urbanterror/ChangeLog index 9fce9c2b6861..a903c590b9bc 100644 --- a/games-fps/urbanterror/ChangeLog +++ b/games-fps/urbanterror/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-fps/urbanterror # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/ChangeLog,v 1.47 2014/08/14 16:30:09 phajdan.jr Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/ChangeLog,v 1.48 2014/09/19 13:43:50 hasufell Exp $ + +*urbanterror-4.2.019 (19 Sep 2014) + + 19 Sep 2014; Julian Ospald <hasufell@gentoo.org> +urbanterror-4.2.019.ebuild, + +files/urbanterror-4.2.019-build.patch, metadata.xml: + version bump 14 Aug 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> urbanterror-4.2.018-r1.ebuild: diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest index 8d036738c07c..75e058779771 100644 --- a/games-fps/urbanterror/Manifest +++ b/games-fps/urbanterror/Manifest @@ -5,33 +5,39 @@ AUX urbanterror-4.1.1-build.patch 970 SHA256 686f183961c0ec1690696a64785bba7dbf3 AUX urbanterror-4.1.1-minizip.patch 773 SHA256 0e6a1144bbc47c1dfcad6565c9bb7eb07b843992a0da673644d25cc08b32df9b SHA512 3c6e6f87c7db42d5d33ec93b012c08b0cf95b403dab31367a661197b5de1e29585fc4118e8d094aec1e1f4f4ec6c899c5feb6dc5b8ac2a1c4622cf599a49cc50 WHIRLPOOL 97c042f54d6bfadcf14528505078d7f77f4f97ef9f4ec9e1f5c2bf784852645531472962fdbd1cc809ba96fb5a580249a04372559972680137caa47a92bb91b1 AUX urbanterror-4.2.017-build.patch 2186 SHA256 2c430b077978c7289c2515dab5cd898b3ab0de32aa99be426047b7461ff196f9 SHA512 1c93d6e7365b77d39014af7a6e15e934cfbaf544ef688e8c84fefaca63ee8e68733ca3115611464fc097b8c9171c00df13976472976c510433dc35ac3855a2b3 WHIRLPOOL a3cefa6451b88d2a1537b711d32dea2fd253ca92a794896ec842b069189eb519fdd59b829573966d024e7a19bc3355d7d7d41028718a2b3c1bf65c8de2b89b8c AUX urbanterror-4.2.018-build.patch 2186 SHA256 2c430b077978c7289c2515dab5cd898b3ab0de32aa99be426047b7461ff196f9 SHA512 1c93d6e7365b77d39014af7a6e15e934cfbaf544ef688e8c84fefaca63ee8e68733ca3115611464fc097b8c9171c00df13976472976c510433dc35ac3855a2b3 WHIRLPOOL a3cefa6451b88d2a1537b711d32dea2fd253ca92a794896ec842b069189eb519fdd59b829573966d024e7a19bc3355d7d7d41028718a2b3c1bf65c8de2b89b8c +AUX urbanterror-4.2.019-build.patch 2186 SHA256 2c430b077978c7289c2515dab5cd898b3ab0de32aa99be426047b7461ff196f9 SHA512 1c93d6e7365b77d39014af7a6e15e934cfbaf544ef688e8c84fefaca63ee8e68733ca3115611464fc097b8c9171c00df13976472976c510433dc35ac3855a2b3 WHIRLPOOL a3cefa6451b88d2a1537b711d32dea2fd253ca92a794896ec842b069189eb519fdd59b829573966d024e7a19bc3355d7d7d41028718a2b3c1bf65c8de2b89b8c 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_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 urbanterror-4.2.017.tar.gz 10752638 SHA256 a847428923df26ce39604fc0fc4f30639e471c21fccc55eac1cf1cdfbb25125b SHA512 f4962294e6dd6ee9b9d95c526d5a77ff7f1e17f37ba72f907578f2dedd10eb8090ae9b48d7c07213f283f2bdb8cf235ec8d749d165c157ec90733477db038c3c WHIRLPOOL 366ddd149080f22f644349786e6fc81d232812f601ea9bcda3af1865589454083a54acd815388e9b8c2f9e4a3f4f028a639e9235ccfb5fca7f9b0ff728494456 DIST urbanterror-4.2.018.tar.gz 10752968 SHA256 c1fb3eb3a1e526247352b1c6abb5432b8a9b8730731ef917e4e5d21a152fb494 SHA512 b6d306cbfeedefcc85e70a50c04e92cb509fb7e0d9b9c32dd77e287c916daa686eae3a6da8e4a9b9ad1b65b5268799ef8beb4f987b687bb5fcc05ef348872dfb WHIRLPOOL 3635c54c0e7a401d1685e6b65b2fd5afa00f3bdc86fc587b25b78be72715a318d2d2f28fe6e92b67f98b352296f5c5f79cc54688e5fd17d0ff0e3efb3f685cd0 +DIST urbanterror-4.2.019.tar.gz 10588156 SHA256 536ed6dfaec926f0a556951c96908e8611509ba8ef6c600557ced08e02e57c6e SHA512 c8ca725771523e862fb076df2f669ac511f1aa354e9507a96fe823ab7a109c0be95492394d519fb152f479842f1fbcd3af6a5ffe2a46d64a0ebfc1c882ebf48b WHIRLPOOL 67acd97df8dd4467b0c4f47a054b321a855ca1183d0c31be3efbc53d2f380470611bb4a245ab744ac571260cb933a22556c62cf87dba5726ec9e8dd7d61a5989 DIST urbanterror.svg 1592 SHA256 0d7eb12a8fe8380e0d89199621414dd56ecdfe8a8b99eec5b95d925294521de9 SHA512 ff789b35d9b1a2282485495b0d1918c7169906aeac094e7a33c7d77cd51d4787733400e1b9851ce19b38e886508d5fdd09f6cfc96b37a5b41bd0cf403e456b98 WHIRLPOOL 281413cfeb881466c2d8b882d0aa4dcf19013630a462775345c69e78a0cb86c7efed14f5d22b453c89648da682ab5e98e3579a1c975994a8e90b9fb22c37892c EBUILD urbanterror-4.1.1.ebuild 3546 SHA256 37a555af83f0dcbf24c12e3d8aff4bd995820f7f56ff641deaed9123f2438a5f SHA512 d01b9cee32576fe5dfbb40371ed42ae95d6c9835cdc7af5343417dd4b6552cb3cfa98563cb84ead4c797a1b4d624ceb9c87399b5d160ee87704d0388a266125b WHIRLPOOL 6742fd8c66fe99288a7b8169187a078fdf7d0cfe08d931f26aedb9a437af39fb4221d29cd702802ea67291f69e4ee7c7fc23a309fe0ec1b4386eb89723279ce5 EBUILD urbanterror-4.2.018-r1.ebuild 4119 SHA256 23d77fa4ec2d8780c3783e750fff5846af752d80e8ad2d6a25986a621ac427dd SHA512 cf6494002879028b8b2c9264840829338969a3c4b627878a813896cb876f38a5d2f4106cc1f5e774f0062fff5b57628f7ed429c3a84085f1cfee2b65c5c56a51 WHIRLPOOL fd6f40b4309683849c67dee7c12104643f4d84377b1848fd3740c4da3289263b3bfbfc1cf4ea453625a14d0ce9f22b41b1dcfd1ae1cd53ccd07489f549d4ea8a EBUILD urbanterror-4.2.018.ebuild 4074 SHA256 97a8b47d8b1f0180190ef4d92c7ed3eb13d4faa80fd814e28814300decc0eba2 SHA512 f652c4eeeee98c2ac33fa208f30436cec48927f14f54a71ada6bb2d15d3ad24f85eef8347a5f096a02bad5bfbbb59db7d8ebd363b1f6459283b84ee94d4094cb WHIRLPOOL b7d75ac4fd4f3bf4819ccf10593e4372072a2f020a2aefcc6990efc3e64312dac2784e1f729f184e09a93170197a26e4d1ab28431e5770750a29a3e9fd5c1132 -MISC ChangeLog 8027 SHA256 abc8785bca3aeaf9f95e691df6f26dfcc837d295b9cda7df3a77cb58a2c84247 SHA512 94a334f0ed70242588578b986260560e380e5099ba11bab2e15b8baea835d10be89550425955627de36e5b52772e2e6106e4de9d6e1bc4224d154d0730357bb9 WHIRLPOOL 2822dadaf44d0e9d5a4df5a4b3fd156a202264230f5babe91bc21eb9ddc69eaab9cf384c11e51c5c38fabaa96cbe3f243eba502fd12b756c5afd1c16d1f5c89e -MISC metadata.xml 318 SHA256 b92be79db64aa9495fc0540dcb2e8744d440938bc3fdf7a20fcc7ad2d45b084c SHA512 9d6b6289f12ca8bcc33bba5aa2ac1d6e8a256b8e7edff6e1a48326c7987656474cf355e86dbfd2ca85669757d129486db1f3cdf77180118c2136ae6995616866 WHIRLPOOL 302711496eef59814d2298bea053aecc6383dc149efedc8f07e270b3f0882a67843848e7528ac89e2502f3a64414dc9c44b9db09a9378284c57617d1eba1ba41 +EBUILD urbanterror-4.2.019.ebuild 4162 SHA256 b31c02c3f60dacadc96fca13d9e1b459e1cf5b2e4866e888366907b60dfc4cb9 SHA512 c13303f91d418ab412154b677232c09045e9e5deb45e9c963f7307521c2fbf9bcf311c31730f82f5d159c3c341b341ed17f1b9a1cd3824730b9f10bbfdb48c08 WHIRLPOOL daec23bfc9fd03496fc89956c398a3d1632cd5c32cd38eb2b11b863d2a55a2f7b2ef9a0b8d3ffad1764617ea1c71d895a7718aa8571a4a2adc25e9cf1edc3447 +MISC ChangeLog 8213 SHA256 031f9c0ab3e9d547c97fa02a194f39e6da972f8dde385e090157a5e0e026c2c3 SHA512 16b229009c5c6bc5ac812d925d88bce580b74c31fba2c515be4fc834c776395a7c775e0839ea42e881b5a481b9f265f70c010b0d659008134bfe0964726e7941 WHIRLPOOL 81981864ce9fda18109e14d355d2652cadef00710eb9ce862f0752d6d05c3e153ed50ba6547e3e2591ce1229d0beb64daa8c377b2ad33fefa0e7f789094679af +MISC metadata.xml 388 SHA256 cbcc13623b7e28357aad96c40b247caa5d5c9f43483c58487914db5cbec6fe6d SHA512 a0213af228c69101e9eacffe9986d12ae2d71c85f80210ba9002f7bdfa184ef0535efe77e80525c26d3ba4bf2382ba15b590754aefd6d225f6cf6e1364a8f2a5 WHIRLPOOL cf9476efaeddde34ba9801a02e5585a77eb0e0ccc024b211f65d31d75b93387f29b89172af5caf155268cd71fb7e1bb4effa3588b08d6dc50beb2dfb996fa6ab -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2 +Version: GnuPG v2.0 -iQIcBAEBCAAGBQJT7OQSAAoJEE8aJVXqcZkdI6gQAIKrw4tX9UykgFqx5ZxUcHL8 -O3tb2I6+rZFUKTAR5qVZQJMLqGuo42PspIydqXBze6C94kAYtnng+o2JWxlJ4mt1 -SflMXZKKAJchf3udONAiypc62vGdwTmR5CtYSEdHFsxD/9WGttYxTuui5fRj9Y/H -ZIr82pxmhPCEx9i7XEFd5t4FdLUM02YfwLtVdz4vgrFAgQ6emlmSVjMucZXd57qI -4/sOIjIwcuzNkc6rdz7cquVTb7jiFrYlz6qAoS+bpudkmLYNqnrucqyXnVMACVE9 -Ytsi6UJTfSORqn/sKVuq08XzUAE7SZj7F/kZWLwW0arL5NpMNWFyWoCRX+5qUL+g -r4kY/xjKYciyxiW5cBCsglMCX9X3v+fuwYDZaJVM8msZEk6PB6hTXo75dy6HoJro -8Pd1kYGCKj2+5hg4jz1Npf/6DXjklpBuX/hNDIn9VbnEnoJXWUIYvQE+yB3qt0Tt -LQHnqVCP4N0G3zW2kBGrQn3NbTb9x+NLL4SXUffP7+pqRfiK5KWdXIi+FRN0tSjt -2+yFqhp6v2p15YZYZj+oWr/PExXP8jKvF2lfz17keqb9zWIMZCyDLRoZIfJ1vQY3 -U4SyCClKqe+Lv4OYKTS8VQ2Y9kKO8uCzxs045J0kW2lnD4XADblc6MZzaFiZojzp -oHpivkJaE22C+otVDmfV -=zjzc +iQJ8BAEBCABmBQJUHDMZXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w +ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQzMDlCNDQ4NjEyNDI4NjA5REVEMDI3MzIy +MjBDRDFDNUJERUVEMDIwAAoJECIM0cW97tAgYKkP/At4kgKavB+NynPzQMlSkBcb +3J5GoUgP1fd3SFReJwm4Qm4E1sgapo5JtgmaesRXNkFxQZz2II1Sujb6J8paKfUI +lgGk8ANSm2QMmNzz/1SM5vrUDCUwSpVhUQaKA7pti/tOPIP1v8GWe06I3q8/LhZY +I+GkGEO46sNxhMbPP0HGO/D0Duw6m/vEnZOVrC5twhyDUJysR+heX9Cik12qhKdB +JHZhZDWOeBmjYLDTaPAj1PP6VDsz11OggSoffa280JtJP7qD1UnsQqz/76yWza5F ++Bhak8bIXhccDGBuSGlB0cCNIh/vD7vkd8wUKv4EDgnBm+wCV2RtrQ5uZTGeb0/K +UtV181Zlc2PSh+iC2bcpeWGa2QYJ8l/vcSo0vN+Q7hxyd/wWT+C9SAM4GuxtFIA1 +qzpl9M8nHHzUpdj5nmdW3D2cd8oxrwEv70yTI8rNmEEdZmOFReQU/1HeyPO+/VAU +ZI16tR5ahp3pxfgnuuHwOB38O1bk+FVMhfLk7tQNDNcWbgKgBTMeo7/x9T4E852V +CpDSZQc8PKHvvRXXKEkK9IpAjVsbG8+YrOolArSCWAIDx+WDb22VU4UBQSme/irf +9kwhj6PIYIZjw0XOS94kmE/uFN9+wqya3Stao6bRZqtJ2a39dX53gxQoOjvhTffT +k6c133XFE3xZWsrcIuw2 +=nsEP -----END PGP SIGNATURE----- diff --git a/games-fps/urbanterror/files/urbanterror-4.2.019-build.patch b/games-fps/urbanterror/files/urbanterror-4.2.019-build.patch new file mode 100644 index 000000000000..daa7e324a677 --- /dev/null +++ b/games-fps/urbanterror/files/urbanterror-4.2.019-build.patch @@ -0,0 +1,75 @@ +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)),) diff --git a/games-fps/urbanterror/metadata.xml b/games-fps/urbanterror/metadata.xml index 2968f7c37731..5bcf70b6234c 100644 --- a/games-fps/urbanterror/metadata.xml +++ b/games-fps/urbanterror/metadata.xml @@ -7,6 +7,7 @@ <name>Julian Ospald</name> </maintainer> <use> + <flag name="altgamma">Clearskies - X11-based gamma for Linux</flag> <flag name="server">Build server target</flag> </use> </pkgmetadata> diff --git a/games-fps/urbanterror/urbanterror-4.2.019.ebuild b/games-fps/urbanterror/urbanterror-4.2.019.ebuild new file mode 100644 index 000000000000..fe68fb078298 --- /dev/null +++ b/games-fps/urbanterror/urbanterror-4.2.019.ebuild @@ -0,0 +1,153 @@ +# 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 +} |