DEPENDS = "gstreamer python-gst twisted python-pygtk2"
RDEPENDS = "python-twisted-core python-twisted-web python-core python-gst"
RDEPENDS_${PN}-gui = "${PN} python-pygtk2"
-PR = "r3"
+PR = "r4"
SRC_URI = "http://www.flumotion.net/src/flumotion/flumotion-${PV}.tar.bz2 \
file://python-path.patch;patch=1 \
EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
-PACKAGES =+ "flumotion-gui"
+#Yes, we know:
+#ERROR: flumotion-dbg is listed in PACKAGES mutliple times, this leads to packaging errors.
+#ERROR: Please fix the metadata/report this as bug to OE bugtracker.
+PACKAGES =+ "${PN}-dbg flumotion-gui"
+
+FILES_${PN}-dbg += "${libdir}/flumotion/python/flumotion/extern/*/.debug/*"
FILES_${PN} = "${bindir} ${sbindir} ${libdir}/flumotion"
FILES_${PN}-dev += "${libdir}/pkgconfig"
FILES_${PN}-gui = "${bindir}/flumotion-admin ${bindir}/flumotion-tester \