protobuf: update to 3.7.0.
This commit is contained in:
parent
e97d5688de
commit
b808e42476
|
@ -2886,9 +2886,9 @@ libm17n-flt.so.0 m17n-lib-1.7.0_1
|
||||||
libm17n-gui.so.0 m17n-lib-1.7.0_1
|
libm17n-gui.so.0 m17n-lib-1.7.0_1
|
||||||
libm17n-core.so.0 m17n-lib-1.7.0_1
|
libm17n-core.so.0 m17n-lib-1.7.0_1
|
||||||
libm17n.so.0 m17n-lib-1.7.0_1
|
libm17n.so.0 m17n-lib-1.7.0_1
|
||||||
libprotobuf-lite.so.17 protobuf-lite-3.6.1_1
|
libprotobuf-lite.so.18 libprotobuf-lite18-3.7.0_1
|
||||||
libprotoc.so.17 protobuf-3.6.1_1
|
libprotoc.so.18 libprotoc18-3.7.0_1
|
||||||
libprotobuf.so.17 protobuf-3.6.1_1
|
libprotobuf.so.18 libprotobuf18-3.7.0_1
|
||||||
libsombok.so.3 sombok-2.4.0_1
|
libsombok.so.3 sombok-2.4.0_1
|
||||||
libdeviceclient.so.0 pragha-1.3.3_1
|
libdeviceclient.so.0 pragha-1.3.3_1
|
||||||
libguile-srfi-srfi-1-v-3.so.3 guile1.8-1.8.8_1
|
libguile-srfi-srfi-1-v-3.so.3 guile1.8-1.8.8_1
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
protobuf
|
|
@ -0,0 +1 @@
|
||||||
|
protobuf
|
|
@ -0,0 +1 @@
|
||||||
|
protobuf
|
|
@ -0,0 +1 @@
|
||||||
|
protobuf
|
|
@ -1,19 +1,17 @@
|
||||||
# Template file for 'protobuf'
|
# Template file for 'protobuf'
|
||||||
pkgname=protobuf
|
pkgname=protobuf
|
||||||
version=3.6.1.3
|
version=3.7.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="automake libtool pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="zlib-devel"
|
makedepends="zlib-devel"
|
||||||
short_desc="Google's data interchange format"
|
short_desc="Protocol buffers compiler"
|
||||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://developers.google.com/protocol-buffers/"
|
homepage="https://developers.google.com/protocol-buffers/"
|
||||||
changelog="https://raw.githubusercontent.com/google/protobuf/master/CHANGES.txt"
|
changelog="https://raw.githubusercontent.com/google/protobuf/master/CHANGES.txt"
|
||||||
distfiles="https://github.com/google/protobuf/archive/v${version}.tar.gz"
|
distfiles="https://github.com/protocolbuffers/protobuf/releases/download/v${version}/protobuf-all-${version}.tar.gz"
|
||||||
checksum=73fdad358857e120fd0fa19e071a96e15c0f23bb25f85d3f7009abfd4f264a2a
|
checksum=3e933375ecc58d01e52705479b82f155aea2d02cc55d833f8773213e74f88363
|
||||||
|
|
||||||
CXXFLAGS="-std=c++14"
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
# needs host protoc
|
# needs host protoc
|
||||||
|
@ -28,29 +26,62 @@ case "$XBPS_TARGET_MACHINE" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
libprotobuf18_package() {
|
||||||
|
short_desc="Protocol buffers C++ library"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/libprotobuf.so.*"
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
libprotobuf-lite18_package() {
|
||||||
|
short_desc="Protocol buffers C++ library (lite version)"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/libprotobuf-lite.so.*"
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
libprotoc18_package() {
|
||||||
|
short_desc="Protocol buffers compiler library"
|
||||||
|
pkg_install() {
|
||||||
|
vmove "usr/lib/libprotoc*.so.*"
|
||||||
|
vlicense LICENSE
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
libprotoc-devel_package() {
|
||||||
|
depends="libprotoc18-${version}_${revision}"
|
||||||
|
short_desc="Protocol buffers compiler library - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/libprotoc.a
|
||||||
|
vmove usr/lib/libprotoc.so
|
||||||
|
vmove usr/include/google/protobuf/compiler
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protobuf-devel_package() {
|
protobuf-devel_package() {
|
||||||
depends="zlib-devel protobuf-${version}_${revision}
|
depends="zlib-devel
|
||||||
protobuf-lite-${version}_${revision}"
|
libprotobuf18-${version}_${revision}
|
||||||
short_desc+=" - development files"
|
libprotobuf-lite18-${version}_${revision}"
|
||||||
|
short_desc+="Protocol buffers C++ library - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
|
vmove usr/lib/libprotobuf.a
|
||||||
|
vmove usr/lib/libprotobuf-lite.a
|
||||||
|
vmove usr/lib/libprotobuf.so
|
||||||
|
vmove usr/lib/libprotobuf-lite.so
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
vmove "usr/lib/*.a"
|
|
||||||
vmove "usr/lib/*.so"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protobuf-lite_package() {
|
protobuf-lite_package() {
|
||||||
short_desc+=" - Lite version"
|
build_style=meta
|
||||||
pkg_install() {
|
short_desc="Protocol buffers C++ library (lite version)"
|
||||||
vmove "usr/lib/libprotobuf-lite.so.*"
|
depends="libprotobuf-lite18-${version}_${revision}"
|
||||||
}
|
archs=noarch
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue