mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-06 15:13:51 +02:00
New package: lms-3.40.0
This commit is contained in:
parent
37a94b3409
commit
6dd5ba71b7
2 changed files with 34 additions and 0 deletions
4
srcpkgs/lms/files/lms/run
Normal file
4
srcpkgs/lms/files/lms/run
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r conf ] && . ./conf
|
||||
exec 2>&1
|
||||
exec chpst -u "${LMSUSER:-_lms}" -C "${WORKDIR:-/var/lms}" lms ${OPTS}
|
30
srcpkgs/lms/template
Normal file
30
srcpkgs/lms/template
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Template file for 'lms'
|
||||
pkgname=lms
|
||||
version=3.40.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="wt-devel ffmpeg-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=ecdb4e8aefa182b0160afcf9830da041399097a020ba8b912bfb4b6928a36e58
|
||||
|
||||
system_accounts="_lms"
|
||||
_lms_homedir="/var/lms"
|
||||
make_dirs="/var/lms 755 _lms _lms"
|
||||
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
configure_args+=" -DCMAKE_CXX_FLAGS=-latomic"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vconf conf/lms.conf
|
||||
vmkdir /etc/pam.d
|
||||
vcopy conf/pam/* /etc/pam.d
|
||||
vsv lms
|
||||
}
|
Loading…
Add table
Reference in a new issue