diff options
author | Florian Schmaus <flow@gentoo.org> | 2021-10-21 12:52:39 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2021-10-21 13:13:11 +0200 |
commit | e6ba27a83a9b9e1df6b4e370e15e6a798f08060e (patch) | |
tree | 52ca6e868be43f898995fe853fc19f400f15c11e /games-simulation | |
parent | package.mask: Last rite x11-apps/xwarppointer (diff) | |
download | gentoo-e6ba27a83a9b9e1df6b4e370e15e6a798f08060e.tar.gz gentoo-e6ba27a83a9b9e1df6b4e370e15e6a798f08060e.tar.bz2 gentoo-e6ba27a83a9b9e1df6b4e370e15e6a798f08060e.zip |
games-simulation/EmptyEpsilon: install .desktop file
Closes: https://bugs.gentoo.org/818697
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'games-simulation')
-rw-r--r-- | games-simulation/EmptyEpsilon/EmptyEpsilon-2021.06.23-r1.ebuild (renamed from games-simulation/EmptyEpsilon/EmptyEpsilon-2021.06.23.ebuild) | 1 | ||||
-rw-r--r-- | games-simulation/EmptyEpsilon/files/EmptyEpsilon-Install-EmptyEpsilon.desktop.patch | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/games-simulation/EmptyEpsilon/EmptyEpsilon-2021.06.23.ebuild b/games-simulation/EmptyEpsilon/EmptyEpsilon-2021.06.23-r1.ebuild index 5d9e67d4a9fb..046224a20d14 100644 --- a/games-simulation/EmptyEpsilon/EmptyEpsilon-2021.06.23.ebuild +++ b/games-simulation/EmptyEpsilon/EmptyEpsilon-2021.06.23-r1.ebuild @@ -44,6 +44,7 @@ pkg_pretend() { } src_prepare() { + eapply "${FILESDIR}/${PN}-Install-EmptyEpsilon.desktop.patch" eapply "${FILESDIR}/${PN}-Make-CMake-call-find_package-glm.patch" eapply --directory="${WORKDIR}/SeriousProton-EE-${PV}" \ "${FILESDIR}/SeriousProton-Unbundle-json11.patch" diff --git a/games-simulation/EmptyEpsilon/files/EmptyEpsilon-Install-EmptyEpsilon.desktop.patch b/games-simulation/EmptyEpsilon/files/EmptyEpsilon-Install-EmptyEpsilon.desktop.patch new file mode 100644 index 000000000000..4730bcbabb25 --- /dev/null +++ b/games-simulation/EmptyEpsilon/files/EmptyEpsilon-Install-EmptyEpsilon.desktop.patch @@ -0,0 +1,45 @@ +From c34c773ab5a403c288d7eecd971ae5b0d9eecfa0 Mon Sep 17 00:00:00 2001 +From: Florian Schmaus <flo@geekplace.eu> +Date: Thu, 21 Oct 2021 10:33:28 +0200 +Subject: [PATCH] Install EmptyEpsilon.desktop + +Fixes #405. + +See also https://bugs.gentoo.org/818697 +--- + CMakeLists.txt | 5 +++++ + EmptyEpsilon.desktop | 9 +++++++++ + 2 files changed, 14 insertions(+) + create mode 100644 EmptyEpsilon.desktop + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index cb3e32c0e6ed..b630668aecd9 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -711,3 +711,8 @@ set(CPACK_INSTALL_CMAKE_PROJECTS + ) + + include(CPack) ++ ++if(UNIX AND NOT APPLE) ++ install(FILES EmptyEpsilon.desktop DESTINATION "share/applications") ++ install(FILES logo.png DESTINATION "share/icons" RENAME "EmptyEpsilon.png") ++endif() +diff --git a/EmptyEpsilon.desktop b/EmptyEpsilon.desktop +new file mode 100644 +index 000000000000..07cc109b578d +--- /dev/null ++++ b/EmptyEpsilon.desktop +@@ -0,0 +1,9 @@ ++[Desktop Entry] ++Name=EmptyEpsilon ++GenericName=EmptyEpsilon ++Comment=Spaceship bridge simulator game ++Exec=EmptyEpsilon ++Icon=EmptyEpsilon ++Terminal=false ++Type=Application ++Categories=Game;Simulation; +-- +2.33.1 + |