1 |
commit: 99bef501d660469489481ed6890dd0dc0f954a37 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon May 9 06:10:52 2022 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Mon May 9 06:10:52 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99bef501 |
7 |
|
8 |
games-misc/an-anime-game-launcher: multiple fixes |
9 |
|
10 |
sorted inherit |
11 |
removed nonexistent optional dependency |
12 |
removed bash continuation where bash interpolation is enough |
13 |
added || die |
14 |
added quotes |
15 |
sorted dependencies |
16 |
removed DEPEND |
17 |
fixed licenses names |
18 |
added restrictions, all-rights-reserved to license because of bundled copyrighted assets |
19 |
|
20 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
21 |
|
22 |
.../an-anime-game-launcher-bin-2.3.2.ebuild | 55 ++++++++++++---------- |
23 |
1 file changed, 29 insertions(+), 26 deletions(-) |
24 |
|
25 |
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 |
26 |
index defd6f8b1..a0c6f95cd 100644 |
27 |
--- a/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.2.ebuild |
28 |
+++ b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.2.ebuild |
29 |
@@ -3,43 +3,46 @@ |
30 |
|
31 |
EAPI=8 |
32 |
|
33 |
-inherit xdg-utils optfeature |
34 |
+inherit optfeature xdg-utils |
35 |
|
36 |
DESCRIPTION="Open Source An Anime Game launcher for Linux with automatic anti-cheat patching and telemetry disabling, binary package" |
37 |
HOMEPAGE="https://gitlab.com/an-anime-team/an-anime-game-launcher" |
38 |
SRC_URI="https://gitlab.com/an-anime-team/an-anime-game-launcher/uploads/003620e21b2d8d70385bac8f2a862846/An_Anime_Game_Launcher.AppImage" |
39 |
-LICENSE="GPL-3 0BSD Apache-2.0 BSD-2-Clause BSD-3-Clause ISC MIT Unlicense" |
40 |
-SLOT="0" |
41 |
-KEYWORDS="~amd64" |
42 |
-PATCHES=( "${FILESDIR}/${PN}-launcher.patch" "${FILESDIR}/${PN}-desktop.patch" ) |
43 |
- |
44 |
-DEPEND=" |
45 |
- net-libs/webkit-gtk \ |
46 |
- dev-util/xdelta[lzma] \ |
47 |
- app-arch/tar \ |
48 |
- dev-vcs/git \ |
49 |
- app-arch/unzip \ |
50 |
- net-misc/curl \ |
51 |
- app-arch/cabextract \ |
52 |
- x11-libs/libnotify \ |
53 |
- sys-auth/polkit \ |
54 |
- dev-libs/libdbusmenu \ |
55 |
- app-emulation/dxvk-bin \ |
56 |
- app-emulation/winetricks \ |
57 |
- virtual/wine \ |
58 |
- " |
59 |
|
60 |
-RDEPEND="${DEPEND}" |
61 |
+LICENSE="GPL-3 0BSD Apache-2.0 BSD-2 BSD ISC MIT Unlicense all-rights-reserved" |
62 |
+SLOT="0" |
63 |
+KEYWORDS="-* ~amd64" |
64 |
|
65 |
+RDEPEND=" |
66 |
+ app-arch/cabextract |
67 |
+ app-arch/tar |
68 |
+ app-arch/unzip |
69 |
+ app-emulation/dxvk-bin |
70 |
+ app-emulation/winetricks |
71 |
+ dev-libs/libdbusmenu |
72 |
+ dev-util/xdelta[lzma] |
73 |
+ dev-vcs/git |
74 |
+ net-libs/webkit-gtk |
75 |
+ net-misc/curl |
76 |
+ sys-auth/polkit |
77 |
+ virtual/wine |
78 |
+ x11-libs/libnotify |
79 |
+" |
80 |
BDEPEND="app-admin/chrpath" |
81 |
|
82 |
+PATCHES=( |
83 |
+ "${FILESDIR}/${PN}-launcher.patch" |
84 |
+ "${FILESDIR}/${PN}-desktop.patch" |
85 |
+) |
86 |
+RESTRICT="bindist mirror" |
87 |
+ |
88 |
src_unpack() { |
89 |
- mkdir ${WORKDIR}/${P} || die |
90 |
- cp ${DISTDIR}/An_Anime_Game_Launcher.AppImage ${WORKDIR}/${P} || die |
91 |
+ mkdir "${WORKDIR}/${P}" || die |
92 |
+ cp "${DISTDIR}/An_Anime_Game_Launcher.AppImage" "${WORKDIR}/${P}" || die |
93 |
} |
94 |
|
95 |
src_prepare(){ |
96 |
- chmod +x An_Anime_Game_Launcher.AppImage |
97 |
+ chmod +x An_Anime_Game_Launcher.AppImage || die |
98 |
./An_Anime_Game_Launcher.AppImage --appimage-extract || die "Extraction Failed" |
99 |
chrpath -d "squashfs-root/public/discord-rpc/discord-rpc" || die "Patching Library Failed" |
100 |
default |
101 |
@@ -64,7 +67,7 @@ src_install(){ |
102 |
|
103 |
pkg_postinst() { |
104 |
xdg_desktop_database_update |
105 |
- optfeature "appindicator support" dev-libs/libayatana-appindicator dev-libs/libayatana-appindicator-bin |
106 |
+ optfeature "appindicator support" dev-libs/libayatana-appindicator |
107 |
} |
108 |
pkg_postrm() { |
109 |
xdg_desktop_database_update |