1 |
commit: ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Sun May 1 08:33:17 2022 +0000 |
4 |
Commit: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
5 |
CommitDate: Sun May 1 08:33:28 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae8e1f0b |
7 |
|
8 |
games-misc/an-anime-game-launcher-bin: new package, add 2.3.1 |
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.1.ebuild | 71 ++++++++++++++++++++++ |
14 |
2 files changed, 72 insertions(+) |
15 |
|
16 |
diff --git a/games-misc/an-anime-game-launcher-bin/Manifest b/games-misc/an-anime-game-launcher-bin/Manifest |
17 |
new file mode 100644 |
18 |
index 000000000..229274391 |
19 |
--- /dev/null |
20 |
+++ b/games-misc/an-anime-game-launcher-bin/Manifest |
21 |
@@ -0,0 +1 @@ |
22 |
+DIST aagl-ebuilds-2.3.1.tar.gz 4343632 BLAKE2B ba0f8733328469ad531dd8717f230e9e2f723cc12f185fe0f7035b2308e1f41dc92b9af0112a7787ddaf7ab01ae3c0fd12b2998ca09e1215aa11443a4254d08c SHA512 79672a1e0f0f0e0648db5910a33fc7b33d19c3666eb7eba81741f1d2849f0bdf9c76f0533f881a1ad0408b4b6a17eedf5a78c9c5da894c2c971b8d3a48d72928 |
23 |
|
24 |
diff --git a/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..0b3c56344 |
27 |
--- /dev/null |
28 |
+++ b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild |
29 |
@@ -0,0 +1,71 @@ |
30 |
+ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DESCRIPTION="Open Source An Anime Game launcher for Linux with automatic anti-cheat patching and telemetry disabling" |
37 |
+HOMEPAGE="https://gitlab.com/an-anime-team/an-anime-game-launcher" |
38 |
+SRC_URI="https://gitlab.com/an-anime-team/aagl-ebuilds/-/archive/${PV}/aagl-ebuilds-${PV}.tar.gz" |
39 |
+LICENSE="GPL-3" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~amd64" |
42 |
+IUSE="" |
43 |
+ |
44 |
+DEPEND=" |
45 |
+ || ( dev-libs/libayatana-appindicator dev-libs/libayatana-appindicator-bin ) \ |
46 |
+ net-libs/webkit-gtk \ |
47 |
+ dev-util/xdelta \ |
48 |
+ app-arch/tar \ |
49 |
+ dev-vcs/git \ |
50 |
+ app-arch/unzip \ |
51 |
+ net-misc/curl \ |
52 |
+ app-arch/cabextract \ |
53 |
+ x11-libs/libnotify \ |
54 |
+ sys-auth/polkit \ |
55 |
+ dev-libs/libdbusmenu \ |
56 |
+ app-emulation/dxvk-bin \ |
57 |
+ app-emulation/winetricks \ |
58 |
+ virtual/wine \ |
59 |
+ " |
60 |
+# !games-misc/an-anime-game-launcher \ |
61 |
+# " |
62 |
+ |
63 |
+RDEPEND="${DEPEND}" |
64 |
+ |
65 |
+BDEPEND="app-admin/chrpath" |
66 |
+ |
67 |
+S="${WORKDIR}/aagl-ebuilds-${PV}" |
68 |
+src_prepare(){ |
69 |
+ mv "icon.png" "${PN}.png" |
70 |
+ mv "launcher.sh" "${PN}" |
71 |
+ chmod +x "An_Anime_Game_Launcher.AppImage" |
72 |
+ ./An_Anime_Game_Launcher.AppImage --appimage-extract || die "Extraction Failed" |
73 |
+ chrpath -d "squashfs-root/public/discord-rpc/discord-rpc" || die "Patching Library Failed" |
74 |
+ eapply_user |
75 |
+} |
76 |
+ |
77 |
+src_install(){ |
78 |
+ dodir "/usr/lib/${PN}" |
79 |
+ einfo "Inserting Launcher Files" |
80 |
+ doins -r "squashfs-root/resources.neu" |
81 |
+ einfo "Inserting Launcher Binary" |
82 |
+ doins -r "squashfs-root/an-anime-game-launcher" |
83 |
+ einfo "Setting Executable Permissions for Binary" |
84 |
+ chmod +x "${D}/usr/lib/${PN}/an-anime-game-launcher" |
85 |
+ einfo "Inserting More Launcher Files" |
86 |
+ doins -r "squashfs-root/public" |
87 |
+ einfo "Inserting Icons" |
88 |
+ insinto "/usr/share/pixmaps" |
89 |
+ doins "${PN}.png" || die "Insertion Failed" |
90 |
+ einfo "Inserting Start Script" |
91 |
+ insinto "/usr/bin" |
92 |
+ doins "${PN}" || die "Insertion Failed" |
93 |
+ einfo "Setting Executable Permissions for Launch Script" |
94 |
+ chmod +x "${D}/usr/bin/${PN}" |
95 |
+ einfo "Inserting Desktop Shortcut" |
96 |
+ insinto "/usr/share/applications/" |
97 |
+ doins "${PN}.desktop" |
98 |
+ einfo "Setting Read Permissions for Launcher Files" |
99 |
+ chmod -R 775 "${D}/usr/lib/${PN}/public" |
100 |
+} |