From 17f2978e2bf5fe848ea55f79b68b680d63a12939 Mon Sep 17 00:00:00 2001 From: juandmcr Date: Thu, 19 Nov 2026 22:35:45 +0100 Subject: [PATCH] new package: amethyst-mod-manager --- srcpkgs/amethyst-mod-manager/CHECKUP | 2 ++ srcpkgs/amethyst-mod-manager/template | 29 +++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/amethyst-mod-manager/CHECKUP create mode 100644 srcpkgs/amethyst-mod-manager/template diff --git a/srcpkgs/amethyst-mod-manager/CHECKUP b/srcpkgs/amethyst-mod-manager/CHECKUP new file mode 100644 index 0000000..a71aa8c --- /dev/null +++ b/srcpkgs/amethyst-mod-manager/CHECKUP @@ -0,0 +1,2 @@ +deps=python3-bsdiff4 python3-libloot +bindeps=x86_64 i686 diff --git a/srcpkgs/amethyst-mod-manager/template b/srcpkgs/amethyst-mod-manager/template new file mode 100644 index 0000000..69a8231 --- /dev/null +++ b/srcpkgs/amethyst-mod-manager/template @@ -0,0 +1,29 @@ +# Template file for 'amethyst-mod-manager' +pkgname=amethyst-mod-manager +version=2.6.4 +revision=1 +archs="x86_64 i686" +build_helper="rust python3" +build_style=meson +hostmakedepends="pkg-config cargo" +makedepends="python3-devel qt6-base-devel libarchive-devel" +depends="python3 python3-pyside6 python3-requests python3-py7zr python3-libarchive-c python3-Pillow python3-lz4 python3-zstandard python3-websocket-client python3-keyring python3-jeepney python3-importlib_metadata python3-msgpack python3-bsdiff4 $(vopt_if noloot '' 'python3-libloot')" +short_desc="Native Linux mod manager with optional LOOT plugin sorting" +maintainer="Juan Rojas " +license="GPL-3.0-only" +homepage="https://github.com/ChrisDKN/Amethyst-Mod-Manager" +distfiles="https://github.com/ChrisDKN/Amethyst-Mod-Manager/archive/refs/tags/v${version}.tar.gz" +checksum=6ecc1b43873331960bdd11599c6546b86148395b339f9d701dece74fb0b88d05 + +build_options="noloot" +desc_option_noloot="Build without LOOT plugin sorting" + +pre_configure() { + cd "${wrksrc}/native/amethyst_filegraph" + local rust_target="${XBPS_CROSS_RUST_TARGET:-${XBPS_RUST_TARGET}}" + + cargo build --release --locked --target "${rust_target}" + + cp "target/${rust_target}/release/libamethyst_filegraph.so" \ + "${wrksrc}/src/amethyst_filegraph.abi3.so" +}