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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 97B2A158004 for ; Tue, 8 Aug 2023 04:59:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBF082BC01F; Tue, 8 Aug 2023 04:59:50 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BB0502BC01C for ; Tue, 8 Aug 2023 04:59:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB6AD34017A for ; Tue, 8 Aug 2023 04:59:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 57B8BF30 for ; Tue, 8 Aug 2023 04:59:48 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1691470784.2a3608dfec3a816d001cde761c1e7ec7d54c5ec5.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/colobot-data/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/colobot-data/Manifest games-strategy/colobot-data/colobot-data-0.2.1_alpha.ebuild X-VCS-Directories: games-strategy/colobot-data/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 2a3608dfec3a816d001cde761c1e7ec7d54c5ec5 X-VCS-Branch: master Date: Tue, 8 Aug 2023 04:59:48 +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: 6b0e4089-2883-4696-82e0-a2dc2afc408b X-Archives-Hash: 7aca2abf7a5280297b40169d55fdba5e commit: 2a3608dfec3a816d001cde761c1e7ec7d54c5ec5 Author: Michał Górny gentoo org> AuthorDate: Tue Aug 8 04:36:01 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Aug 8 04:59:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3608df games-strategy/colobot-data: Bump to 0.2.1_alpha Signed-off-by: Michał Górny gentoo.org> games-strategy/colobot-data/Manifest | 2 + .../colobot-data/colobot-data-0.2.1_alpha.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) diff --git a/games-strategy/colobot-data/Manifest b/games-strategy/colobot-data/Manifest index 01f7000b9315..80690bdc8cd0 100644 --- a/games-strategy/colobot-data/Manifest +++ b/games-strategy/colobot-data/Manifest @@ -1,4 +1,6 @@ DIST colobot-gold-0.1.12-alpha.data.tar.gz 54732267 BLAKE2B 8cf36911764beb921e2b1009fd8550a1a146f594033cfc4de2d8587866780e22f060949735b03c2e355fab412c70c8557587f859edb86ca815ef249edc348926 SHA512 599cc72e1383826b5c840446f52f53b0f325b1de2ce08826bbd6b04072a51f1c4007b5683f2608dd7be67ab358ef2856e790bbbe5c73d8514141e3284be47508 DIST colobot-gold-0.2.0-alpha.data.tar.gz 57792452 BLAKE2B 10cea12a220bb69db239e220a2ab4935177deea2c18181815b7a8dec9375c0f791f1fbabf7ac086bedb893e3a5b9543492635bf59cb3ab913ba4b3404bf273a5 SHA512 e36af1ad1e5470bec22a4923580be3ea5da69407b79af7c82a9d8c6ceff566b2f1e8e5aeb42f07098bbc459cc77ec391900ee79e8d0315a5abed7b36c44eafbb +DIST colobot-gold-0.2.1-alpha.data.tar.gz 57884236 BLAKE2B e8e357960ce70e0ad008307fa34c87d69be89f656289af2c4de345a24a3478b6b6330035a49992ed591720606f4ea37e33f92b977c457ca0efffd1842f924e4c SHA512 6a0865fbf2389e3df6a17c5cb34c7baec5c4b019d18949f2a624afa1c43bfb4d71c8afc33d101eb307e872ff1ad2d8e93763ebcd7502932c510c868c03def188 DIST colobot-music_ogg_0.1.12-alpha.tar.gz 55596353 BLAKE2B 63be871fc2000c1cb041658b7395d5175cefc24c81661b366396965951efdadf1cf064211f3f543c4a4b1b7da5bd91db5e397844f1e8771318302c9d80788eb4 SHA512 486d084adc1b28a9fe36c530d261e48a89553c822989f493b0a92dabb9c3435953bda6fe98fcdabc72c6969b5e9be4ff9f3803066f6115fc7740c3de5d183764 DIST colobot-music_ogg_0.2.0-alpha.tar.gz 55596353 BLAKE2B 63be871fc2000c1cb041658b7395d5175cefc24c81661b366396965951efdadf1cf064211f3f543c4a4b1b7da5bd91db5e397844f1e8771318302c9d80788eb4 SHA512 486d084adc1b28a9fe36c530d261e48a89553c822989f493b0a92dabb9c3435953bda6fe98fcdabc72c6969b5e9be4ff9f3803066f6115fc7740c3de5d183764 +DIST colobot-music_ogg_0.2.1-alpha.tar.gz 55596353 BLAKE2B 63be871fc2000c1cb041658b7395d5175cefc24c81661b366396965951efdadf1cf064211f3f543c4a4b1b7da5bd91db5e397844f1e8771318302c9d80788eb4 SHA512 486d084adc1b28a9fe36c530d261e48a89553c822989f493b0a92dabb9c3435953bda6fe98fcdabc72c6969b5e9be4ff9f3803066f6115fc7740c3de5d183764 diff --git a/games-strategy/colobot-data/colobot-data-0.2.1_alpha.ebuild b/games-strategy/colobot-data/colobot-data-0.2.1_alpha.ebuild new file mode 100644 index 000000000000..121f7662821e --- /dev/null +++ b/games-strategy/colobot-data/colobot-data-0.2.1_alpha.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +inherit cmake python-any-r1 + +MY_PV=${PV/_/-} +MY_P=colobot-gold-${MY_PV} +MUSIC_P=colobot-music_ogg_${MY_PV} + +DESCRIPTION="Data package for colobot (Colonize with Bots)" +HOMEPAGE=" + https://colobot.info/ + https://github.com/colobot/colobot-data/ +" +SRC_URI=" + https://github.com/colobot/colobot-data/archive/${MY_P}.tar.gz + -> ${MY_P}.data.tar.gz + music? ( + https://colobot.info/files/music/${MUSIC_P}.tar.gz + ) +" +S=${WORKDIR}/${PN}-${MY_P} + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="+music" + +BDEPEND=${PYTHON_DEPS} + +src_unpack() { + unpack "${MY_P}.data.tar.gz" + if use music; then + tar -x -f "${DISTDIR}/${MUSIC_P}.tar.gz" -C "${S}/music" || + die "Failed to unpack music" + fi +} + +src_prepare() { + cmake_src_prepare + + if use music; then + sed -e '/find_program(WGET wget)/d' \ + -e '/if(NOT WGET)/,+2 d' \ + -i music/CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DMUSIC=$(usex music) + -DMUSIC_FLAC=OFF + ) + cmake_src_configure +}