[oe-commits] org.oe.dev ohm: fix depends and packaging

koen commit openembedded-commits at lists.openembedded.org
Mon Aug 13 15:47:44 UTC 2007


ohm: fix depends and packaging
* x11 dependants are in ohm-plugin-x11, leaving a small and contained ohm and libohm package

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: d0268fbb7d96d11c64473ebadfcb3560a9d0a2ae
ViewMTN: http://monotone.openembedded.org/revision.psp?id=d0268fbb7d96d11c64473ebadfcb3560a9d0a2ae
Files:
1
packages/hal/ohm_git.bb
Diffs:

#
# mt diff -rff97b52dd371cb055c0589edaadcb53e574f85fa -rd0268fbb7d96d11c64473ebadfcb3560a9d0a2ae
#
# 
# 
# patch "packages/hal/ohm_git.bb"
#  from [23d27f7a2380b1f011b3981ea4c4cbc22cdd721a]
#    to [690f87493050de6333be4cd4a7b98e07531dffd3]
# 
============================================================
--- packages/hal/ohm_git.bb	23d27f7a2380b1f011b3981ea4c4cbc22cdd721a
+++ packages/hal/ohm_git.bb	690f87493050de6333be4cd4a7b98e07531dffd3
@@ -1,16 +1,43 @@ LICENSE = "LGPL"
 DESCRIPTION = "Open Hardware Manager"
 HOMEPAGE = "http://freedesktop.org/Software/ohm"
 LICENSE = "LGPL"
 
-DEPENDS = "dbus-glib intltool-native hal"
-RDEPENDS += "udev hal-info"
+DEPENDS = "gtk+ dbus-glib intltool-native hal"
+RDEPENDS_${PN} += "udev hal-info"
 SRC_URI = "git://anongit.freedesktop.org/git/ohm/;protocol=git"
 
 PV = "0.0+git${SRCDATE}"
-PR = "r1"
+PR = "r2"
 
 S = "${WORKDIR}/git"
 
 inherit autotools pkgconfig
 
 EXTRA_OECONF = "--with-distro=debian"
+
+do_configure_append() {
+        rm config.log
+}
+
+OE_LT_RPATH_ALLOW=":${libdir}/libohm:"
+OE_LT_RPATH_ALLOW[export]="1"
+
+PACKAGES =+ "libohm ohm-plugin-x11"
+
+FILES_${PN}-dev += "${libdir}/ohm/*.la \
+                   ${libdir}/ohm/*.a "
+
+FILES_${PN} = "${sysconfdir} \
+               ${bindir}/* \
+	       ${sbindir}/* \
+	       ${libdir}/ohm/*.so \
+	       "
+
+FILES_libohm = "${libdir}/libohm.so.*"
+FILES_ohm-plugin-x11 = "${libdir}/ohm/libohm_x*.so \
+                        ${libdir}/ohm/libohm_idle.so \ 
+                        ${sysconfdir}/ohm/plugins.d/x* \
+			${sysconfdir}/ohm/plugins.d/idle* \
+			"
+
+






More information about the Openembedded-commits mailing list