30 lines
1.3 KiB
Plaintext
30 lines
1.3 KiB
Plaintext
# 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 <juandmcr@protonmail.com>"
|
|
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"
|
|
}
|