mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-roguelike/cataclysm-dda: fix the icon name
Reported by Lilia. Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -101,11 +101,13 @@ src_prepare() {
|
||||
sed -i "s/const size_type/size_type/" \
|
||||
"src/third-party/flatbuffers/stl_emulation.h" || die
|
||||
|
||||
sed -i "s/cataclysm-tiles/cataclysm-tiles-${SLOT}/g" \
|
||||
"data/xdg/org.cataclysmdda.CataclysmDDA.desktop" || die
|
||||
|
||||
local f="org.cataclysmdda.CataclysmDDA"
|
||||
|
||||
sed -i \
|
||||
-e "s/cataclysm-tiles/cataclysm-tiles-${SLOT}/g" \
|
||||
-e "s/${f}/${f}-${SLOT}/g" \
|
||||
"data/xdg/${f}.desktop" || die
|
||||
|
||||
mv "data/xdg/${f}.desktop" "data/xdg/${f}-${SLOT}.desktop" || die
|
||||
mv "data/xdg/${f}.svg" "data/xdg/${f}-${SLOT}.svg" || die
|
||||
mv "data/xdg/${f}.appdata.xml" "data/xdg/${f}-${SLOT}.appdata.xml" || die
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 2024-2025 Gentoo Authors
|
||||
# Copyright 2024-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -96,11 +96,13 @@ src_prepare() {
|
||||
sed -i "s#data#${EPREFIX}/usr/share/${PN}-${SLOT}#" \
|
||||
"data/fontdata.json" || die
|
||||
|
||||
sed -i "s/cataclysm-tiles/cataclysm-tiles-${SLOT}/g" \
|
||||
"data/xdg/org.cataclysmdda.CataclysmDDA.desktop" || die
|
||||
|
||||
local f="org.cataclysmdda.CataclysmDDA"
|
||||
|
||||
sed -i \
|
||||
-e "s/cataclysm-tiles/cataclysm-tiles-${SLOT}/g" \
|
||||
-e "s/${f}/${f}-${SLOT}/g" \
|
||||
"data/xdg/${f}.desktop" || die
|
||||
|
||||
mv "data/xdg/${f}.desktop" "data/xdg/${f}-${SLOT}.desktop" || die
|
||||
mv "data/xdg/${f}.svg" "data/xdg/${f}-${SLOT}.svg" || die
|
||||
mv "data/xdg/${f}.appdata.xml" "data/xdg/${f}-${SLOT}.appdata.xml" || die
|
||||
|
||||
Reference in New Issue
Block a user