aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Strizhkin <strdenis02@gmail.com>2024-04-15 21:03:06 +0300
committerDenis Strizhkin <strdenis02@gmail.com>2024-04-15 21:03:23 +0300
commit4be659d0b0d6fe5d5829ce1fb79a8b461f806abc (patch)
tree080cb1291e277348ca12643934ed88579e4ad564 /games-puzzle
parentgames-puzzle/katawa-shoujo: update SRC_URI & don't use cp -r (diff)
downloadguru-4be659d0b0d6fe5d5829ce1fb79a8b461f806abc.tar.gz
guru-4be659d0b0d6fe5d5829ce1fb79a8b461f806abc.tar.bz2
guru-4be659d0b0d6fe5d5829ce1fb79a8b461f806abc.zip
games-puzzle/katawa-shoujo: add icon & desktop entry
Signed-off-by: Denis Strizhkin <strdenis02@gmail.com>
Diffstat (limited to 'games-puzzle')
-rw-r--r--games-puzzle/katawa-shoujo/Manifest1
-rw-r--r--games-puzzle/katawa-shoujo/files/katawa-shoujo.desktop9
-rw-r--r--games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild10
3 files changed, 18 insertions, 2 deletions
diff --git a/games-puzzle/katawa-shoujo/Manifest b/games-puzzle/katawa-shoujo/Manifest
index 59b22db1e..4b0bd0446 100644
--- a/games-puzzle/katawa-shoujo/Manifest
+++ b/games-puzzle/katawa-shoujo/Manifest
@@ -1 +1,2 @@
DIST katawa-shoujo-1.4.6.tar.bz2 478087906 BLAKE2B 8c63431b5cb66c5e866b86514e764dafb5ce77d097cefceb091bcd8f75708e0e4fbf4b73229c6a1e3748240d5a5561176a3f623d4539373972376dce212c28b0 SHA512 ebef5a3342384e0e1f9fb4849e923ff606730cfd55ee8182a4c652c7bf2c77f719fc8ff4d43129911490f867927a06d44292a60b15141b1d3d8bd4065e56d36a
+DIST katawa-shoujo.png 148482 BLAKE2B 1792c5b860562296369bdc5135f284eb20fb45fe0b8351cb066716f2ced733eaa1d665ea406861d40ba4bfffa2fe5aae67210d9d39be18c14aa7ff51ed40be69 SHA512 4e0fd095f6ca9bc06658e143567fa6e482cc7e84387d51d7edb8448906f32bf718c1a2528b51326d1630daf01e655e0a3162d1fa0af2522243e47b363234c069
diff --git a/games-puzzle/katawa-shoujo/files/katawa-shoujo.desktop b/games-puzzle/katawa-shoujo/files/katawa-shoujo.desktop
new file mode 100644
index 000000000..46228cb13
--- /dev/null
+++ b/games-puzzle/katawa-shoujo/files/katawa-shoujo.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Type=Application
+Version=1.0
+Name=Katawa Shoujo
+Comment=Bishoujo-style visual novel game that tells a story of a young man and five other girls suffering with varying disabilities
+Icon=katawa-shoujo
+Exec=/usr/bin/katawa-shoujo
+Terminal=false
+Categories=Game;
diff --git a/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild b/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild
index becf8b7ed..48fabe77e 100644
--- a/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild
+++ b/games-puzzle/katawa-shoujo/katawa-shoujo-1.4.6.ebuild
@@ -3,11 +3,14 @@
EAPI=8
-inherit wrapper
+inherit wrapper desktop
DESCRIPTION="Re-Engineered visual novel with accessibility features"
HOMEPAGE="https://www.fhs.sh/projects"
-SRC_URI="https://github.com/fleetingheart/ksre/releases/download/v$PV/KSRE-linux.tar.bz2 -> ${P}.tar.bz2"
+SRC_URI="
+ https://github.com/fleetingheart/ksre/releases/download/v$PV/KSRE-linux.tar.bz2 -> ${P}.tar.bz2
+ https://github.com/fleetingheart/web/blob/main/public/android-chrome-512x512.png -> ${PN}.png
+"
S="${WORKDIR}/KSRE-linux"
LICENSE="
@@ -29,4 +32,7 @@ src_install() {
fperms +x "/opt/${PN}/lib/py3-linux-x86_64/Katawa Shoujo Re-Engineered"
make_wrapper "${PN}" "/opt/${PN}/Katawa\ Shoujo\ Re-Engineered.sh"
+
+ domenu "${FILESDIR}/${PN}.desktop"
+ doicon "${DISTDIR}/${PN}.png"
}