Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/colobot-data/
Date: Sat, 11 May 2019 11:50:37
Message-Id: 1557575424.5365b64d607a70f1e138571654bb19289f5205ff.slyfox@gentoo
1 commit: 5365b64d607a70f1e138571654bb19289f5205ff
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 11 11:50:04 2019 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat May 11 11:50:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5365b64d
7
8 games-strategy/colobot-data: drop live ebuild
9
10 Live ebuild refers to '-latest' file upstream. '-latest' file
11 does not match checksum mirrored by gentoo's system. Better
12 track data assets as proper release ebuilds.
13
14 Package-Manager: Portage-2.3.66, Repoman-2.3.12
15 Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
16
17 games-strategy/colobot-data/Manifest | 2 -
18 .../colobot-data/colobot-data-9999.ebuild | 51 ----------------------
19 2 files changed, 53 deletions(-)
20
21 diff --git a/games-strategy/colobot-data/Manifest b/games-strategy/colobot-data/Manifest
22 index 0ef50534c66..1d2b72544ea 100644
23 --- a/games-strategy/colobot-data/Manifest
24 +++ b/games-strategy/colobot-data/Manifest
25 @@ -1,5 +1,3 @@
26 DIST colobot-data-0.1.11-music-flac.tar.gz 298829480 BLAKE2B 2a041df82b295433257dd0358b6f83d585cae086a7c1f7e891964a4ffca2e1ca71bb68f7f01160c8dddaeb3b553fcc0082ab746177836d8b9494376a9a9b4451 SHA512 0ab613ea8ca59771b5d93b9c8d96ad88a0fe27f6171be0cb1d6d2eb60b820fdcad83f8fdc5d2f968e8091a6f3e727eb202c4dd09f86afb3eb2e325756eb40873
27 DIST colobot-data-0.1.11-music-ogg.tar.gz 55596353 BLAKE2B 63be871fc2000c1cb041658b7395d5175cefc24c81661b366396965951efdadf1cf064211f3f543c4a4b1b7da5bd91db5e397844f1e8771318302c9d80788eb4 SHA512 486d084adc1b28a9fe36c530d261e48a89553c822989f493b0a92dabb9c3435953bda6fe98fcdabc72c6969b5e9be4ff9f3803066f6115fc7740c3de5d183764
28 DIST colobot-data-0.1.11.zip 55796087 BLAKE2B 2a1a6fc57bb61423360f89c8bac597754cab872b3154f9b3464bef88555e4dcb9e0296a4b6f85271ef95e71c69d1c31737c8ae3b932a0b64dc8d7cfa8393481b SHA512 2024759af47b4c406325e1d72d119391712ec9d53b4059f3e942e0bd2b3881fdbc9613f79510b9b012cdbc76bebd8a008531da4f94be5d6107887bbcb330417f
29 -DIST colobot-data-9999-music-flac.tar.gz 298829480 BLAKE2B 2a041df82b295433257dd0358b6f83d585cae086a7c1f7e891964a4ffca2e1ca71bb68f7f01160c8dddaeb3b553fcc0082ab746177836d8b9494376a9a9b4451 SHA512 0ab613ea8ca59771b5d93b9c8d96ad88a0fe27f6171be0cb1d6d2eb60b820fdcad83f8fdc5d2f968e8091a6f3e727eb202c4dd09f86afb3eb2e325756eb40873
30 -DIST colobot-data-9999-music-ogg.tar.gz 3686106 BLAKE2B c1565dbcf1aab0e29014623c924ade2ac1b5da9ae9d9231afe3299dfedab0678c3d222e58665fe3ac60291972b7c2d763437246d7816ca7c16e69766a52e9490 SHA512 2ec22944857ccc5276b93d0da4684bfd9d2a80ac712e3396cb01ccbf21a582c22d525e8af9d12828e224ee948173bffb5e31f664cc9333b79b6f3062dd2466ac
31
32 diff --git a/games-strategy/colobot-data/colobot-data-9999.ebuild b/games-strategy/colobot-data/colobot-data-9999.ebuild
33 deleted file mode 100644
34 index 63f52ef31b0..00000000000
35 --- a/games-strategy/colobot-data/colobot-data-9999.ebuild
36 +++ /dev/null
37 @@ -1,51 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -
43 -EGIT_REPO_URI="https://github.com/colobot/colobot-data"
44 -
45 -inherit git-r3 cmake-utils
46 -
47 -DESCRIPTION="Data package for colobot (Colonize with Bots)"
48 -HOMEPAGE="https://colobot.info/"
49 -SRC_URI="
50 - music_ogg? ( https://colobot.info/files/music/colobot-music_ogg_latest.tar.gz -> ${P}-music-ogg.tar.gz )
51 - music_flac_convert? ( https://colobot.info/files/music/colobot-music_flac_latest.tar.gz -> ${P}-music-flac.tar.gz )"
52 -
53 -LICENSE="GPL-3"
54 -SLOT="0"
55 -IUSE="+music music_flac_convert +music_ogg"
56 -REQUIRED_USE="
57 - music? ( ^^ ( music_flac_convert music_ogg ) )
58 - music_flac_convert? ( music )
59 - music_ogg? ( music )"
60 -
61 -DEPEND="
62 - app-arch/unzip
63 - music_flac_convert? ( media-sound/vorbis-tools )"
64 -
65 -src_unpack() {
66 - git-r3_src_unpack
67 -
68 - if use music; then
69 - tar xf "${DISTDIR}/${P}"-music-*.tar.gz -C "${S}/music" || die "Failed to unpack music"
70 - fi
71 -}
72 -
73 -src_prepare() {
74 - cmake-utils_src_prepare
75 -
76 - if use music; then
77 - sed -i -e '/find_program(WGET wget)/d' -e '/if(NOT WGET)/,+2 d' music/CMakeLists.txt || die
78 - fi
79 -}
80 -
81 -src_configure() {
82 - local mycmakeargs=(
83 - -DMUSIC=$(usex music)
84 - -DMUSIC_FLAC=$(usex music_flac_convert)
85 - -DMUSIC_QUALITY="${COLOBOT_DATA_MUSIC_QUALITY:-4}"
86 - )
87 - cmake-utils_src_configure
88 -}