summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2021-10-21 12:52:39 +0200
committerFlorian Schmaus <flow@gentoo.org>2021-10-21 13:13:11 +0200
commite6ba27a83a9b9e1df6b4e370e15e6a798f08060e (patch)
tree52ca6e868be43f898995fe853fc19f400f15c11e /games-simulation/EmptyEpsilon/files
parentpackage.mask: Last rite x11-apps/xwarppointer (diff)
downloadgentoo-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/EmptyEpsilon/files')
-rw-r--r--games-simulation/EmptyEpsilon/files/EmptyEpsilon-Install-EmptyEpsilon.desktop.patch45
1 files changed, 45 insertions, 0 deletions
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
+