1 |
commit: c59009e3f143011ffdea17c6f1255e03cb5fed9f |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Tue May 10 19:37:11 2022 +0000 |
4 |
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
5 |
CommitDate: Tue May 10 19:37:11 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c59009e3 |
7 |
|
8 |
games-misc/an-anime-game-launcher-bin: treeclean |
9 |
|
10 |
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> |
11 |
|
12 |
games-misc/an-anime-game-launcher-bin/Manifest | 1 - |
13 |
.../an-anime-game-launcher-bin-2.3.2.ebuild | 76 ---------------------- |
14 |
.../files/an-anime-game-launcher-bin-desktop.patch | 17 ----- |
15 |
.../an-anime-game-launcher-bin-launcher.patch | 26 -------- |
16 |
4 files changed, 120 deletions(-) |
17 |
|
18 |
diff --git a/games-misc/an-anime-game-launcher-bin/Manifest b/games-misc/an-anime-game-launcher-bin/Manifest |
19 |
deleted file mode 100644 |
20 |
index abb3191af..000000000 |
21 |
--- a/games-misc/an-anime-game-launcher-bin/Manifest |
22 |
+++ /dev/null |
23 |
@@ -1 +0,0 @@ |
24 |
-DIST An_Anime_Game_Launcher.AppImage 4383936 BLAKE2B 978be58595b90be13407275527651a2e9154978337e3b618796247fc402643165222b2e5a0d937ab231c15a943ae6e36469a176ca4d6a43dd4995bb98a2b3fb2 SHA512 63be6095af44f760da982a087a8105cba9f792ffc1af3e363e689ec27038507f92e4bc56a7ec2be92b446dbc3cc8164ceb6183e0b104bee555c7570143532304 |
25 |
|
26 |
diff --git a/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.2.ebuild b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index c079f23d0..000000000 |
29 |
--- a/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,76 +0,0 @@ |
32 |
-# copyright 1999-2022 gentoo authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=8 |
36 |
- |
37 |
-inherit optfeature xdg-utils |
38 |
- |
39 |
-DESCRIPTION="Open Source An Anime Game launcher for Linux with automatic anti-cheat patching and telemetry disabling, binary package" |
40 |
-HOMEPAGE="https://gitlab.com/an-anime-team/an-anime-game-launcher" |
41 |
-SRC_URI="https://gitlab.com/an-anime-team/an-anime-game-launcher/uploads/003620e21b2d8d70385bac8f2a862846/An_Anime_Game_Launcher.AppImage" |
42 |
- |
43 |
-LICENSE="GPL-3 0BSD Apache-2.0 BSD-2 BSD ISC MIT Unlicense all-rights-reserved" |
44 |
-SLOT="0" |
45 |
-KEYWORDS="-* ~amd64" |
46 |
- |
47 |
-RDEPEND=" |
48 |
- app-arch/cabextract |
49 |
- app-arch/tar |
50 |
- app-arch/unzip |
51 |
- || ( |
52 |
- app-emulation/dxvk-bin |
53 |
- app-emulation/winetricks |
54 |
- ) |
55 |
- dev-libs/libdbusmenu |
56 |
- dev-util/xdelta[lzma] |
57 |
- dev-vcs/git |
58 |
- net-libs/webkit-gtk |
59 |
- net-misc/curl |
60 |
- sys-auth/polkit |
61 |
- virtual/wine |
62 |
- x11-libs/libnotify |
63 |
-" |
64 |
-BDEPEND="app-admin/chrpath" |
65 |
- |
66 |
-PATCHES=( |
67 |
- "${FILESDIR}/${PN}-launcher.patch" |
68 |
- "${FILESDIR}/${PN}-desktop.patch" |
69 |
-) |
70 |
-RESTRICT="bindist mirror" |
71 |
- |
72 |
-src_unpack() { |
73 |
- mkdir "${WORKDIR}/${P}" || die |
74 |
- cp "${DISTDIR}/An_Anime_Game_Launcher.AppImage" "${WORKDIR}/${P}" || die |
75 |
-} |
76 |
- |
77 |
-src_prepare(){ |
78 |
- chmod +x An_Anime_Game_Launcher.AppImage || die |
79 |
- ./An_Anime_Game_Launcher.AppImage --appimage-extract || die "Extraction Failed" |
80 |
- chrpath -d "squashfs-root/public/discord-rpc/discord-rpc" || die "Patching Library Failed" |
81 |
- default |
82 |
- mv "squashfs-root/public/icons/256x256.png" "${PN}.png" || die |
83 |
- mv "squashfs-root/AppRun" "${PN}" || die |
84 |
- mv "squashfs-root/an-anime-game-launcher.desktop" "${PN}.desktop" || die |
85 |
-} |
86 |
- |
87 |
-src_install(){ |
88 |
- insinto "/usr/lib/${PN}" |
89 |
- doins "squashfs-root/resources.neu" |
90 |
- exeinto "/usr/lib/${PN}" |
91 |
- doexe "squashfs-root/an-anime-game-launcher" |
92 |
- doins -r "squashfs-root/public" |
93 |
- insinto "/usr/share/pixmaps" |
94 |
- doins "${PN}.png" |
95 |
- exeinto "/usr/bin" |
96 |
- doexe "${PN}" |
97 |
- insinto "/usr/share/applications/" |
98 |
- doins "${PN}.desktop" |
99 |
-} |
100 |
- |
101 |
-pkg_postinst() { |
102 |
- xdg_desktop_database_update |
103 |
- optfeature "appindicator support" dev-libs/libayatana-appindicator |
104 |
-} |
105 |
-pkg_postrm() { |
106 |
- xdg_desktop_database_update |
107 |
-} |
108 |
|
109 |
diff --git a/games-misc/an-anime-game-launcher-bin/files/an-anime-game-launcher-bin-desktop.patch b/games-misc/an-anime-game-launcher-bin/files/an-anime-game-launcher-bin-desktop.patch |
110 |
deleted file mode 100644 |
111 |
index 229a2acd3..000000000 |
112 |
--- a/games-misc/an-anime-game-launcher-bin/files/an-anime-game-launcher-bin-desktop.patch |
113 |
+++ /dev/null |
114 |
@@ -1,17 +0,0 @@ |
115 |
---- a/squashfs-root/an-anime-game-launcher.desktop |
116 |
-+++ b/squashfs-root/an-anime-game-launcher.desktop |
117 |
- |
118 |
-3,6c3,4 |
119 |
-< Icon=64x64 |
120 |
-< Exec=AppRun |
121 |
-< Type=Application |
122 |
-< Categories=Game; |
123 |
---- |
124 |
-> Comment=An Launcher for a specific anime game with auto-patching, discord rpc and time tracking |
125 |
-> Exec=an-anime-game-launcher-bin |
126 |
-8c6,8 |
127 |
-< X-AppImage-Version=2.3.2 |
128 |
---- |
129 |
-> Type=Application |
130 |
-> Icon=an-anime-game-launcher-bin |
131 |
-> Categories=Game |
132 |
|
133 |
diff --git a/games-misc/an-anime-game-launcher-bin/files/an-anime-game-launcher-bin-launcher.patch b/games-misc/an-anime-game-launcher-bin/files/an-anime-game-launcher-bin-launcher.patch |
134 |
deleted file mode 100644 |
135 |
index 046d2f0b1..000000000 |
136 |
--- a/games-misc/an-anime-game-launcher-bin/files/an-anime-game-launcher-bin-launcher.patch |
137 |
+++ /dev/null |
138 |
@@ -1,26 +0,0 @@ |
139 |
---- a/squashfs-root/AppRun |
140 |
-+++ b/squashfs-root/AppRun |
141 |
- |
142 |
-4,10c4 |
143 |
-< if [ -z "$APPDIR" ] ; then |
144 |
-< path="$(dirname "$(readlink -f "${THIS}")")" |
145 |
-< while [[ "$path" != "" && ! -e "$path/$1" ]]; do |
146 |
-< path=${path%/*} |
147 |
-< done |
148 |
-< APPDIR="$path" |
149 |
-< fi |
150 |
---- |
151 |
-> APPDIR="/usr/lib/an-anime-game-launcher-bin" |
152 |
-14c8 |
153 |
-< export LD_LIBRARY_PATH="${APPDIR}/usr/lib:${LD_LIBRARY_PATH}" |
154 |
---- |
155 |
-> export LD_LIBRARY_PATH="/usr/lib:${LD_LIBRARY_PATH}" |
156 |
-18c12 |
157 |
-< cd "$APPDIR" |
158 |
---- |
159 |
-> cd "${APPDIR}" |
160 |
-20c14 |
161 |
-< exec "$APPDIR/an-anime-game-launcher" $@ |
162 |
-\ No newline at end of file |
163 |
---- |
164 |
-> exec "${APPDIR}/an-anime-game-launcher" $@ |