libxsettings-client: unify. partly closes 1688.
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>
Fri, 2 May 2008 18:20:31 +0000 (18:20 +0000)
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>
Fri, 2 May 2008 18:20:31 +0000 (18:20 +0000)
packages/libxsettings-client/libxsettings-client_0.14.bb
packages/libxsettings-client/libxsettings-client_0.16.bb
packages/libxsettings-client/libxsettings-client_0.17.bb
packages/libxsettings-client/libxsettings-client_svn.bb

index 6504405..35a2e5e 100644 (file)
@@ -1,21 +1,5 @@
-SECTION = "gpe/libs"
-LICENSE = "BSD-X"
-PRIORITY = "optional"
-DEPENDS = "libxsettings virtual/libx11 libxt"
-# libxt is required to stop configure breaking builds by
-# including system paths to find it if it isn't present.
+require libxsettings-client.inc
 
-inherit autotools pkgconfig gpe
+PR = "r1"
 
 SRC_URI = "${GPE_MIRROR}/xsettings-client-${PV}.tar.bz2"
-S = "${WORKDIR}/xsettings-client-${PV}"
-
-
-headers = "xsettings-client.h xsettings-common.h"
-do_stage () {
-        oe_libinstall -so libXsettings-client ${STAGING_LIBDIR}
-        mkdir -p ${STAGING_INCDIR}
-        for h in ${headers}; do
-                install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h
-        done
-}
index cfec090..725172b 100644 (file)
@@ -1,23 +1,3 @@
-SECTION = "gpe/libs"
-LICENSE = "BSD-X"
-PRIORITY = "optional"
-DEPENDS = "libxsettings virtual/libx11 libxt"
-# libxt is required to stop configure breaking builds by
-# including system paths to find it if it isn't present.
-PR="r1"
-
-inherit autotools pkgconfig gpe
-
-SRC_URI = "${GPE_MIRROR}/libxsettings-client-${PV}.tar.bz2 \
-       file://Makefile-am.patch;patch=1"
-
-
-headers = "xsettings-client.h xsettings-common.h"
-do_stage () {
-        oe_libinstall -so libXsettings-client ${STAGING_LIBDIR}
-        mkdir -p ${STAGING_INCDIR}
-        for h in ${headers}; do
-               install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h
-        done
-}
+require libxsettings-client.inc
 
+PR="r2"
index 41f3e8f..2178b74 100644 (file)
@@ -1,22 +1,6 @@
-SECTION = "gpe/libs"
-LICENSE = "BSD-X"
-PRIORITY = "optional"
-DEPENDS = "libxsettings virtual/libx11 libxt gtk-doc"
-# libxt is required to stop configure breaking builds by
-# including system paths to find it if it isn't present.
-PR="r1"
+require libxsettings-client.inc
 
-GPE_TARBALL_SUFFIX = "bz2"
-inherit autotools pkgconfig gpe
+DEPENDS += "gtk-doc"
+PR="r2"
 
 SRC_URI += "file://no-host-includes.patch;patch=1 "
-
-headers = "xsettings-client.h xsettings-common.h"
-do_stage () {
-        oe_libinstall -so libXsettings-client ${STAGING_LIBDIR}
-        mkdir -p ${STAGING_INCDIR}
-        for h in ${headers}; do
-               install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h
-        done
-}
-
index 111c692..c9705b5 100644 (file)
@@ -1,26 +1,10 @@
-SECTION = "gpe/libs"
-PRIORITY = "optional"
-LICENSE = "BSD-X"
-DEPENDS = "libxsettings virtual/libx11 libxt gtk-doc"
-PV = "0.17+svn${SRCDATE}"
-# libxt is required to stop configure breaking builds by
-# including system paths to find it if it isn't present.
-PR = "r0"
+require libxsettings-client.inc
 
-inherit autotools pkgconfig gpe
+DEPENDS += "gtk-doc"
+PV = "0.17+svn${SRCDATE}"
+PR = "r1"
 
 SRC_URI = "${GPE_SVN}"
-
 S = "${WORKDIR}/${PN}"
 
-do_stage () {
-        oe_libinstall -so libXsettings-client ${STAGING_LIBDIR}
-        mkdir -p ${STAGING_INCDIR}
-        for h in ${headers}; do
-               install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h
-        done
-}
-
-headers = "xsettings-client.h xsettings-common.h"
-
 DEFAULT_PREFERENCE = "-1"