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:
22
recipes-support/libphonenumber.inc
Normal file
22
recipes-support/libphonenumber.inc
Normal 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"
|
||||
2
recipes-support/libphonenumber_8.9.16.bb
Normal file
2
recipes-support/libphonenumber_8.9.16.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
require ${PN}.inc
|
||||
SRCREV = "v${PV}"
|
||||
Reference in New Issue
Block a user