blob: 9f2f1b093e201a81b2c7a5e93d80fd2dc7b6efe4 [file] [log] [blame]
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00001Description = "Gerbera - An UPnP media server"
2
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-2.0-only"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00004LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8"
5
Patrick Williams8dd68482022-10-04 07:57:18 -05006SRC_URI = "git://github.com/gerbera/gerbera.git;protocol=https;branch=master \
7 file://0001-Fix-build-with-fmt-9.0.patch \
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00008 "
9
Patrick Williams8dd68482022-10-04 07:57:18 -050010SRCREV = "d73d8c1346213d784753c02ea771970500e0df2a"
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000011
12S = "${WORKDIR}/git"
13
14DEPENDS = "expat fmt spdlog pugixml libebml libmatroska zlib curl libupnp e2fsprogs sqlite3 libnsl2"
15
16SYSTEMD_SERVICE:${PN} = "gerbera.service"
17
18inherit cmake pkgconfig systemd
19
20PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
21PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=TRUE,-DWITH_SYSTEMD=FALSE,systemd"
22PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
23EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
24
25do_install:append() {
26 install -d ${D}/root/.config/
27}
28
29FILES:${PN} += "/root/.config/"
30
31SECURITY_CFLAGS:riscv64 = "${SECURITY_NOPIE_CFLAGS}"