7 Commits

Author SHA1 Message Date
Jackie Huang 17da020e0d gflags: add runtime dependency on bash
* add runtime dependency on bash to fix QA issue:
| ERROR: gflags-2.2.0-r0 do_package_qa: QA Issue:
| /usr/bin/gflags_completions.sh contained in package
| gflags-bash-completion requires /bin/bash, but
|  no providers found in RDEPENDS_gflags-bash-completion? [file-rdeps]

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 8530df3ff6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Kai Kang cf75f4ec02 gflags: update SRC_URI with git fetcher
Because github archives can be regenerated from time to time, update
SRC_URI with git fetcher for gflags.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
(cherry picked from commit 65a4fce6d8)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-13 17:16:28 -07:00
Ismo Puustinen 9fefaa6a98 gflags: change download name.
Just having "v2.2.0.tar.gz" was causing problems with other similarly
misconfigured packages.

Signed-off-by: Ismo Puustinen <ismo.puustinen@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-07-17 11:17:47 -07:00
Kai Kang 2688cbadeb gflags: correct S and update library install directory
The current setting of S is not right for multilib. Remove the setting
and use the default value.

And library install directory is not right for multilib either. It fails
with [installed-vs-shipped] QA error:

| ERROR: gflags-2.2.0-r0 do_package: QA Issue: gflags: Files/directories
| were installed but not shipped in any package:
|   /usr/lib/libgflags.so
|   /usr/lib/libgflags_nothreads.so.2.2

Set cmake variable LIB_INSTALL_DIR with ${baselib} to fix the issue.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-18 14:21:40 +02:00
Ricardo Ribalda Delgado 90ab04139f gflags: Update to 2.2.0
Need to unset REGISTER_INSTALL_PREFIX to avoid:

WARNING: gflags-2.2.0-r0 do_package: QA Issue: gflags: Files/directories
were installed but not shipped in any package:
  /home
  /home/ricardo
  /home/ricardo/.cmake
  /home/ricardo/.cmake/packages
  /home/ricardo/.cmake/packages/gflags
  /home/ricardo/.cmake/packages/gflags/a7fca4708532331c2d656af0fdc8b8b9
Please set FILES such that these items are packaged. Alternatively if they
are unneeded, avoid installing them or delete them within do_install.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:12:55 +01:00
Ricardo Ribalda Delgado 1ba2436bdd gflags: Fix fetch URL
Fixes:
ARNING: gflags-2.1.2-r0 do_fetch: Failed to fetch URL
git://github.com/gflags/gflags.git;branch=master, attempting MIRRORS if
available
ERROR: gflags-2.1.2-r0 do_fetch: Fetcher failure: Unable to find
revision 1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c in branch master even
from upstream
ERROR: gflags-2.1.2-r0 do_fetch: Fetcher failure for URL:
'git://github.com/gflags/gflags.git;branch=master'. Unable to fetch URL
from any source

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-01-10 13:12:55 +01:00
Ricardo Ribalda Delgado 32e7012ebd gflags: New recipe
C++ library that implements commandline flags processing. It includes
built-in support for standard types such as string and the ability to
define flags in the source file in which they are used.

Used optionally by glog

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-15 12:32:01 +02:00