blob: 7f26741832fa2b468d606940709020b671bda109 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001Description = "Gerbera - An UPnP media server"
2
3LICENSE = "GPLv2"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8"
5
6SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \
Brad Bishopd7bf8c12018-02-25 22:55:05 -05007"
8
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -05009SRCREV = "b219e22f09e346dd048f614a01ca2cbc55edd940"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010
11S = "${WORKDIR}/git"
12
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050013DEPENDS = "expat fmt spdlog pugixml libebml libmatroska zlib curl libupnp e2fsprogs sqlite3 libnsl2"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050014
15SYSTEMD_SERVICE_${PN} = "gerbera.service"
16
17inherit cmake systemd
18
Brad Bishop19323692019-04-05 15:28:33 -040019PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
20PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=TRUE,-DWITH_SYSTEMD=FALSE,systemd"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050021PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
23
24do_install_append() {
25 install -d ${D}/root/.config/
Brad Bishopd7bf8c12018-02-25 22:55:05 -050026}
27
28FILES_${PN} += "/root/.config/"
Andrew Geisslerbffdb3e2020-08-21 16:13:29 -050029
30SECURITY_CFLAGS_riscv64 = "${SECURITY_NOPIE_CFLAGS}"