28 lines
842 B
Bash
28 lines
842 B
Bash
# Template file for 'lms'
|
|
pkgname=lms
|
|
version=3.58.0
|
|
revision=1
|
|
build_style=cmake
|
|
configure_args="-DLMS_IMAGE_BACKEND=graphicsmagick"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="wt-devel ffmpeg6-devel boost-devel libconfig++-devel taglib-devel
|
|
pam-devel libgraphicsmagick-devel gtest-devel libarchive-devel"
|
|
conf_files="/etc/lms.conf /etc/pam.d/lms"
|
|
short_desc="Lightweight Music Server"
|
|
maintainer="danoloan10 <danoloan10@tutanota.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/epoupon/lms"
|
|
distfiles="https://github.com/epoupon/lms/archive/refs/tags/v${version}.tar.gz "
|
|
checksum=557476f01f6e6527c656ff6b26383adc785d95c4017df2450d80eb67834ae3e0
|
|
|
|
system_accounts="_lms"
|
|
_lms_homedir="/var/lms"
|
|
make_dirs="/var/lms 755 _lms _lms"
|
|
|
|
post_install() {
|
|
vconf conf/lms.conf
|
|
vmkdir /etc/pam.d
|
|
vcopy conf/pam/* /etc/pam.d
|
|
vsv lms
|
|
}
|