From bce1c1b96d01b4c86bfad694f03773d9f16ffc47 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Tue, 28 Sep 2010 17:47:39 +0200 Subject: libpthread-stubs: add .inc file, INC_PR, native and nativesdk BBCLASSEXTEND * needed for libxcb-native Signed-off-by: Martin Jansa --- recipes/xcb/libpthread-stubs.inc | 14 ++++++++++++++ recipes/xcb/libpthread-stubs_0.1.bb | 16 ++-------------- recipes/xcb/libpthread-stubs_0.2.bb | 16 ++-------------- recipes/xcb/libpthread-stubs_0.3.bb | 16 ++-------------- 4 files changed, 20 insertions(+), 42 deletions(-) create mode 100644 recipes/xcb/libpthread-stubs.inc (limited to 'recipes/xcb') diff --git a/recipes/xcb/libpthread-stubs.inc b/recipes/xcb/libpthread-stubs.inc new file mode 100644 index 0000000000..9c65496961 --- /dev/null +++ b/recipes/xcb/libpthread-stubs.inc @@ -0,0 +1,14 @@ +DESCRIPTION = "This library provides weak aliases for pthread functions \ +not provided in libc or otherwise available by default." +SECTION = "x11/libs" +LICENSE = "MIT-X" +HOMEPAGE = "http://xcb.freedesktop.org" +INC_PR = "r2" + +BBCLASSEXTEND = "native nativesdk" + +PARALLEL_MAKE = "" + +SRC_URI = "http://xcb.freedesktop.org/dist/${BPN}-${PV}.tar.bz2" + +inherit autotools pkgconfig diff --git a/recipes/xcb/libpthread-stubs_0.1.bb b/recipes/xcb/libpthread-stubs_0.1.bb index 0f2dd10afd..38d05d87b9 100644 --- a/recipes/xcb/libpthread-stubs_0.1.bb +++ b/recipes/xcb/libpthread-stubs_0.1.bb @@ -1,17 +1,5 @@ -DESCRIPTION = "This library provides weak aliases for pthread functions \ -not provided in libc or otherwise available by default." -SECTION = "x11/libs" -LICENSE = "MIT-X" -HOMEPAGE = "http://xcb.freedesktop.org" -PR = "r1" - -PARALLEL_MAKE = "" -#DEPENDS = "xcb-proto xproto libxau libxslt-native" -# DEPENDS += "xsltproc-native gperf-native" - -SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2" - -inherit autotools pkgconfig +require libpthread-stubs.inc +PR = "${INC_PR}.0" SRC_URI[md5sum] = "774eabaf33440d534efe108ef9130a7d" SRC_URI[sha256sum] = "004dae11e11598584939d66d26a5ab9b48d08a00ca2d00ae8d38ee3ac7a15d65" diff --git a/recipes/xcb/libpthread-stubs_0.2.bb b/recipes/xcb/libpthread-stubs_0.2.bb index 068c6673d9..f0cdd2fa76 100644 --- a/recipes/xcb/libpthread-stubs_0.2.bb +++ b/recipes/xcb/libpthread-stubs_0.2.bb @@ -1,17 +1,5 @@ -DESCRIPTION = "This library provides weak aliases for pthread functions \ -not provided in libc or otherwise available by default." -SECTION = "x11/libs" -LICENSE = "MIT-X" -HOMEPAGE = "http://xcb.freedesktop.org" -PR = "r1" - -PARALLEL_MAKE = "" -#DEPENDS = "xcb-proto xproto libxau libxslt-native" -# DEPENDS += "xsltproc-native gperf-native" - -SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2" - -inherit autotools pkgconfig +require libpthread-stubs.inc +PR = "${INC_PR}.0" SRC_URI[md5sum] = "2ba9ce2d46da0a2a1090384ece3387ff" SRC_URI[sha256sum] = "d4c47c24e5ec07e974a7ef8f55b2907dd7fa8de82e291a02b15f8c4a7028bf48" diff --git a/recipes/xcb/libpthread-stubs_0.3.bb b/recipes/xcb/libpthread-stubs_0.3.bb index bad516e9a2..3f477e68a3 100644 --- a/recipes/xcb/libpthread-stubs_0.3.bb +++ b/recipes/xcb/libpthread-stubs_0.3.bb @@ -1,20 +1,8 @@ -DESCRIPTION = "This library provides weak aliases for pthread functions \ -not provided in libc or otherwise available by default." -SECTION = "x11/libs" -LICENSE = "MIT-X" -HOMEPAGE = "http://xcb.freedesktop.org" -PR = "r1" +require libpthread-stubs.inc +PR = "${INC_PR}.0" # For unknown reason doesn't create libpthread-stubs.la DEFAULT_PREFERENCE = "-1" -PARALLEL_MAKE = "" -#DEPENDS = "xcb-proto xproto libxau libxslt-native" -# DEPENDS += "xsltproc-native gperf-native" - -SRC_URI = "http://xcb.freedesktop.org/dist/libpthread-stubs-${PV}.tar.bz2" - -inherit autotools pkgconfig - SRC_URI[md5sum] = "e8fa31b42e13f87e8f5a7a2b731db7ee" SRC_URI[sha256sum] = "35b6d54e3cc6f3ba28061da81af64b9a92b7b757319098172488a660e3d87299" -- cgit 1.2.3-korg