--- devilutionx-1.0.0.ebuild 2020-01-01 13:09:35.000000000 +0100 +++ devilutionx-1.0.0.ebuild 2020-01-01 22:15:14.113629273 +0100 @@ -9,7 +9,7 @@ # https://github.com/diasurgical/devilutionX/issues/490 CMAKE_MAKEFILE_GENERATOR="emake" -inherit cmake desktop +inherit cmake desktop font DESCRIPTION="Diablo engine for modern operating systems" HOMEPAGE="https://github.com/diasurgical/devilutionX" @@ -22,7 +22,7 @@ S="${WORKDIR}/devilutionX-${PV}" fi -LICENSE="public-domain" +LICENSE="public-domain OFL-1.1" SLOT="0" IUSE="debug" @@ -38,6 +38,9 @@ virtual/pkgconfig " +FONT_S="${S}/Packaging/resources" +FONT_SUFFIX="ttf" + src_configure() { local mycmakeargs=( -DBINARY_RELEASE=ON @@ -48,7 +51,10 @@ src_install() { dobin "${BUILD_DIR}/${PN}" - make_desktop_entry ${PN} "Diablo devolved" + font_src_install + newicon -s 32 "${S}/Packaging/resources/Diablo_32.png" "${PN}.png" + newicon -s 48 "${S}/Packaging/resources/Diablo_48.png" "${PN}.png" + make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png" } pkg_postinst() {