games-engines/devilutionx: Can be built with ninja again
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 23 Mar 2020 15:06:21 +0000 (16:06 +0100)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 23 Mar 2020 15:22:12 +0000 (16:22 +0100)
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
games-engines/devilutionx/devilutionx-9999.ebuild

index b363bc7378acf2eb015ef6a215eaf4a9ac328fcd..829fcf1b68b3e3a1707f50480f328796d7bf64aa 100644 (file)
@@ -6,8 +6,8 @@ EAPI=7
 # Sometimes build with ninja fails.
 # Please check occasionally if we can revert back to ninja.
 # Latest known issue:
-#   https://github.com/diasurgical/devilutionX/issues/490
-CMAKE_MAKEFILE_GENERATOR="emake"
+#
+#CMAKE_MAKEFILE_GENERATOR="emake"
 
 inherit cmake desktop
 
@@ -62,8 +62,10 @@ src_configure() {
 src_install() {
        dobin "${BUILD_DIR}/${PN}"
 
-       newicon -s 32 Packaging/resources/Diablo_32.png ${PN}.png
-       newicon -s 48 Packaging/resources/Diablo_48.png ${PN}.png
+       local size
+       for size in 32 48 ; do
+               newicon -s ${size} Packaging/resources/Diablo_${size}.png ${PN}.png
+       done
        make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png"
 }