summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-engines')
-rw-r--r--games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild b/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild
index fb3f84ae0c42..b363bc7378ac 100644
--- a/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild
+++ b/games-engines/devilutionx/devilutionx-1.0.0-r1.ebuild
@@ -29,6 +29,7 @@ IUSE="debug lto"
RDEPEND="
dev-libs/libsodium
+ media-fonts/sil-charis
media-libs/libsdl2[haptic]
media-libs/sdl2-mixer
media-libs/sdl2-ttf
@@ -39,7 +40,10 @@ BDEPEND="
"
src_prepare() {
- sed "/PROJECT_VERSION/s|@PROJECT_VERSION@|${PV}|" -i SourceS/config.h.in || die
+ sed "/PROJECT_VERSION/s|@PROJECT_VERSION@|${PV}|" \
+ -i SourceS/config.h.in || die
+ sed 's/CharisSILB.ttf/CharisSIL-B.ttf/g' \
+ -i SourceX/DiabloUI/fonts.h || die
cmake_src_prepare
}
@@ -57,7 +61,10 @@ src_configure() {
src_install() {
dobin "${BUILD_DIR}/${PN}"
- make_desktop_entry ${PN} "Diablo devolved"
+
+ newicon -s 32 Packaging/resources/Diablo_32.png ${PN}.png
+ newicon -s 48 Packaging/resources/Diablo_48.png ${PN}.png
+ make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png"
}
pkg_postinst() {