Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | Description = "Gerbera - An UPnP media server" |
| 2 | |
| 3 | LICENSE = "GPLv2" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8" |
| 5 | |
| 6 | SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \ |
| 7 | file://gerbera.service \ |
| 8 | " |
| 9 | |
| 10 | PV = "1.0+git${SRCPV}" |
| 11 | SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45" |
| 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
| 15 | DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 " |
| 16 | |
| 17 | SYSTEMD_SERVICE_${PN} = "gerbera.service" |
| 18 | |
| 19 | inherit cmake systemd |
| 20 | |
| 21 | PACKAGECONFIG = "" |
| 22 | PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib" |
| 23 | |
| 24 | EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid" |
| 25 | |
| 26 | do_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 | |
| 32 | FILES_${PN} += "/root/.config/" |