aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPascal Jäger <pascal.jaeger@leimstift.de>2022-05-01 10:33:17 +0200
committerPascal Jäger <pascal.jaeger@leimstift.de>2022-05-01 10:33:28 +0200
commitae8e1f0b4f5a468fe2bd5038db733176e6d34bcf (patch)
tree28a4d95ec17a95d005c432afe4506313af56ece4
parentsci-mathematics/qepcad: fix typo (diff)
downloadguru-ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf.tar.gz
guru-ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf.tar.bz2
guru-ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf.zip
games-misc/an-anime-game-launcher-bin: new package, add 2.3.1
Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
-rw-r--r--games-misc/an-anime-game-launcher-bin/Manifest1
-rw-r--r--games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild71
2 files changed, 72 insertions, 0 deletions
diff --git a/games-misc/an-anime-game-launcher-bin/Manifest b/games-misc/an-anime-game-launcher-bin/Manifest
new file mode 100644
index 000000000..229274391
--- /dev/null
+++ b/games-misc/an-anime-game-launcher-bin/Manifest
@@ -0,0 +1 @@
+DIST aagl-ebuilds-2.3.1.tar.gz 4343632 BLAKE2B ba0f8733328469ad531dd8717f230e9e2f723cc12f185fe0f7035b2308e1f41dc92b9af0112a7787ddaf7ab01ae3c0fd12b2998ca09e1215aa11443a4254d08c SHA512 79672a1e0f0f0e0648db5910a33fc7b33d19c3666eb7eba81741f1d2849f0bdf9c76f0533f881a1ad0408b4b6a17eedf5a78c9c5da894c2c971b8d3a48d72928
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
new file mode 100644
index 000000000..0b3c56344
--- /dev/null
+++ b/games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild
@@ -0,0 +1,71 @@
+
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Open Source An Anime Game launcher for Linux with automatic anti-cheat patching and telemetry disabling"
+HOMEPAGE="https://gitlab.com/an-anime-team/an-anime-game-launcher"
+SRC_URI="https://gitlab.com/an-anime-team/aagl-ebuilds/-/archive/${PV}/aagl-ebuilds-${PV}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ || ( dev-libs/libayatana-appindicator dev-libs/libayatana-appindicator-bin ) \
+ net-libs/webkit-gtk \
+ dev-util/xdelta \
+ app-arch/tar \
+ dev-vcs/git \
+ app-arch/unzip \
+ net-misc/curl \
+ app-arch/cabextract \
+ x11-libs/libnotify \
+ sys-auth/polkit \
+ dev-libs/libdbusmenu \
+ app-emulation/dxvk-bin \
+ app-emulation/winetricks \
+ virtual/wine \
+ "
+# !games-misc/an-anime-game-launcher \
+# "
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="app-admin/chrpath"
+
+S="${WORKDIR}/aagl-ebuilds-${PV}"
+src_prepare(){
+ mv "icon.png" "${PN}.png"
+ mv "launcher.sh" "${PN}"
+ chmod +x "An_Anime_Game_Launcher.AppImage"
+ ./An_Anime_Game_Launcher.AppImage --appimage-extract || die "Extraction Failed"
+ chrpath -d "squashfs-root/public/discord-rpc/discord-rpc" || die "Patching Library Failed"
+ eapply_user
+}
+
+src_install(){
+ dodir "/usr/lib/${PN}"
+ einfo "Inserting Launcher Files"
+ doins -r "squashfs-root/resources.neu"
+ einfo "Inserting Launcher Binary"
+ doins -r "squashfs-root/an-anime-game-launcher"
+ einfo "Setting Executable Permissions for Binary"
+ chmod +x "${D}/usr/lib/${PN}/an-anime-game-launcher"
+ einfo "Inserting More Launcher Files"
+ doins -r "squashfs-root/public"
+ einfo "Inserting Icons"
+ insinto "/usr/share/pixmaps"
+ doins "${PN}.png" || die "Insertion Failed"
+ einfo "Inserting Start Script"
+ insinto "/usr/bin"
+ doins "${PN}" || die "Insertion Failed"
+ einfo "Setting Executable Permissions for Launch Script"
+ chmod +x "${D}/usr/bin/${PN}"
+ einfo "Inserting Desktop Shortcut"
+ insinto "/usr/share/applications/"
+ doins "${PN}.desktop"
+ einfo "Setting Read Permissions for Launcher Files"
+ chmod -R 775 "${D}/usr/lib/${PN}/public"
+}