Package Details: an-anime-game-launcher-bin 3.14.1-1

Git Clone URL: https://aur.archlinux.org/an-anime-game-launcher-bin.git (read-only, click to copy)
Package Base: an-anime-game-launcher-bin
Description: A Launcher for a specific anime game with auto-patching, discord rpc and time tracking
Upstream URL: https://github.com/an-anime-team/an-anime-game-launcher
Keywords: anime game launcher
Licenses: GPL3
Conflicts: an-anime-game-launcher, an-anime-game-launcher-git
Provides: an-anime-game-launcher
Submitter: Mar0xy
Maintainer: xstraok
Last Packager: xstraok
Votes: 42
Popularity: 1.86
First Submitted: 2021-12-11 02:14 (UTC)
Last Updated: 2025-05-18 17:46 (UTC)

Dependencies (11)

Required by (0)

Sources (3)

Latest Comments

« First ‹ Previous 1 2

zhixi commented on 2022-09-26 11:15 (UTC) (edited on 2022-09-26 11:18 (UTC) by zhixi)

Error occurred today.

RUST_BACKTRACE=full an-anime-game-launcher --run-game
thread 'main' panicked at 'Failed to init MainApp: "missing field `name` at line 1 column 9087"', src/main.rs:102:42
stack backtrace:
   0:     0x55cfaf8abcb7 - <unknown>
   1:     0x55cfaf6f482c - <unknown>
   2:     0x55cfaf8807c4 - <unknown>
   3:     0x55cfaf8ae096 - <unknown>
   4:     0x55cfaf8af127 - <unknown>
   5:     0x55cfaf8aec02 - <unknown>
   6:     0x55cfaf8aeb76 - <unknown>
   7:     0x55cfaf8aeb32 - <unknown>
   8:     0x55cfaf5859e2 - <unknown>
   9:     0x55cfaf585c62 - <unknown>
  10:     0x55cfaf6262bf - <unknown>
  11:     0x7f2d5901b210 - g_closure_invoke
  12:     0x7f2d59048e78 - <unknown>
  13:     0x7f2d59038f25 - g_signal_emit_valist
  14:     0x7f2d590391b4 - g_signal_emit
  15:     0x7f2d5913b199 - <unknown>
  16:     0x7f2d59145fac - g_application_run
  17:     0x55cfaf62a690 - <unknown>
  18:     0x55cfaf6cdc33 - <unknown>
  19:     0x55cfaf629426 - <unknown>
  20:     0x7f2d58bfc290 - <unknown>
  21:     0x7f2d58bfc34a - __libc_start_main
  22:     0x55cfaf599705 - <unknown>
  23:                0x0 - <unknown>

Yesterday it's okay. Maybe some gtk lib packages breaks it.

Here is the pacakges I update today.

2022-09-26 10:39:02 fcitx5-pinyin-moegirl
2022-09-26 10:39:02 gtksourceview5
2022-09-26 10:39:02 libfido2
2022-09-26 10:39:02 libgee
2022-09-26 10:39:02 libopenmpt
2022-09-26 10:39:04 linux
2022-09-26 10:39:05 linux-headers
2022-09-26 10:39:06 linux-zen
2022-09-26 10:39:08 linux-zen-headers
2022-09-26 10:39:08 perl-path-tiny
2022-09-26 10:39:08 python-certifi
2022-09-26 10:39:08 python-executing
2022-09-26 10:39:08 python-sphinx
2022-09-26 10:39:08 qv2ray-dev-git
2022-09-26 10:39:08 sway-hidpi-git-debug
2022-09-26 17:44:34 firefox-developer-edition
2022-09-26 17:59:43 namcap
2022-09-26 17:59:43 python-pyelftools
2022-09-26 18:53:05 cabextract
2022-09-26 18:53:05 ncompress
2022-09-26 18:53:06 an-anime-game-launcher-gtk-bin

fabiscafe commented on 2021-11-29 12:47 (UTC)

@Mar0xy Ahh, my bad. The mail was blocked by Yandex spam filter.

Sounds good. If you need any help please let me/us know. :)

Mar0xy commented on 2021-11-28 21:58 (UTC) (edited on 2021-11-28 22:17 (UTC) by Mar0xy)

@fabiscafe Thanks for the updated PKGBUILD.

I never really dealt with an PKGBUILD so this was my first time which is why it was mainly a bit jank also I can confirm that the contact email is indeed functional as I use it on all git related sites aswell as for business.

the issue with the git tag was the fact that I never dealt with git urls that much so I didn't know that was a function.

Anyways, I will update the PKGBUILD with the next version release which is planned for tomorrow currently.

Cheers

fabiscafe commented on 2021-11-27 09:27 (UTC)

Hi. Thanks for the PKGBUILD. I changed it a bit. Most of the changes are style/format changes. Some do fix up things, like you don't need a provides line, as your packages always provides itself and some other minor things I could not understand. For example the line

install -dm755 "${pkgdir}/usr/bin" "an-anime-game-launcher"

or why you do

cd "$srcdir/an-anime-game-launcher"
git checkout tags/${pkgver}

makepkg does support to pull a tag/commit directly.

Your contacts info mail address also seems to be broken. The PKGBUILD is here:

# Maintainer: Marie Piontek <marie@kaifa.ch>

pkgname=an-anime-game-launcher
pkgver=1.6.0
pkgrel=2
pkgdesc="An Launcher for a specific anime game written in Electron with auto-patching and playtime tracking function"
url="https://notabug.org/nobody/an-anime-game-launcher"
arch=("x86_64")
license=("GPL3")
depends=(
    "electron"
    "git"
    "tar"
    "unzip"
    "xdelta3"
)
makedepends=(
    "git"
    "nodejs-lts-gallium"
    "npm"
)
optdepends=(
    "gamemode: Game Optimization"
    "mangohud: Required if you want to check FPS"
    "reshade-shaders-git: Required by vkBasalt config files (install this and vkbasalt)"
    "switcheroo-control: Hybrid GPU Support"
    "vkbasalt: Required to use custom shaders (install this and reshade-shaders-git)"
)
source=(
    "git+${url}.git#tag=${pkgver}"
    "an-anime-game-launcher.desktop"
    "an-anime-game-launcher.sh"
)
md5sums=(
    'SKIP'
    '44b5730fe1a5cf22d7be6e3bf717ea0f'
    '8b875e8115a3b80f9964dc66ddf46a9a'
)

prepare() {
    electronDist="/usr/lib/electron"
    electronVer="$(electron --version | tail -c +2)"

    sed -i '/"electron":/d' "${pkgname}/package.json"
}

build() {
    cd "${pkgname}"
    HOME="${srcdir}/.electron-gyp" npm install --cache "${srcdir}/npm-cache"
    npm run dev
    ./node_modules/.bin/electron-builder -l dir \
        -c.electronDist=${electronDist} \
        -c.electronVersion=${electronVer}
}

package() {
    cd "${pkgname}"
    install -dm755 "${pkgdir}/usr/lib/${pkgname}"
    cp -dr --no-preserve=ownership dist/linux-unpacked/resources/* "${pkgdir}/usr/lib/${pkgname}/"

    install -Dm644 public/images/icons/256x256.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
    install -Dm755 "${srcdir}/an-anime-game-launcher.sh" "${pkgdir}/usr/bin/${pkgname}"
    install -Dm644 "${srcdir}/an-anime-game-launcher.desktop" -t "${pkgdir}/usr/share/applications"
}