Skip to content

Commit 5c23b66

Browse files
author
Lars Wendler
committed
games-engines/devilutionx: Can be built with ninja again
Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Lars Wendler <[email protected]>
1 parent 7490e42 commit 5c23b66

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

games-engines/devilutionx/devilutionx-9999.ebuild

+6-4
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ EAPI=7
66
# Sometimes build with ninja fails.
77
# Please check occasionally if we can revert back to ninja.
88
# Latest known issue:
9-
# https://github.com/diasurgical/devilutionX/issues/490
10-
CMAKE_MAKEFILE_GENERATOR="emake"
9+
#
10+
#CMAKE_MAKEFILE_GENERATOR="emake"
1111

1212
inherit cmake desktop
1313

@@ -62,8 +62,10 @@ src_configure() {
6262
src_install() {
6363
dobin "${BUILD_DIR}/${PN}"
6464

65-
newicon -s 32 Packaging/resources/Diablo_32.png ${PN}.png
66-
newicon -s 48 Packaging/resources/Diablo_48.png ${PN}.png
65+
local size
66+
for size in 32 48 ; do
67+
newicon -s ${size} Packaging/resources/Diablo_${size}.png ${PN}.png
68+
done
6769
make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png"
6870
}
6971

0 commit comments

Comments
 (0)