24 lines
799 B
Bash
24 lines
799 B
Bash
# Template file for 'gerbera'
|
|
pkgname=gerbera
|
|
version=1.2.0
|
|
revision=2
|
|
build_style=cmake
|
|
makedepends="duktape-devel expat-devel ffmpeg-devel file-devel libcurl-devel
|
|
libexif-devel libupnp1.8-devel libuuid-devel sqlite-devel taglib-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=a64fe5820aced590bcdc22600596dc8a41c0baf68d7c0ec5baf7a561ade820df
|
|
configure_args="-DWITH_SYSTEMD=0 -DWITH_AVCODEC=1"
|
|
|
|
# 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
|
|
}
|