diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb index 2bbedc0d19..f763cf1e42 100644 --- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb +++ b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb | |||
| @@ -4,31 +4,29 @@ LICENSE = "GPLv2" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8" |
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \ | 6 | SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \ |
| 7 | file://gerbera.service " | 7 | file://gerbera.service \ |
| 8 | " | ||
| 8 | 9 | ||
| 9 | |||
| 10 | # Modify these as desired | ||
| 11 | PV = "1.0+git${SRCPV}" | 10 | PV = "1.0+git${SRCPV}" |
| 12 | SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45" | 11 | SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45" |
| 13 | 12 | ||
| 14 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
| 15 | 14 | ||
| 16 | DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 taglib " | 15 | DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 " |
| 17 | RDEPENDS_${PN} = "expat zlib curl libupnp e2fsprogs taglib " | ||
| 18 | 16 | ||
| 19 | SYSTEMD_SERVICE_${PN} = "gerbera.service" | 17 | SYSTEMD_SERVICE_${PN} = "gerbera.service" |
| 20 | SYSTEMD_AUTO_ENABLE = "enable" | ||
| 21 | 18 | ||
| 22 | inherit cmake systemd | 19 | inherit cmake systemd |
| 23 | 20 | ||
| 24 | EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_TAGLIB=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${WORKDIR}/recipe-sysroot/usr/include -DLIBUUID_LIBRARIES=-luuid" | 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 | 25 | ||
| 26 | do_install_append() { | 26 | do_install_append() { |
| 27 | install -d ${D}/root/.config/ | 27 | install -d ${D}/root/.config/ |
| 28 | install -d ${D}${systemd_system_unitdir} | 28 | install -d ${D}${systemd_system_unitdir} |
| 29 | install -m 0644 ${WORKDIR}/gerbera.service ${D}${systemd_system_unitdir}/ | 29 | install -m 0644 ${WORKDIR}/gerbera.service ${D}${systemd_system_unitdir}/ |
| 30 | } | 30 | } |
| 31 | 31 | ||
| 32 | FILES_${PN} += " /root/.config/ \ | 32 | FILES_${PN} += "/root/.config/" |
| 33 | ${systemd_system_unitdir}/* \ | ||
| 34 | " \ No newline at end of file | ||
