void-packages/srcpkgs/gerbera/template
Alexander Gehrke 435e10bde7 gerbera: update to 1.6.4
Closes: #27795 [via git-merge-pr]
2021-01-11 23:02:31 -05:00

26 lines
889 B
Bash

# Template file for 'gerbera'
pkgname=gerbera
version=1.6.4
revision=1
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/"
distfiles="https://github.com/gerbera/gerbera/archive/v${version}.tar.gz"
checksum=cbe7ea78977db8c02fcca1759ed149f199a590afaf4a6d21ffcca8623d1a0cc5
# 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
}