[oe-commits] [meta-openembedded] 39/46: protobuf: split package to main and compiler packages

git at git.openembedded.org git at git.openembedded.org
Wed May 4 10:35:18 UTC 2016


martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.

commit b87e4a11f6cc17d107413e5b477d2b22964ea72f
Author: eu at felipetonello.com <eu at felipetonello.com>
AuthorDate: Tue May 3 16:20:24 2016 +0100

    protobuf: split package to main and compiler packages
    
    Protobuf has two main features, a compiler and a library. Run-time
    applications only need the libraries to run.
    
    Signed-off-by: Felipe F. Tonello <eu at felipetonello.com>
    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb b/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb
index 049f9d4..2977c59 100644
--- a/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb
+++ b/meta-oe/recipes-devtools/protobuf/protobuf_2.6.1.bb
@@ -6,7 +6,11 @@ HOMEPAGE = "https://github.com/google/protobuf"
 SECTION = "console/tools"
 LICENSE = "BSD-3-Clause"
 
+PACKAGE_BEFORE_PN = "${PN}-compiler"
+
 DEPENDS = "zlib"
+RDEPENDS_${PN}-compiler = "${PN}"
+RDEPENDS_${PN}-dev += "${PN}-compiler"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=af6809583bfde9a31595a58bb4a24514"
 
@@ -22,4 +26,6 @@ inherit autotools
 
 S = "${WORKDIR}/git"
 
+FILES_${PN}-compiler = "${bindir} ${libdir}/libprotoc${SOLIBS}"
+
 BBCLASSEXTEND = "native nativesdk"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list