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