Patchwork [08/17] polkit: fixup packaging

login
register
mail settings
Submitter lumag
Date Sept. 21, 2011, 6:39 p.m.
Message ID <1316630404-10336-8-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11893/
State New, archived
Headers show

Comments

lumag - Sept. 21, 2011, 6:39 p.m.
1) Drop static versions of extensions, as there is no point in them
2) For completeness include .la files for extensions into polkit-dev

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta/recipes-extended/polkit/polkit_0.101.bb |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-extended/polkit/polkit_0.101.bb b/meta/recipes-extended/polkit/polkit_0.101.bb
index 06ca595..b5f2e28 100644
--- a/meta/recipes-extended/polkit/polkit_0.101.bb
+++ b/meta/recipes-extended/polkit/polkit_0.101.bb
@@ -11,7 +11,7 @@  SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \
            ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}"
 
 PAM_SRC_URI = "file://polkit-1_pam.patch"
-PR = "r1"
+PR = "r2"
 DEPENDS = "libpam expat dbus-glib eggdbus intltool-native"
 RDEPENDS_${PN} = "libpam"
 EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection"
@@ -22,6 +22,11 @@  FILES_${PN} += "${libdir}/${PN}-1/extensions/*.so \
                 ${datadir}/${PN}-1/actions/* \
                 ${datadir}/dbus-1/system-services/*"
 FILES_${PN}-dbg += "${libdir}/${PN}-1/extensions/.debug/*.so"
+FILES_${PN}-dev += "${libdir}/${PN}-1/extensions/*.la "
+
+do_install_append() {
+	rm -f ${D}${libdir}/${PN}-1/extensions/*.a
+}
 
 SRC_URI[md5sum] = "f925ac93aba3c072977370c1e27feb7f"
 SRC_URI[sha256sum] = "927f65760e4fce23d7cdeae90245c22986eb0a39335a344915302158f73f9f1b"