libsrtp: allow creation of empty package
PATCH 1/1 libsrtp: allow creation of empty package
Package PN is not created otherwise and results in errors like
| Problem: conflicting requests
| - nothing provides libsrtp = 1.5.2-r0 needed by libsrtp-dev-1.5.2-r0.i586
when PN-staticdev is to be installed that RDEPENDS on it.
Signed-off-by Anuj Mittal <[email protected]>
--- meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb +2 -0
@@ -18,3 +18,5 @@ do_install[postfuncs] += " rm_unused_bindir " rm_unused_bindir() { rmdir ${D}/${bindir} } + +ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.7.4
Quoted 18 lines · Anuj Mittal
Package PN is not created otherwise and results in errors like
| Problem: conflicting requests
| - nothing provides libsrtp = 1.5.2-r0 needed by libsrtp-dev-1.5.2-r0.i586when PN-staticdev is to be installed that RDEPENDS on it.
Signed-off-by Anuj Mittal <[email protected]>--- meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb | 2 ++ 1 file changed, 2 insertions(+)meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb +0
-0
meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb do_install[postfuncs] += " rm_unused_bindir " · line 22
Quoted 5 lines
meta-multimedia/recipes-support/libsrtp/libsrtp_1.5.2.bb +2
-0@@ -18,3 +18,5 @@ do_install[postfuncs] += " rm_unused_bindir " rm_unused_bindir() { rmdir ${D}/${bindir} } + +ALLOW_EMPTY_${PN} = "1"
You wont need this change if you remove this dependency from dev packages
RDEPENDS_${PN}-dev = ""
RDEPENDS_${PN}-staticdev = ""