summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-09-22 22:53:41 +0200
committerMichał Górny <mgorny@gentoo.org>2019-09-22 23:00:22 +0200
commit25a9e8aed12df19a64491ca0901ba7ea8dd82545 (patch)
tree4faf39c01a3eea3bec47ffa12f0ba26ee1c7b276 /games-strategy
parentdev-libs/nspr: arm64 stable (bug #693450) (diff)
downloadgentoo-25a9e8aed12df19a64491ca0901ba7ea8dd82545.tar.gz
gentoo-25a9e8aed12df19a64491ca0901ba7ea8dd82545.tar.bz2
gentoo-25a9e8aed12df19a64491ca0901ba7ea8dd82545.zip
games-strategy/colobot-data: Replace underscores in flag names
Closes: https://bugs.gentoo.org/695166 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/colobot-data/colobot-data-0.1.11.ebuild16
-rw-r--r--games-strategy/colobot-data/metadata.xml4
2 files changed, 10 insertions, 10 deletions
diff --git a/games-strategy/colobot-data/colobot-data-0.1.11.ebuild b/games-strategy/colobot-data/colobot-data-0.1.11.ebuild
index b60210f63c30..cee283a76ba8 100644
--- a/games-strategy/colobot-data/colobot-data-0.1.11.ebuild
+++ b/games-strategy/colobot-data/colobot-data-0.1.11.ebuild
@@ -9,21 +9,21 @@ DESCRIPTION="Data package for colobot (Colonize with Bots)"
HOMEPAGE="https://colobot.info/"
SRC_URI="
https://github.com/colobot/colobot-data/archive/colobot-gold-${PV}-alpha.zip -> ${P}.zip
- music_ogg? ( https://colobot.info/files/music/colobot-music_ogg_${PV}-alpha.tar.gz -> ${P}-music-ogg.tar.gz )
- music_flac_convert? ( https://colobot.info/files/music/colobot-music_flac_${PV}-alpha.tar.gz -> ${P}-music-flac.tar.gz )"
+ music-ogg? ( https://colobot.info/files/music/colobot-music_ogg_${PV}-alpha.tar.gz -> ${P}-music-ogg.tar.gz )
+ music-flac-convert? ( https://colobot.info/files/music/colobot-music_flac_${PV}-alpha.tar.gz -> ${P}-music-flac.tar.gz )"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="+music music_flac_convert +music_ogg"
+IUSE="+music music-flac-convert +music-ogg"
REQUIRED_USE="
- music? ( ^^ ( music_flac_convert music_ogg ) )
- music_flac_convert? ( music )
- music_ogg? ( music )"
+ music? ( ^^ ( music-flac-convert music-ogg ) )
+ music-flac-convert? ( music )
+ music-ogg? ( music )"
DEPEND="
app-arch/unzip
- music_flac_convert? ( media-sound/vorbis-tools )"
+ music-flac-convert? ( media-sound/vorbis-tools )"
S="${WORKDIR}/${PN}-colobot-gold-${PV}-alpha"
@@ -47,7 +47,7 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
-DMUSIC=$(usex music)
- -DMUSIC_FLAC=$(usex music_flac_convert)
+ -DMUSIC_FLAC=$(usex music-flac-convert)
-DMUSIC_QUALITY="${COLOBOT_DATA_MUSIC_QUALITY:-4}"
)
cmake-utils_src_configure
diff --git a/games-strategy/colobot-data/metadata.xml b/games-strategy/colobot-data/metadata.xml
index 12f259a825d5..dda17af08d2e 100644
--- a/games-strategy/colobot-data/metadata.xml
+++ b/games-strategy/colobot-data/metadata.xml
@@ -7,7 +7,7 @@
</upstream>
<use>
<flag name="music">Enable music support</flag>
- <flag name="music_flac_convert">Fetch flac music and convert it to ogg</flag>
- <flag name="music_ogg">Fetch ogg music</flag>
+ <flag name="music-flac-convert">Fetch flac music and convert it to ogg</flag>
+ <flag name="music-ogg">Fetch ogg music</flag>
</use>
</pkgmetadata>