blob: c96e4c52e959423effc5e66ea7605a16d51cfa10 [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
Brad Bishop93c3acf2019-10-29 09:48:15 -04009PV = "1.3.2"
10SRCREV = "42b035ea9098c02af503d6391a0ed56d973aaf23"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011
12S = "${WORKDIR}/git"
13
Brad Bishop19323692019-04-05 15:28:33 -040014DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 libnsl2"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050015
16SYSTEMD_SERVICE_${PN} = "gerbera.service"
17
18inherit cmake systemd
19
Brad Bishop19323692019-04-05 15:28:33 -040020PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
21PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=TRUE,-DWITH_SYSTEMD=FALSE,systemd"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050022PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023EXTRA_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/
Brad Bishopd7bf8c12018-02-25 22:55:05 -050027}
28
29FILES_${PN} += "/root/.config/"