From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 92B8E158090 for ; Sun, 1 May 2022 08:42:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2D3AE0B94; Sun, 1 May 2022 08:42:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A234CE0B94 for ; Sun, 1 May 2022 08:42:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8DC97341779 for ; Sun, 1 May 2022 08:42:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDCD4344 for ; Sun, 1 May 2022 08:42:07 +0000 (UTC) From: "Pascal Jäger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pascal Jäger" Message-ID: <1651394008.ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf.pascal.jaeger@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: games-misc/an-anime-game-launcher-bin/ X-VCS-Repository: repo/proj/guru X-VCS-Files: games-misc/an-anime-game-launcher-bin/Manifest games-misc/an-anime-game-launcher-bin/an-anime-game-launcher-bin-2.3.1.ebuild X-VCS-Directories: games-misc/an-anime-game-launcher-bin/ X-VCS-Committer: pascal.jaeger X-VCS-Committer-Name: Pascal Jäger X-VCS-Revision: ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf X-VCS-Branch: dev Date: Sun, 1 May 2022 08:42:07 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b6296a7d-d25c-4dca-8994-3d5b945afd13 X-Archives-Hash: 982d53ffba3e93b926bae38cb5f284a4 commit: ae8e1f0b4f5a468fe2bd5038db733176e6d34bcf Author: Pascal Jäger leimstift de> AuthorDate: Sun May 1 08:33:17 2022 +0000 Commit: Pascal Jäger leimstift de> CommitDate: Sun May 1 08:33:28 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae8e1f0b games-misc/an-anime-game-launcher-bin: new package, add 2.3.1 Signed-off-by: Pascal Jäger leimstift.de> games-misc/an-anime-game-launcher-bin/Manifest | 1 + .../an-anime-game-launcher-bin-2.3.1.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) 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" +}