Initial recipe for libphonenumber

This does not include the geo coder part yet, as that seems to need build
system fixes to support cross-compilation. Unfortunately this also adds
a build-time dependency to meta-java.
This commit is contained in:
Volker Krause
2018-10-28 11:52:25 +01:00
parent 54809338fa
commit e75aa2d341
2 changed files with 24 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
DESCRIPTION = "libphonenumber"
HOMEPAGE = "https://github.com/googlei18n/libphonenumber"
LICENSE = "Apache-2"
LIC_FILES_CHKSUM = "file://LICENSE;md5=5c213a7de3f013310bd272cdb6eb7a24"
PR = "r0"
DEPENDS = " \
gtest \
protobuf \
protobuf-native \
icu \
virtual/java-native \
"
SRC_URI = " \
git://github.com/googlei18n/${BPN}.git;nobranch=1 \
"
S = "${WORKDIR}/git/cpp"
inherit cmake
EXTRA_OECMAKE += "-DUSE_BOOST=OFF -DBUILD_GEOCODER=OFF"
OECMAKE_GENERATOR = "Unix Makefiles"

View File

@@ -0,0 +1,2 @@
require ${PN}.inc
SRCREV = "v${PV}"