diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2016-08-11 13:14:05 +0200 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2016-08-15 12:32:01 +0200 |
commit | fdeb947bc0d0bbb3c4695216d0278eceb5a80488 (patch) | |
tree | be8207c9d735c8263b006b25488c2328b41165f3 /meta-oe | |
parent | 32e7012ebdc956a5f5fc9622c6c6a72cd3ceaea1 (diff) | |
download | meta-openembedded-fdeb947bc0d0bbb3c4695216d0278eceb5a80488.tar.gz |
glog: Update to version 0.3.4
-The repository has been moved to github.
-There is a new release 0.3.4
-Add a user configurable dependency on gflag
-Merge .inc file on the recipe
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
4 files changed, 58 insertions, 17 deletions
diff --git a/meta-oe/recipes-support/glog/glog.inc b/meta-oe/recipes-support/glog/glog.inc deleted file mode 100644 index 8a1fb4250b..0000000000 --- a/meta-oe/recipes-support/glog/glog.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | DESCRIPTION = "The glog library implements application-level logging. This \ | ||
2 | library provides logging APIs based on C++-style streams and various helper \ | ||
3 | macros." | ||
4 | HOMEPAGE = "https://code.google.com/p/google-glog/" | ||
5 | |||
6 | LICENSE = "BSD" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" | ||
8 | |||
9 | DEPENDS = "libunwind" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
diff --git a/meta-oe/recipes-support/glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch b/meta-oe/recipes-support/glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch new file mode 100644 index 0000000000..596281ff68 --- /dev/null +++ b/meta-oe/recipes-support/glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 0fabde0515e180c53961c27346dd7a79cffa4c1f Mon Sep 17 00:00:00 2001 | ||
2 | From: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | ||
3 | Date: Thu, 11 Aug 2016 11:49:36 +0200 | ||
4 | Subject: [PATCH] configure.ac: Allow user to disable gflags | ||
5 | |||
6 | Under some circumstances like cross-compilation, the user might not want | ||
7 | to enable support for gflags. | ||
8 | |||
9 | This patch allows support for --without-gflags | ||
10 | |||
11 | Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | ||
12 | --- | ||
13 | configure.ac | 6 +++++- | ||
14 | 1 file changed, 5 insertions(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 7b4d21e7ae8a..eba5e5cda1ea 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -136,7 +136,11 @@ AC_ARG_WITH(gflags, AS_HELP_STRING[--with-gflags=GFLAGS_DIR], | ||
21 | CFLAGS="$CFLAGS $GFLAGS_CFLAGS" | ||
22 | LIBS="$LIBS $GFLAGS_LIBS" | ||
23 | ) | ||
24 | -AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1, ac_cv_have_libgflags=0) | ||
25 | +if test x"$with_gflags" = x"no"; then | ||
26 | + ac_cv_have_libgflags=0 | ||
27 | +else | ||
28 | + AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1, ac_cv_have_libgflags=0) | ||
29 | +fi | ||
30 | if test x"$ac_cv_have_libgflags" = x"1"; then | ||
31 | AC_DEFINE(HAVE_LIB_GFLAGS, 1, [define if you have google gflags library]) | ||
32 | if test x"$GFLAGS_LIBS" = x""; then | ||
33 | -- | ||
34 | 2.8.1 | ||
35 | |||
diff --git a/meta-oe/recipes-support/glog/glog_0.3.3.bb b/meta-oe/recipes-support/glog/glog_0.3.3.bb deleted file mode 100644 index de3f0765de..0000000000 --- a/meta-oe/recipes-support/glog/glog_0.3.3.bb +++ /dev/null | |||
@@ -1,6 +0,0 @@ | |||
1 | require glog.inc | ||
2 | |||
3 | SRC_URI = "http://google-glog.googlecode.com/files/glog-${PV}.tar.gz" | ||
4 | |||
5 | SRC_URI[md5sum] = "a6fd2c22f8996846e34c763422717c18" | ||
6 | SRC_URI[sha256sum] = "fbf90c2285ba0561db7a40f8a4eefb9aa963e7d399bd450363e959929fe849d0" | ||
diff --git a/meta-oe/recipes-support/glog/glog_0.3.4.bb b/meta-oe/recipes-support/glog/glog_0.3.4.bb new file mode 100644 index 0000000000..d7c1974c68 --- /dev/null +++ b/meta-oe/recipes-support/glog/glog_0.3.4.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "The glog library implements application-level logging. This \ | ||
2 | library provides logging APIs based on C++-style streams and various helper \ | ||
3 | macros." | ||
4 | HOMEPAGE = "https://github.com/google/glog" | ||
5 | |||
6 | LICENSE = "BSD-3-Clause" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b" | ||
8 | |||
9 | DEPENDS = "libunwind" | ||
10 | |||
11 | SRC_URI = " \ | ||
12 | git://github.com/google/glog.git \ | ||
13 | file://0001-configure.ac-Allow-user-to-disable-gflags.patch \ | ||
14 | " | ||
15 | |||
16 | SRCREV = "d8cb47f77d1c31779f3ff890e1a5748483778d6a" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | PACKAGECONFIG ??= "" | ||
21 | PACKAGECONFIG[gflags] = ",--without-gflags,gflags," | ||
22 | |||
23 | inherit autotools pkgconfig | ||