Lines 9-15
Link Here
|
9 |
# https://github.com/diasurgical/devilutionX/issues/490 |
9 |
# https://github.com/diasurgical/devilutionX/issues/490 |
10 |
CMAKE_MAKEFILE_GENERATOR="emake" |
10 |
CMAKE_MAKEFILE_GENERATOR="emake" |
11 |
|
11 |
|
12 |
inherit cmake desktop |
12 |
inherit cmake desktop font |
13 |
|
13 |
|
14 |
DESCRIPTION="Diablo engine for modern operating systems" |
14 |
DESCRIPTION="Diablo engine for modern operating systems" |
15 |
HOMEPAGE="https://github.com/diasurgical/devilutionX" |
15 |
HOMEPAGE="https://github.com/diasurgical/devilutionX" |
Lines 22-28
Link Here
|
22 |
S="${WORKDIR}/devilutionX-${PV}" |
22 |
S="${WORKDIR}/devilutionX-${PV}" |
23 |
fi |
23 |
fi |
24 |
|
24 |
|
25 |
LICENSE="public-domain" |
25 |
LICENSE="public-domain OFL-1.1" |
26 |
SLOT="0" |
26 |
SLOT="0" |
27 |
|
27 |
|
28 |
IUSE="debug" |
28 |
IUSE="debug" |
Lines 38-43
Link Here
|
38 |
virtual/pkgconfig |
38 |
virtual/pkgconfig |
39 |
" |
39 |
" |
40 |
|
40 |
|
|
|
41 |
FONT_S="${S}/Packaging/resources" |
42 |
FONT_SUFFIX="ttf" |
43 |
|
41 |
src_configure() { |
44 |
src_configure() { |
42 |
local mycmakeargs=( |
45 |
local mycmakeargs=( |
43 |
-DBINARY_RELEASE=ON |
46 |
-DBINARY_RELEASE=ON |
Lines 48-54
Link Here
|
48 |
|
51 |
|
49 |
src_install() { |
52 |
src_install() { |
50 |
dobin "${BUILD_DIR}/${PN}" |
53 |
dobin "${BUILD_DIR}/${PN}" |
51 |
make_desktop_entry ${PN} "Diablo devolved" |
54 |
font_src_install |
|
|
55 |
newicon -s 32 "${S}/Packaging/resources/Diablo_32.png" "${PN}.png" |
56 |
newicon -s 48 "${S}/Packaging/resources/Diablo_48.png" "${PN}.png" |
57 |
make_desktop_entry ${PN} "Diablo devolved" "/usr/share/icons/hicolor/48x48/apps/devilutionx.png" |
52 |
} |
58 |
} |
53 |
|
59 |
|
54 |
pkg_postinst() { |
60 |
pkg_postinst() { |