diff options
Diffstat (limited to 'games-strategy/colobot-data')
-rw-r--r-- | games-strategy/colobot-data/Manifest | 3 | ||||
-rw-r--r-- | games-strategy/colobot-data/colobot-data-0.2.2_alpha.ebuild | 48 |
2 files changed, 51 insertions, 0 deletions
diff --git a/games-strategy/colobot-data/Manifest b/games-strategy/colobot-data/Manifest index 7052e4e846bf..f5b5e4ec34f3 100644 --- a/games-strategy/colobot-data/Manifest +++ b/games-strategy/colobot-data/Manifest @@ -1,4 +1,7 @@ DIST colobot-gold-0.2.1-alpha.data.tar.gz 57884236 BLAKE2B e8e357960ce70e0ad008307fa34c87d69be89f656289af2c4de345a24a3478b6b6330035a49992ed591720606f4ea37e33f92b977c457ca0efffd1842f924e4c SHA512 6a0865fbf2389e3df6a17c5cb34c7baec5c4b019d18949f2a624afa1c43bfb4d71c8afc33d101eb307e872ff1ad2d8e93763ebcd7502932c510c868c03def188 +DIST colobot-gold-0.2.2-alpha.data.tar.gz 57913175 BLAKE2B e642b5f304fc23c12d54b381c64e0d8a8b61e584932628b9f5149b76f0ef6a2347af6bd49b4c8c95883d5af87783bc5ac83ef6b066a62edaa9bf9926b8e8f86d SHA512 438e9d3aa8fbbb0ba070b7d9c1f8a188c0151e1701ee2c20c7e22dc7417b5982346c92cf5cd358f38f661cea854a8756c45f917657a891e7cacdf615c58a9dfd DIST colobot-music_ogg_0.2.1-alpha.tar.gz 55596353 BLAKE2B 63be871fc2000c1cb041658b7395d5175cefc24c81661b366396965951efdadf1cf064211f3f543c4a4b1b7da5bd91db5e397844f1e8771318302c9d80788eb4 SHA512 486d084adc1b28a9fe36c530d261e48a89553c822989f493b0a92dabb9c3435953bda6fe98fcdabc72c6969b5e9be4ff9f3803066f6115fc7740c3de5d183764 +DIST colobot-music_ogg_0.2.2-alpha.tar.gz 55596353 BLAKE2B 63be871fc2000c1cb041658b7395d5175cefc24c81661b366396965951efdadf1cf064211f3f543c4a4b1b7da5bd91db5e397844f1e8771318302c9d80788eb4 SHA512 486d084adc1b28a9fe36c530d261e48a89553c822989f493b0a92dabb9c3435953bda6fe98fcdabc72c6969b5e9be4ff9f3803066f6115fc7740c3de5d183764 EBUILD colobot-data-0.2.1_alpha.ebuild 1120 BLAKE2B eb847412282c045215c7e947b8447385a217cf46700a71b624b19832ed04e872805ced103f9d01d7964e3ea9c054bf23fa40f24215a78a89dac0edca96977497 SHA512 02e905d60050740126d37f20ced798cb6dc803a473049e88a9847257eaa4ae8fac4d4eef418b559012a9002dd046854cc6896b0f759e58ca9203e40c015171a0 +EBUILD colobot-data-0.2.2_alpha.ebuild 953 BLAKE2B 0b2441c1dcf659e0b023147f3be794ce36dc5cfeeaea0254540e5081b069d27b8bf9d903a956d6fa72a5587c1c5b927ce51c5461fb175e77590529d7d5bbe17d SHA512 3e196b13b660fa3887caf62055bd08945824d456f0fcda6c246f9532b595e2cc0a09b944b90f2e93d2037f0e66d15a29f3eaaa58eecaf447b09a11d03f50beda MISC metadata.xml 397 BLAKE2B 7ce40a327011c92036bc77a1cba1fe66f75395ab27a4099ca6d70dbca306b39ba23fab6d9b4066379c446e4f72f3484563e2c6399acac6a7571209f534ea848a SHA512 e6d71d298321a5e693e387d9900e8ceb019e115f1e83113e67a0a6c34c2c6620e5393aa31603ef0df63ff4ebb27a008e70b5a4951e95a37295261e3eca9d440a diff --git a/games-strategy/colobot-data/colobot-data-0.2.2_alpha.ebuild b/games-strategy/colobot-data/colobot-data-0.2.2_alpha.ebuild new file mode 100644 index 000000000000..9eb0ea6c7443 --- /dev/null +++ b/games-strategy/colobot-data/colobot-data-0.2.2_alpha.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2024 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_configure() { + local mycmakeargs=( + -DMUSIC=$(usex music) + -DMUSIC_FLAC=OFF + ) + cmake_src_configure +} |