games-engines/renpy: use desktop-utils.exlib
This commit is contained in:
parent
fe8c380dc6
commit
f7a3bfe0cc
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
require alternatives
|
require alternatives
|
||||||
require setup-py [ import=distutils multibuild=false blacklist=3 ]
|
require setup-py [ import=distutils multibuild=false blacklist=3 ]
|
||||||
require gtk-icon-cache
|
require desktop-utils gtk-icon-cache
|
||||||
|
|
||||||
export_exlib_phases src_prepare src_install
|
export_exlib_phases src_prepare src_install
|
||||||
|
|
||||||
@ -83,17 +83,8 @@ renpy_src_install() {
|
|||||||
exec python2 ${renpydir}/renpy.py "\$@"
|
exec python2 ${renpydir}/renpy.py "\$@"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
insinto /usr/share/applications
|
install_desktop_entry "Name=Ren'Py (${SLOT})" \
|
||||||
hereins ${PN}-${SLOT}.desktop <<EOF
|
"Exec=${PN}-${SLOT}" "Icon=${PN}-${SLOT}"
|
||||||
[Desktop Entry]
|
|
||||||
Name=Ren'Py (${SLOT})
|
|
||||||
Type=Application
|
|
||||||
Comment=${SUMMARY}
|
|
||||||
Exec=${PN}-${SLOT}
|
|
||||||
TryExec=${PN}-${SLOT}
|
|
||||||
Icon=${PN}-${SLOT}
|
|
||||||
Categories=Game;
|
|
||||||
EOF
|
|
||||||
|
|
||||||
edo cd "${WORK}"
|
edo cd "${WORK}"
|
||||||
SETUP_PY_SRC_INSTALL_PARAMS=( --install-lib="${renpydir}" )
|
SETUP_PY_SRC_INSTALL_PARAMS=( --install-lib="${renpydir}" )
|
||||||
|
Loading…
Reference in New Issue
Block a user