diff mbox series

[oe,meta-multimedia,4/4] gerbera: Update to 1.3.0

Message ID 20190208061748.21556-4-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-python,1/4] python-gevent: Upgrade to 1.4.0 | expand

Commit Message

Khem Raj Feb. 8, 2019, 6:17 a.m. UTC
Add missing dependency on libnsl2
Turn systemd support into a packageconfig knob

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 .../recipes-multimedia/gerbera/gerbera_git.bb         | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

-- 
2.20.1

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
index f763cf1e42..9c78da0d23 100644
--- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
+++ b/meta-multimedia/recipes-multimedia/gerbera/gerbera_git.bb
@@ -7,20 +7,21 @@  SRC_URI = "git://github.com/v00d00/gerbera.git;protocol=https \
     file://gerbera.service \
 "
 
-PV = "1.0+git${SRCPV}"
-SRCREV = "4435b165d121195aefd67d0287f7f9349e181d45"
+PV = "1.3.0+git${SRCPV}"
+# v1.3.0
+SRCREV = "c7a81fb41e446ee67b3eac90e2caecd6de651a16"
 
 S = "${WORKDIR}/git"
 
-DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 "
+DEPENDS = "expat zlib curl libupnp e2fsprogs sqlite3 libnsl2"
 
 SYSTEMD_SERVICE_${PN} = "gerbera.service"
 
 inherit cmake systemd
 
-PACKAGECONFIG = ""
+PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+PACKAGECONFIG[systemd] = "-DWITH_SYSTEMD=TRUE,-DWITH_SYSTEMD=FALSE,systemd"
 PACKAGECONFIG[taglib] = "-DWITH_TAGLIB=TRUE,-DWITH_TAGLIB=FALSE,taglib"
-
 EXTRA_OECMAKE = "-DWITH_JS=FALSE -DWITH_MAGIC=FALSE -DWITH_EXIF=FALSE -DLIBUUID_INCLUDE_DIRS=${STAGING_INCDIR} -DLIBUUID_LIBRARIES=-luuid"
 
 do_install_append() {