blob: f763cf1e42d600bafc7036a01aa078dd0ea583ff [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 \
7 file://gerbera.service \
8"
9
10PV = "1.0+git${SRCPV}"
11SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45"
12
13S = "${WORKDIR}/git"
14
15DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 "
16
17SYSTEMD_SERVICE_${PN} = "gerbera.service"
18
19inherit cmake systemd
20
21PACKAGECONFIG = ""
22PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
23
24EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
25
26do_install_append() {
27 install -d ${D}/root/.config/
28 install -d ${D}${systemd_system_unitdir}
29 install -m 0644 ${WORKDIR}/gerbera.service ${D}${systemd_system_unitdir}/
30}
31
32FILES_${PN} += "/root/.config/"