Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 704508 | Differences between
and this patch

Collapse All | Expand All

(-)devilutionx-1.0.0.ebuild (-1 / +5 lines)
Lines 29-34 Link Here
29
29
30
RDEPEND="
30
RDEPEND="
31
	dev-libs/libsodium
31
	dev-libs/libsodium
32
	media-fonts/sil-charis
32
	media-libs/libsdl2[haptic]
33
	media-libs/libsdl2[haptic]
33
	media-libs/sdl2-mixer
34
	media-libs/sdl2-mixer
34
	media-libs/sdl2-ttf
35
	media-libs/sdl2-ttf
Lines 39-44 Link Here
39
"
40
"
40
41
41
src_configure() {
42
src_configure() {
43
	sed -i 's/CharisSILB.ttf/CharisSIL-B.ttf/g' "${S}/SourceX/DiabloUI/fonts.h"
42
	local mycmakeargs=(
44
	local mycmakeargs=(
43
		-DBINARY_RELEASE=ON
45
		-DBINARY_RELEASE=ON
44
		-DDEBUG="$(usex debug)"
46
		-DDEBUG="$(usex debug)"
Lines 48-54 Link Here
48
50
49
src_install() {
51
src_install() {
50
	dobin "${BUILD_DIR}/${PN}"
52
	dobin "${BUILD_DIR}/${PN}"
51
	make_desktop_entry ${PN} "Diablo devolved"
53
	newicon -s 32 "${S}/Packaging/resources/Diablo_32.png" "${PN}.png"
54
	newicon -s 48 "${S}/Packaging/resources/Diablo_48.png" "${PN}.png"
55
	make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png"
52
}
56
}
53
57
54
pkg_postinst() {
58
pkg_postinst() {

Return to bug 704508