diff options
-rw-r--r-- | meta-oe/recipes-connectivity/thrift/thrift/0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch | 8 | ||||
-rw-r--r-- | meta-oe/recipes-connectivity/thrift/thrift_0.14.2.bb (renamed from meta-oe/recipes-connectivity/thrift/thrift_0.13.0.bb) | 22 |
2 files changed, 16 insertions, 14 deletions
diff --git a/meta-oe/recipes-connectivity/thrift/thrift/0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch b/meta-oe/recipes-connectivity/thrift/thrift/0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch index 485d7a4b0b..e1e474ab0a 100644 --- a/meta-oe/recipes-connectivity/thrift/thrift/0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch +++ b/meta-oe/recipes-connectivity/thrift/thrift/0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch | |||
@@ -12,9 +12,9 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
12 | 12 | ||
13 | --- a/build/cmake/DefineInstallationPaths.cmake | 13 | --- a/build/cmake/DefineInstallationPaths.cmake |
14 | +++ b/build/cmake/DefineInstallationPaths.cmake | 14 | +++ b/build/cmake/DefineInstallationPaths.cmake |
15 | @@ -22,11 +22,11 @@ | 15 | @@ -26,11 +26,11 @@ |
16 | set(BIN_INSTALL_DIR "bin" CACHE PATH "The binary install dir (default: bin)") | 16 | set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The library install dir (default: lib${LIB_SUFFIX})") |
17 | set(LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "The library install dir (default: lib${LIB_SUFFIX})") | 17 | endif() |
18 | set(INCLUDE_INSTALL_DIR "include" CACHE PATH "The library install dir (default: include)") | 18 | set(INCLUDE_INSTALL_DIR "include" CACHE PATH "The library install dir (default: include)") |
19 | -set(CMAKE_INSTALL_DIR "lib/cmake" CACHE PATH "The subdirectory to install cmake config files (default: cmake)") | 19 | -set(CMAKE_INSTALL_DIR "lib/cmake" CACHE PATH "The subdirectory to install cmake config files (default: cmake)") |
20 | -set(PKGCONFIG_INSTALL_DIR "lib/pkgconfig" CACHE PATH "The subdirectory to install pkgconfig config files (default: lib/pkgconfig)") | 20 | -set(PKGCONFIG_INSTALL_DIR "lib/pkgconfig" CACHE PATH "The subdirectory to install pkgconfig config files (default: lib/pkgconfig)") |
@@ -29,7 +29,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
29 | set(cmakedir "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DIR}") | 29 | set(cmakedir "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DIR}") |
30 | --- a/build/cmake/DefineCMakeDefaults.cmake | 30 | --- a/build/cmake/DefineCMakeDefaults.cmake |
31 | +++ b/build/cmake/DefineCMakeDefaults.cmake | 31 | +++ b/build/cmake/DefineCMakeDefaults.cmake |
32 | @@ -44,8 +44,8 @@ include(BuildType) | 32 | @@ -44,8 +44,8 @@ |
33 | # top of the build tree rather than in hard-to-find leaf | 33 | # top of the build tree rather than in hard-to-find leaf |
34 | # directories. This simplifies manual testing and the use of the build | 34 | # directories. This simplifies manual testing and the use of the build |
35 | # tree rather than installed thrift libraries. | 35 | # tree rather than installed thrift libraries. |
diff --git a/meta-oe/recipes-connectivity/thrift/thrift_0.13.0.bb b/meta-oe/recipes-connectivity/thrift/thrift_0.14.2.bb index 5a09697102..014613e5d6 100644 --- a/meta-oe/recipes-connectivity/thrift/thrift_0.13.0.bb +++ b/meta-oe/recipes-connectivity/thrift/thrift_0.14.2.bb | |||
@@ -3,16 +3,16 @@ DESCRIPTION = "A software framework, for scalable cross-language services devel | |||
3 | HOMEPAGE = "https://thrift.apache.org/" | 3 | HOMEPAGE = "https://thrift.apache.org/" |
4 | 4 | ||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=394465e125cffc0f133695ed43f14047 \ | 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c40a383cb3f747e0c7abbf1482f194f0 \ |
7 | file://NOTICE;md5=2659b43daca219f99a2f2626ea128f73" | 7 | file://NOTICE;md5=2659b43daca219f99a2f2626ea128f73" |
8 | 8 | ||
9 | DEPENDS = "thrift-native boost flex-native bison-native openssl" | 9 | DEPENDS = "thrift-native boost flex-native bison-native openssl zlib" |
10 | 10 | ||
11 | SRC_URI = "https://www-eu.apache.org/dist/thrift//${PV}/${BPN}-${PV}.tar.gz \ | 11 | SRC_URI = "https://www-eu.apache.org/dist/thrift//${PV}/${BPN}-${PV}.tar.gz \ |
12 | file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch \ | 12 | file://0001-DefineInstallationPaths.cmake-Define-libdir-in-terms.patch \ |
13 | " | 13 | " |
14 | SRC_URI[md5sum] = "38a27d391a2b03214b444cb13d5664f1" | 14 | SRC_URI[md5sum] = "284a48df355aa3910687ee9b894d3ae8" |
15 | SRC_URI[sha256sum] = "7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179" | 15 | SRC_URI[sha256sum] = "4191bfc0b7490e20cc69f9f4dc6e991fbb612d4551aa9eef1dbf7f4c47ce554d" |
16 | 16 | ||
17 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |
18 | 18 | ||
@@ -25,22 +25,24 @@ export HOST_SYS | |||
25 | 25 | ||
26 | EXTRA_OECMAKE = " \ | 26 | EXTRA_OECMAKE = " \ |
27 | -DBUILD_LIBRARIES=ON \ | 27 | -DBUILD_LIBRARIES=ON \ |
28 | -DBUILD_SHARED_LIBS=ON \ | ||
28 | -DBUILD_COMPILER=ON \ | 29 | -DBUILD_COMPILER=ON \ |
29 | -DBUILD_TESTING=OFF \ | 30 | -DBUILD_TESTING=OFF \ |
30 | -DBUILD_EXAMPLES=OFF \ | ||
31 | -DBUILD_TUTORIALS=OFF \ | 31 | -DBUILD_TUTORIALS=OFF \ |
32 | -DWITH_AS3=OFF \ | ||
32 | -DWITH_CPP=ON \ | 33 | -DWITH_CPP=ON \ |
33 | -DWITH_JAVA=OFF \ | 34 | -DWITH_JAVA=OFF \ |
34 | -DWITH_PYTHON=OFF \ | ||
35 | -DWITH_STATIC_LIB=ON \ | ||
36 | -DWITH_SHARED_LIB=ON \ | ||
37 | -DWITH_OPENSSL=ON \ | 35 | -DWITH_OPENSSL=ON \ |
38 | -DWITH_QT5=OFF \ | 36 | -DWITH_QT5=OFF \ |
37 | -DWITH_ZLIB=ON \ | ||
39 | " | 38 | " |
40 | 39 | ||
41 | PACKAGECONFIG ??= "libevent glib" | 40 | PACKAGECONFIG ??= "glib libevent" |
42 | PACKAGECONFIG[libevent] = "-DWITH_LIBEVENT=ON,-DWITH_LIBEVENT=OFF,libevent" | ||
43 | PACKAGECONFIG[glib] = "-DWITH_C_GLIB=ON,-DWITH_C_GLIB=OFF,glib-2.0" | 41 | PACKAGECONFIG[glib] = "-DWITH_C_GLIB=ON,-DWITH_C_GLIB=OFF,glib-2.0" |
42 | PACKAGECONFIG[libevent] = "-DWITH_LIBEVENT=ON,-DWITH_LIBEVENT=OFF,libevent" | ||
43 | PACKAGECONFIG[javascript] = "-DWITH_JAVASCRIPT=ON,-DWITH_JAVASCRIPT=OFF,nodejs" | ||
44 | PACKAGECONFIG[nodejs] = "-DWITH_NODEJS=ON,-DWITH_NODEJS=OFF,nodejs" | ||
45 | PACKAGECONFIG[python] = "-DWITH_PYTHON=ON,-DWITH_PYTHON=OFF,python" | ||
44 | 46 | ||
45 | do_install:append () { | 47 | do_install:append () { |
46 | ln -sf thrift ${D}/${bindir}/thrift-compiler | 48 | ln -sf thrift ${D}/${bindir}/thrift-compiler |