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 0CE41138334 for ; Sun, 27 Oct 2019 23:49:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 29031E0991; Sun, 27 Oct 2019 23:49:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 C12D6E0993 for ; Sun, 27 Oct 2019 23:49:28 +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 1897334C42D for ; Sun, 27 Oct 2019 23:49:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B9A789E for ; Sun, 27 Oct 2019 23:49:23 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1572220100.26a11a4a9dadf835fc72bfc1d446535abe001683.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-fps/ut2004-bonuspack-cbp2/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild X-VCS-Directories: games-fps/ut2004-bonuspack-cbp2/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 26a11a4a9dadf835fc72bfc1d446535abe001683 X-VCS-Branch: master Date: Sun, 27 Oct 2019 23:49:23 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 024e79cc-ef31-403c-938b-f53da559cf21 X-Archives-Hash: eaed720c1b294147a802dd798b46f5d2 commit: 26a11a4a9dadf835fc72bfc1d446535abe001683 Author: James Le Cuirot gentoo org> AuthorDate: Thu Oct 24 21:26:16 2019 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sun Oct 27 23:48:20 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26a11a4a games-fps/ut2004-bonuspack-cbp2: Fix SRC_URI, drop eclasses, EAPI 7 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: James Le Cuirot gentoo.org> .../ut2004-bonuspack-cbp2-1-r2.ebuild | 33 ----------------- .../ut2004-bonuspack-cbp2-1-r3.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 43 insertions(+), 33 deletions(-) diff --git a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild deleted file mode 100644 index d1d4cee91dd..00000000000 --- a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r2.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -MOD_DESC="Community Bonus Pack 2 Vol 1 and 2" -MOD_NAME="Community Bonus Pack 2 Vol 1 and 2" - -inherit games games-mods - -HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" -SRC_URI="https://ut.rushbase.net/beyondunreal/official/ut2004/cbp2-volume1_zip.zip - https://ut.rushbase.net/beyondunreal/official/ut2004/cbp2-volume2_zip.zip" - -LICENSE="freedist" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND="games-fps/ut2004-bonuspack-cbp1 - games-fps/ut2004-bonuspack-mega" - -src_prepare() { - # Provided by ut2004-bonuspack-cbp1 - rm Music/Soeren.ogg - # Provided by ut2004-bonuspack-mega - rm Textures/Ty_RocketTextures.utx - - cd Help - # Useless orphan file - rm Note.txt - mv GERROIDREADME.txt DOM-CBP2-Gerroid.txt - mv Readme.txt CBP2-Readme.txt -} diff --git a/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild new file mode 100644 index 00000000000..c14a79c5917 --- /dev/null +++ b/games-fps/ut2004-bonuspack-cbp2/ut2004-bonuspack-cbp2-1-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="UT2004 Community Bonus Pack 2 Volume 1 and 2" +HOMEPAGE="https://liandri.beyondunreal.com/Unreal_Tournament_2004" +SRC_URI="https://ut2004.ut-files.com/BonusPacks/cbp2-volume1_zip.zip + https://ut2004.ut-files.com/BonusPacks/cbp2-volume2_zip.zip" +LICENSE="freedist" +SLOT="0" +KEYWORDS="~amd64 ~x86" +RESTRICT="strip" + +BDEPEND="app-arch/unzip" +RDEPEND="|| ( games-fps/ut2004 >=games-server/ut2004-ded-3369.3-r2 ) + games-fps/ut2004-bonuspack-cbp1 + games-fps/ut2004-bonuspack-mega" + +S="${WORKDIR}" + +src_prepare() { + default + + # In ut2004-bonuspack-cbp1. + rm Music/Soeren.ogg || die + + # In ut2004-bonuspack-mega. + rm Textures/Ty_RocketTextures.utx || die + + # Useless file. + rm Help/Note.txt || die + + cd Help || die + mv Readme.txt CBP2-Readme.txt || die + mv GERROIDREADME.txt DOM-CBP2-Gerroid.txt || die + mv Tydal.txt DM-CBP2-Tydal.txt || die +} + +src_install() { + insinto /opt/ut2004 + doins -r * +}