dosbox-x: add a desktop file

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2020-10-17 01:58:47 +02:00
parent e70f909501
commit 4b5edad658
2 changed files with 14 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ REQUIRED_DISTRO_FEATURES = "x11 opengl"
SRC_URI = " \
git://github.com/joncampbell123/dosbox-x.git \
file://0001-use-pkgconfig-to-find-sdl2.patch \
file://dosbox-x.desktop \
"
SRCREV = "0f1435e18d06ac955f26211541a9556bac759ae2"
PV = "0.83.6"
@@ -34,4 +35,9 @@ EXTRA_OECONF = " \
--disable-alsatest \
"
do_install_append() {
install -d ${D}/${datadir}/applications
install -m 0644 ${WORKDIR}/*.desktop ${D}/${datadir}/applications
}
FILES_${PN} += "${datadir}/metainfo"

View File

@@ -0,0 +1,8 @@
[Desktop Entry]
Name=DOSBox-X
Comment=An x86/DOS emulator capable of running DOS based Windows
Exec=dosbox-x
Icon=dosbox-x
Terminal=false
Type=Application
Categories=Emulator;Game;