void-packages/srcpkgs/gerbera/template

28 lines
972 B
Bash

# Template file for 'gerbera'
pkgname=gerbera
version=1.11.0
revision=5
build_style=cmake
configure_args="-DWITH_SYSTEMD=0 -DWITH_AVCODEC=1"
hostmakedepends="pkg-config"
makedepends="duktape-devel expat-devel ffmpeg-devel file-devel libcurl-devel
libexif-devel libupnp-devel libuuid-devel sqlite-devel taglib-devel
fmt-devel spdlog pugixml-devel libebml-devel libmatroska-devel"
short_desc="UPnP Media Server based on MediaTomb"
maintainer="Alexander Gehrke <void@qwertyuiop.de>"
license="GPL-2.0-only"
homepage="http://gerbera.io/"
changelog="https://raw.githubusercontent.com/gerbera/gerbera/master/ChangeLog.md"
distfiles="https://github.com/gerbera/gerbera/archive/v${version}.tar.gz"
checksum=0c13049792a28ec0e3086ba61c7f9675626a1dbadb043650a452192727418be7
# libupnp uses large file support, so users must do that, too
CXXFLAGS="-D_FILE_OFFSET_BITS=64"
system_accounts="gerbera"
make_dirs="/var/lib/gerbera 0750 gerbera gerbera"
post_install() {
vsv gerbera
}