mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-05-27 05:41:31 +00:00
Add Arch Linux packaging, cross-compilation support, and binary generation
- Introduce Arch Linux package build process, supporting both x86_64 and aarch64 architectures. - Add Arch-specific configuration files for service, sysusers, and tmpfiles to facilitate system integration. - Update packaging script to dynamically handle Arch-specific builds and configure PKGBUILD fields. - Add cross-compilation support, enabling building for ARM (aarch64) on x86_64 systems. - Implement binary generation for both architectures, allowing separate or unified binary outputs. - Include npm scripts to automate Arch build and cross-compilation processes. - Simplify deployment and integration for Arch-based systems.
This commit is contained in:
parent
a89a24e48e
commit
9ef873fab6
8 changed files with 257 additions and 20 deletions
12
build/arch/audiobookshelf.conf
Normal file
12
build/arch/audiobookshelf.conf
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
NODE_ENV=production
|
||||
METADATA_PATH=/var/lib/audiobookshelf/metadata
|
||||
CONFIG_PATH=/var/lib/audiobookshelf/config
|
||||
SOURCE=archlinux
|
||||
FFMPEG_PATH=/usr/bin/ffmpeg
|
||||
FFPROBE_PATH=/usr/bin/ffprobe
|
||||
NUSQLITE3_PATH=/usr/lib/libnusqlite3.so
|
||||
SKIP_BINARIES_CHECK=1
|
||||
PORT=13378
|
||||
HOST=0.0.0.0
|
||||
# ROUTER_BASE_PATH="/audiobookshelf"
|
||||
# ALLOW_IFRAME=1
|
||||
Loading…
Add table
Add a link
Reference in a new issue