Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
# 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
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"
}