summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2020-03-23 16:06:21 +0100
committerLars Wendler <polynomial-c@gentoo.org>2020-03-23 16:22:12 +0100
commit5c23b66104ec74c1fce71da77a8ba9cc34a886dc (patch)
tree0292c8036fc3ac574636e1f4964fdb79e743d7a0 /games-engines
parentmedia-sound/hydrogen: bump to 1.0.0_beta2 (diff)
downloadgentoo-5c23b66104ec74c1fce71da77a8ba9cc34a886dc.tar.gz
gentoo-5c23b66104ec74c1fce71da77a8ba9cc34a886dc.tar.bz2
gentoo-5c23b66104ec74c1fce71da77a8ba9cc34a886dc.zip
games-engines/devilutionx: Can be built with ninja again
Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/devilutionx/devilutionx-9999.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/games-engines/devilutionx/devilutionx-9999.ebuild b/games-engines/devilutionx/devilutionx-9999.ebuild
index b363bc7378ac..829fcf1b68b3 100644
--- a/games-engines/devilutionx/devilutionx-9999.ebuild
+++ b/games-engines/devilutionx/devilutionx-9999.ebuild
@@ -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"
}