From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id ADC7B138334 for ; Fri, 6 Jul 2018 21:48:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77DA2E09D0; Fri, 6 Jul 2018 21:48:31 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EFA83E0986 for ; Fri, 6 Jul 2018 21:48:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 94E8B335C99 for ; Fri, 6 Jul 2018 21:48:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8282E369 for ; Fri, 6 Jul 2018 21:48:25 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1530913675.1a09f8900a68d4fae17d11d3b0dfbce9cccc017f.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/urbanterror-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/urbanterror-data/Manifest games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild X-VCS-Directories: games-fps/urbanterror-data/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1a09f8900a68d4fae17d11d3b0dfbce9cccc017f X-VCS-Branch: master Date: Fri, 6 Jul 2018 21:48:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fde9ba00-d57f-4ec8-bd22-68f4eca9b32b X-Archives-Hash: 36fca16b404666661a887cf283715f58 commit: 1a09f8900a68d4fae17d11d3b0dfbce9cccc017f Author: Nils Freydank posteo de> AuthorDate: Tue Jul 3 16:30:45 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Jul 6 21:47:55 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a09f890 games-fps/urbanterror-data: Bump to 4.3.4 Bug: https://bugs.gentoo.org/658962 Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9017 games-fps/urbanterror-data/Manifest | 1 + .../urbanterror-data/urbanterror-data-4.3.4.ebuild | 65 ++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/games-fps/urbanterror-data/Manifest b/games-fps/urbanterror-data/Manifest index a43a3e00145..0d0c3b281c1 100644 --- a/games-fps/urbanterror-data/Manifest +++ b/games-fps/urbanterror-data/Manifest @@ -2,3 +2,4 @@ DIST urbanterror-data-4.3.0-to-4.3.1.zip 7495315 BLAKE2B a4562c81169274e6f7685c9 DIST urbanterror-data-4.3.0.zip 1490106979 BLAKE2B 2bee5e869b3929564cdba268765f6fda67ec1e4fb55209cac3f7b51b418bba287ba22112e5cd4db8ff2aae81ac836a31640760b1e4b24440054f2b2ee4d7e3c3 SHA512 2f54b59355f790a65b3dbd205e9e8b30d41856f5010a55e9e1436a6ec78e986ceecf78c8d84fac1060702c38a7df849f78a2832bdccb91ea46444877635b32ea DIST urbanterror-data-4.3.1-to-4.3.2.zip 15305498 BLAKE2B d3b21c893dc6f5ce2323ca383ff52c1f6711ba57ab752c30d8fbb76b5d72125427a14fc30127589c5612df34cfda869a0727a838006fd6fc566005a54b7e741d SHA512 cb24939fffef9310c6ca8496d0d4f3be8656685e749ff1d6589fd193990be67ac70494b61ef6a12dd1f6995a78d451b9f09098e03970e82e1e3153ec3f89792c DIST urbanterror-data-4.3.2-to-4.3.3.zip 10409736 BLAKE2B edc33e959cd16528ef732ae31335412c7c7741ccc5f106d2c0c6236f180cf9fd9b14a23b5e4a60d91aa9b8c4126fae5f110034216d5d2ae63ab784fc16532730 SHA512 f2100bf11b5dc0dac265f43fe6c8aa0a1e604728ce02b5b6ca770c9145d11bf02a7e2118ff818d1fdb2b9693ddb85eb012814f346337ef14c58c3a4f3e3abb90 +DIST urbanterror-data-4.3.3-to-4.3.4.zip 10421275 BLAKE2B 95ad6f395fef538fcb5e0413070fda7752759244d968649b0f59d2d9060cd79645a5485c554f2afc74028b7664dc907183ab99274db96826c00169ef5235c577 SHA512 05e14a1411a606fc7aeec3fa6393227af87afcf1ddd5ed5210c6612a9a1c15e0c4f9e14c40d43c078ac3fdbf519e9e8cb7d7a7983b7fceb39d11222d14ed39d6 diff --git a/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild new file mode 100644 index 00000000000..0fbf3555118 --- /dev/null +++ b/games-fps/urbanterror-data/urbanterror-data-4.3.4.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit check-reqs eutils + +ENGINE_PV=${PV} + +MY_PN=UrbanTerror +MY_PV=43_full + +DESCRIPTION="Data files for UrbanTerror" +HOMEPAGE="http://www.urbanterror.info" + +# load the base image and save it as .0 file +# use 43_full-2.zip as upstream fixed something back then +SRC_URI="https://up.barbatos.fr/urt/${MY_PN}${MY_PV}_2.zip -> ${PN}-4.3.0.zip" + +# fetch updates recursively for |4.3.x-4.3.0| +if [[ "${PV}" != "4.3.0" ]]; then + MY_CTR=0 + while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do + SRC_URI="${SRC_URI} https://up.barbatos.fr/urt/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip -> ${PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 )).zip" + MY_CTR=$(( ${MY_CTR} + 1 )) + done +fi +unset MY_CTR + +LICENSE="Q3AEULA-20000111 urbanterror-4.2-maps" +SLOT="0" +KEYWORDS="~amd64 ~x86" +DEPEND="app-arch/unzip" + +S="${WORKDIR}/${MY_PN}43" + +CHECKREQS_DISK_BUILD="3300M" +CHECKREQS_DISK_USR="1400M" + +src_prepare() { + default + + # apply updates we fetched before + # again recursively for |4.3.x - 4.3.0| + local MY_CTR + if [[ "${PV}" != "4.3.0" ]]; then + MY_CTR=0 + while [[ "${MY_CTR}" -lt "${PV/4.3./}" ]]; do + cp -dfpr \ + "${WORKDIR}"/${MY_PN}-4.3.${MY_CTR}-to-4.3.$(( ${MY_CTR} + 1 ))/* "${S}" + MY_CTR=$(( ${MY_CTR} + 1 )) + done + fi +} + +src_install() { + insinto /usr/share/urbanterror/q3ut4 + doins q3ut4/*.pk3 + # These files are *essential* for startup + newins q3ut4/server_example.cfg server.cfg + newins q3ut4/autoexec_example.cfg autoexec.cfg + + dodoc q3ut4/readme43.txt + docinto examples + dodoc q3ut4/{server_example.cfg,mapcycle_example.txt} +}