diff options
author | Julian Ospald <hasufell@gentoo.org> | 2014-01-27 00:00:25 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2014-01-27 00:00:25 +0000 |
commit | 48150f174f99a6c80101f1f0abf00c08ee297943 (patch) | |
tree | 64b47386da0476c3b1767e3226344984641d38f9 /games-fps/urbanterror | |
parent | Restore old version to satisfy www-misc/litmus. (diff) | |
download | historical-48150f174f99a6c80101f1f0abf00c08ee297943.tar.gz historical-48150f174f99a6c80101f1f0abf00c08ee297943.tar.bz2 historical-48150f174f99a6c80101f1f0abf00c08ee297943.zip |
version bump
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-fps/urbanterror')
-rw-r--r-- | games-fps/urbanterror/ChangeLog | 10 | ||||
-rw-r--r-- | games-fps/urbanterror/Manifest | 26 | ||||
-rw-r--r-- | games-fps/urbanterror/files/urbanterror-4.2.017-build.patch | 75 | ||||
-rw-r--r-- | games-fps/urbanterror/urbanterror-4.2.018.ebuild | 151 |
4 files changed, 246 insertions, 16 deletions
diff --git a/games-fps/urbanterror/ChangeLog b/games-fps/urbanterror/ChangeLog index ca3dcb416502..4e349ea5edbb 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.40 2013/12/24 12:44:10 ago Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/urbanterror/ChangeLog,v 1.41 2014/01/27 00:00:21 hasufell Exp $ + +*urbanterror-4.2.018 (26 Jan 2014) + + 26 Jan 2014; Julian Ospald <hasufell@gentoo.org> + +files/urbanterror-4.2.017-build.patch, +urbanterror-4.2.018.ebuild: + version bump 24 Dec 2013; Agostino Sarubbo <ago@gentoo.org> urbanterror-4.2.015.ebuild: Stable for x86, wrt bug #491532 diff --git a/games-fps/urbanterror/Manifest b/games-fps/urbanterror/Manifest index dea40ff5ebe6..752088bb22b5 100644 --- a/games-fps/urbanterror/Manifest +++ b/games-fps/urbanterror/Manifest @@ -5,9 +5,11 @@ 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.014-build.patch 2437 SHA256 32af51b12f11d0f6b1bc13cc45653c1f3401fab7543da20dd37c0664055cf2e1 SHA512 746517bb43934ca7893845180d95726c08a0a679d960963a61012aa5a263911b5656b9d12d84ad9df79c35ca7c0e40bf17a76b3dff89b13566476f922520ff17 WHIRLPOOL 531ed9ef7eead6560b5b139b62b90d7517415a1761175d73780e86b68d857c44bb499845dfa860f4e4e3ef2919cd4cfe88e01ec32cf1fe1c46010ade8a48af9a AUX urbanterror-4.2.015-build.patch 2437 SHA256 32af51b12f11d0f6b1bc13cc45653c1f3401fab7543da20dd37c0664055cf2e1 SHA512 746517bb43934ca7893845180d95726c08a0a679d960963a61012aa5a263911b5656b9d12d84ad9df79c35ca7c0e40bf17a76b3dff89b13566476f922520ff17 WHIRLPOOL 531ed9ef7eead6560b5b139b62b90d7517415a1761175d73780e86b68d857c44bb499845dfa860f4e4e3ef2919cd4cfe88e01ec32cf1fe1c46010ade8a48af9a +AUX urbanterror-4.2.017-build.patch 2186 SHA256 2c430b077978c7289c2515dab5cd898b3ab0de32aa99be426047b7461ff196f9 SHA512 1c93d6e7365b77d39014af7a6e15e934cfbaf544ef688e8c84fefaca63ee8e68733ca3115611464fc097b8c9171c00df13976472976c510433dc35ac3855a2b3 WHIRLPOOL a3cefa6451b88d2a1537b711d32dea2fd253ca92a794896ec842b069189eb519fdd59b829573966d024e7a19bc3355d7d7d41028718a2b3c1bf65c8de2b89b8c DIST UrbanTerror-4.2.012-to-4.2.013.zip 103786786 SHA256 ea88a4fcba89bff56caaa982884bbd10977902a71f61c29a36ce50024cdbe017 SHA512 3c9d256df659888c94c4174e923c5dc331d6a4f19845c954b454e04eb42e6a690fb4cd5c71597659f6cae113c2a301483220fd65efc7d2d82122a8a50634a2e9 WHIRLPOOL bd03ea14e00eb65de61cbb0d33636855330f2bc941c3ade2cb95ca6e59e6f675bf98e84eba6ccf80234a191c960ab3f26c8c4a4a32c997efb4536725f540b781 DIST UrbanTerror-4.2.013-to-4.2.014.zip 21228975 SHA256 a389bbd14f3d11f294b7f3af6d543cf7d9001983ea7b71c167e6b5b7954b1db6 SHA512 f31fd4ae95f6270d7400a3e3bbdbf2fcdfb8e61016a1854d598c3d248208dc6a67bb2df8b5e1cc5461fe30caace1a827062030ce4d3e86af7035098590b9664e WHIRLPOOL 919fd5d8884b59398971ead09b60624cbcf73d85c3fe8b3860b12c36ac790ba3e475613b2e9878fc5349ea0a8274ae6554522a43dad20bda69dcb1b87a6b7a07 DIST UrbanTerror-4.2.014-to-4.2.015.zip 163283262 SHA256 144ad248245dca61debc5d8b0615af99fb165b8c2a293d270dfa2fcd0d969ea1 SHA512 14bca57c8cd9c5f8cc84c3341546955c4e218ccb8cb6008ef20582640e9fbdc3677342a17743e211a7da72929eacfe68843eed4faf665c8e2cc2d13845c8c1fd WHIRLPOOL a0da3c7bb655b687ba27580af239771f1e271e86327a43e41d0d9160cd451a294d377d7377d172f7602585a8c01d58a2790c5130b8d50baaff2997a35e96a993 +DIST UrbanTerror-4.2.017-to-4.2.018.zip 9485349 SHA256 9d8a4cb258a60b2f464daaa998d9d26244f339fac562fb0c3cb4e00683968163 SHA512 a64e996a8538219ecc4300e25a31c14471593588e236ce4585c65d97b7306db7208f31549c08636657f1bd52142d7ba3aa2e72ab60a375d7a46949b6c18dac48 WHIRLPOOL 239595f7f75cc4fb9976c817a08eaa77e9413a913106b581459c84438babfe68c62ebb9775359c3dad460aeea48afaacd136d318ce9d0aa4abc0bd25ab92736c DIST UrbanTerror42_full012.zip 1529738026 SHA256 5b66e623ae5d065f8fb265e581c3640d3010af30457344874f4970d2d9092e6a SHA512 23d8ac966f6f0fbd52b633b31fc0f333151be0e64b8698b424e9f7a3524034339dd66e95c33ed1e1f451e22baa2522d30fdbc83091a3340b2ed42a55908f31ee WHIRLPOOL b438efe82d621b1800445e30c5eae5df4cfbe8ee02f1c8f58a5e33f0cf3d8261628f2100bb0e7d2782bdba0f578dcd6e626e1d3c775124d304c1c22246bad77a DIST UrbanTerror42_full017.zip 1703717111 SHA256 9916203f84a3e71a6a2fdca8b247bf78a4775d84c3f4472442a13ad157e6d1d3 SHA512 cfcb6c3358f20f9df4cb1da11126b4f3a5e2597f3ab002241be3969e57caeb6767040f78179fb4ccb13e159b12411421cc17f9d19da473c7a9f0dc4fef000c85 WHIRLPOOL 2c2214c78c43e2111cb01cefba37e3cefd6aa262961b8e5872d3ccde87f7f9c264cfc7171bd134fec3aa4546fe22f7e7637a9b59bf1fc3c039a1043e459d0837 DIST UrbanTerror_41_FULL.zip 754307397 SHA256 5706957783d0e4e77fcc4bbbc2df83aefc0f9a6388f6a63b60947e84f9ed265f SHA512 4ff729df5472b9bd3138e62fe2e03c794dd9293ba08106c026a120d6c9971ea2420c3e81abb99e2b2ae8a082a07e96468154958b36a770cce0e931f9a499e623 WHIRLPOOL 4752ff4455d2c69fcc732ee4035b097aed852e55bf1077c59e650297f69b87ea59ff53573b653f22843ffe7fe35e524eb66f1033049dcc364ca554bf875dad18 @@ -15,27 +17,23 @@ DIST ioq3-1807-urt-251210-git-nobumpy.tar.xz 276824 SHA256 9f14d629f2a9c8fe0a593 DIST ioquake3-1807.tar.bz2 7054317 SHA256 10d3fcee3cf41a063e686048740417c8d58496f3dff5745f897a8803318850c2 SHA512 5fe54b628c66bd8becab259d133825e762a0814c7060c8d1f48e2b662f07f80e50fba8c7ae0677b02e231eae59eba65e143eb802baa79a7de89a7a612ae9682d WHIRLPOOL 03ed102b386b33ceff1588966409f1d4c6be1d980b40cac0eda1d2a7e763e45b3cd21a9817f77d60157cf741f4d7479926aac118f5972bb7d5fd6bc72517faa8 DIST urbanterror-4.2.014.tar.gz 9466024 SHA256 2f1701f5775a048defc77d5987107d8f532157f47fea3a6193ec20e84ab248d8 SHA512 952ee57c385be3381b6c96cc4ea3233d425529f3d46e5e445c09a172187990ac9303493daaf46c73ec33a555d241f9bae890d8202808dc6dceccfd3e6a374c62 WHIRLPOOL 0a8556b8b1ae724aadeea1cc5f44008b1050863521df4b054d98cc2a187ef0e3c32a1d935c270b6ed14603995f4e69ff63513f1d07869526ecb1c94efd32a6e0 DIST urbanterror-4.2.015.tar.gz 9466827 SHA256 c8566beba8fa93c8d0db460445b29b488c69821ec824a68de8007ee1d5467a07 SHA512 7e4d66c06575ecc719978a1a1e51b604abfb1ead77a8d48921384b760d94a614b38929f7d1861b8e3e9bafa882d09f9be228ba35801c993de419c6b8da89daa8 WHIRLPOOL 97e4f723ca3f8fc19a34ac4aa7018b2eab7c489fab355e3d5cdcdfc73dd6d5e0457d85b6635c9624e15d3bf6145e1d73de78143f89730a43c000d7786e5d9171 +DIST urbanterror-4.2.017.tar.gz 10752638 SHA256 a847428923df26ce39604fc0fc4f30639e471c21fccc55eac1cf1cdfbb25125b SHA512 f4962294e6dd6ee9b9d95c526d5a77ff7f1e17f37ba72f907578f2dedd10eb8090ae9b48d7c07213f283f2bdb8cf235ec8d749d165c157ec90733477db038c3c WHIRLPOOL 366ddd149080f22f644349786e6fc81d232812f601ea9bcda3af1865589454083a54acd815388e9b8c2f9e4a3f4f028a639e9235ccfb5fca7f9b0ff728494456 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.014.ebuild 3660 SHA256 77826d6b6dcecfed38f047b5f93f69115628a012c202d40a33fe1efda712dd4e SHA512 f45d7ef73f2eb1d7696f0a753527590c2e13ed2b861235644e99eca53ba4e69b3fb1424db342f7e3cb25e5a7e330eedfcaccb4a1cce8573ddc3f93b7adafe287 WHIRLPOOL d676aedeb4c638892050169bf19ea6b35e9df971945475901d8a345b9a1a53603da2742df4ffc59c1b17c27e9c1fe6faba97f543e6c618d5628aa2ab57dc0c7a EBUILD urbanterror-4.2.015.ebuild 3807 SHA256 40b483f70a0b7377f6acf908acc55ec88bead53e6478ea0a4723b44c56980e41 SHA512 6323c3f9a2cc9c72c863adf37850c63f37cb9ca28cacc7c99afbff0db56fe3e2e75b0f738f385a64d3c12fff78df0c80f60056bc4ee070ce782f1dade1a7a5c9 WHIRLPOOL 4a14ca0bd5b20e43505b19a418aad349e59b8eafd3e06e7a2461321d88178418634ca1bb7f7fa6dc24632d3f99636b31d0ee720f7111478c5ac2f2e2cf2b51af EBUILD urbanterror-4.2.017.ebuild 3646 SHA256 ebd0ec37cdb3fd889914c3b656ed0eeddc5e904d928eb6e304ebb70c8368243d SHA512 d5f3b91da93d5ab4beb961e6323fcb1c37d303b3cf20941d4c5fb696005501db2eacca929881e911ecab9003399832afc8cfd706455bbd6c3635e4baf531ad4a WHIRLPOOL 8b41a8390c69e3bddfd80d5603129bb6e88d0272db388c1eb07d8ffa11d3648702e4e44fb249c72c09a2073aea6bfe57fe110f5e6b46c50cb4d541df247f4aef -MISC ChangeLog 6876 SHA256 1cd1357590545413b1855ba617ce8d07ab8f9a6ede52707cbd53d705199d9b49 SHA512 f1bd304cfb3160ab85e4ac858e4f0c46a5c7759b2fa03412e52f79b7f209247fc2a2dc43952928ccd161242715be045761cf878240b3dfdd110308081fb6b960 WHIRLPOOL c5f970b0dff64efff7669a024412841542fe38809e254ed5ad741e6264913972589e66f16b59baf2459bdf5be034681c032445a301ae3ba48735542d2765757f +EBUILD urbanterror-4.2.018.ebuild 4081 SHA256 816853efd17567adacb0636b471bf1541aa8f96cd2931b3b74b14ffbf5559faf SHA512 5b8700bb8e8c5a9fc5e8803c23402305622053c11ea3c037c786b2b0762253c450e76aa2819cca2b85774367845b5357230ed5bd0041d134fb6763a02ca0270f WHIRLPOOL 4f8519652c25609408baff556645d9a80d5ca0777f031c45c0cf3a132132709b8f808a4c083f78ff49b93248fccdb47d59cd2abc9579e186263e8c04973e2a28 +MISC ChangeLog 7055 SHA256 d6ee5194bafb3bf3337a705c39a03d77715533cb716b4189bbc9a81f7aa745cd SHA512 6aaad25b17dfe97e8b1eeb94858219354fb9d9bfa3ca784808355dbb6c62a59fbd8945fad9947ab8f45d9c8f79732e51d43c8c14cbe9c0bc0691122355660a04 WHIRLPOOL fe57ad42bda55029ff1b087d6a7fc63156a60ca816752e538a1170f02190353a5a27d256c22346cffab69be4cbef120b824763abf0b500c0866562aeb80b42e6 MISC metadata.xml 318 SHA256 b92be79db64aa9495fc0540dcb2e8744d440938bc3fdf7a20fcc7ad2d45b084c SHA512 9d6b6289f12ca8bcc33bba5aa2ac1d6e8a256b8e7edff6e1a48326c7987656474cf355e86dbfd2ca85669757d129486db1f3cdf77180118c2136ae6995616866 WHIRLPOOL 302711496eef59814d2298bea053aecc6383dc149efedc8f07e270b3f0882a67843848e7528ac89e2502f3a64414dc9c44b9db09a9378284c57617d1eba1ba41 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) -iQIcBAEBCAAGBQJSuYGcAAoJELp701BxlEWf0C8P/27qCS7L/7ewAaH7aFbya54Q -XgQb/Y5lJPWYzN3NkrFFY9aWGESxR1Rtht5eJZIZwZlwHUBH5Buyqr9+2fbi3cmH -NkVaqA8IN5cPA2/lXHqKjLFA7g/Z7FlKWb2eN1/mPDiBr93anJw1JwwUUP+9oZ3f -p03nTRxzR/fbQ/9qGESe84aqYfdw4M1RX3VEJjLkROaSV77XICCwY1iMM6W7Rcpj -krJ/KC2vgZSmfCauowQAa4f+zPQ1aXVvAxotY//d5KQGlK1Daqy4Af43VqokNiyF -ewm3hUw//ikH24wUqFtuNUAAZJsbSA92eXDV1ADXvLqVUPD5MvrkT9910H6m5i0p -ZKWMuPAmPxmqCsFVqXCZBB1LvnnEJ1Y9LWdiNUvOce31W6SnoygMFPNumpE3cDrt -KH1efmXr6rL4onmeOTFAqBueOmSNJQoVzwd+vhUPb/olmTdY0nEJDKH/AFHI4yzP -d7Mdzo1gvw04/mEHfNRpq6c0XA71Ok51KRLe02dMbSjB/X+ExAaxCo9S4SwiWsKd -fmoa2T8gBtksD/FMKh3jX1N8JaTR8MA/Ju0jBue+y+pOfcVK+YXiobHOeeF7nQ0N -2KqudOOtP9MgfJ3Oep+zuhtvT553aEEY7oQ70dcf5Jwn6jOBACheqPKSoQLxuSNL -VI5co8jWNuVEuEh/q9as -=Tksf +iQEcBAEBCAAGBQJS5aGZAAoJEFpvPKfnPDWz838IAKzcYE8YT1AAvzLkNsLQd9N7 +UKOyHag7VdqBJK/zl9uwn4L5jTXcTn1RoPCeSGTMRxzqruFaDiUWLq5kn0fMAr17 +3RcPfDt1GGx8G7OrysL4CezMDEf5zUCFb0MiCJ6k7NkUtW/O109LRCYoIx0wOwg2 +3qcqDxmtHsehk7Ev6/c2/MXViMg6UR5lrzIkZ6YIlZPqNACy643bItpXP/0L7hy9 +d84j3LwZjxRF1gTah2Gt3fgtnrzsARBefSzrZh9RuHIFQxj3ZO6j34s3vNyEUhbs +C5RU5NpxCw1OOB47r6TTSJTdzPaI6k1OCK5SEdt10mU2kZvux+xuaMbSAr0fcBk= +=+b89 -----END PGP SIGNATURE----- diff --git a/games-fps/urbanterror/files/urbanterror-4.2.017-build.patch b/games-fps/urbanterror/files/urbanterror-4.2.017-build.patch new file mode 100644 index 000000000000..daa7e324a677 --- /dev/null +++ b/games-fps/urbanterror/files/urbanterror-4.2.017-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/urbanterror-4.2.018.ebuild b/games-fps/urbanterror/urbanterror-4.2.018.ebuild new file mode 100644 index 000000000000..c50ac7c63fe0 --- /dev/null +++ b/games-fps/urbanterror/urbanterror-4.2.018.ebuild @@ -0,0 +1,151 @@ +# 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.018.ebuild,v 1.1 2014/01/27 00:00:21 hasufell Exp $ + +EAPI=5 + +inherit check-reqs eutils gnome2-utils games + +ENGINE_PV=4.2.017 +FULL_P=UrbanTerror42_full017 +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=${ENGINE_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="+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-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=${ENGINE_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_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 +} |