protobuf24: rename to protobuf25, update to 3.14.0

The unversioned meta-packages now point to protobuf25 and its
subpackages, which now provide sonames with version 25.
This commit is contained in:
Andrew J. Hesford 2020-11-14 22:25:40 -05:00
parent 8ad6f0218b
commit 6cc9511b07
16 changed files with 32 additions and 32 deletions

View File

@ -3124,9 +3124,9 @@ libm17n-flt.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.so.0 m17n-lib-1.7.0_1
libprotobuf-lite.so.24 libprotobuf24-lite-3.13.0_1
libprotoc.so.24 libprotoc24-3.13.0_1
libprotobuf.so.24 libprotobuf24-3.13.0_1
libprotobuf-lite.so.25 libprotobuf25-lite-3.14.0_1
libprotoc.so.25 libprotoc25-3.14.0_1
libprotobuf.so.25 libprotobuf25-3.14.0_1
libsombok.so.3 sombok-2.4.0_1
libdeviceclient.so.0 pragha-1.3.3_1
libguile-srfi-srfi-1-v-3.so.3 guile1.8-1.8.8_1

View File

@ -1 +0,0 @@
protobuf24

View File

@ -1 +0,0 @@
protobuf24

1
srcpkgs/libprotobuf25 Symbolic link
View File

@ -0,0 +1 @@
protobuf25

1
srcpkgs/libprotobuf25-lite Symbolic link
View File

@ -0,0 +1 @@
protobuf25

View File

@ -1 +1 @@
protobuf
protobuf25

View File

@ -1 +0,0 @@
protobuf24

View File

@ -1 +0,0 @@
protobuf24

1
srcpkgs/libprotoc25 Symbolic link
View File

@ -0,0 +1 @@
protobuf25

1
srcpkgs/libprotoc25-devel Symbolic link
View File

@ -0,0 +1 @@
protobuf25

View File

@ -1 +1 @@
protobuf24/
protobuf25

View File

@ -1 +1 @@
protobuf24/
protobuf25

View File

@ -1 +1 @@
protobuf24/
protobuf25

View File

@ -1 +0,0 @@
protobuf24

1
srcpkgs/protobuf25-devel Symbolic link
View File

@ -0,0 +1 @@
protobuf25

View File

@ -1,6 +1,6 @@
# Template file for 'protobuf24'
pkgname=protobuf24
version=3.13.0.1
# Template file for 'protobuf25'
pkgname=protobuf25
version=3.14.0
revision=1
wrksrc="protobuf-${version}"
build_style=gnu-configure
@ -12,10 +12,10 @@ license="BSD-3-Clause"
homepage="https://developers.google.com/protocol-buffers/"
changelog="https://raw.githubusercontent.com/google/protobuf/master/CHANGES.txt"
distfiles="https://github.com/protocolbuffers/protobuf/archive/v${version}.tar.gz"
checksum=7d663c8dc81d282dc92e884b38e9c179671e31ccacce311154420e65f7d142c6
checksum=d0f5f605d0d656007ce6c8b5a82df3037e1d8fe8b121ed42e536f569dec16113
# Switch to versioned package
conflicts="protobuf18>=0 protobuf23>=0"
conflicts="protobuf18>=0 protobuf23>=0 protobuf24>=0"
replaces="protobuf<=3.11.4_1 ${conflicts}"
if [ "$CROSS_BUILD" ]; then
@ -42,7 +42,7 @@ post_install() {
vlicense LICENSE
}
libprotobuf24_package() {
libprotobuf25_package() {
short_desc="Protocol buffers C++ library"
pkg_install() {
vmove "usr/lib/libprotobuf.so.*"
@ -50,7 +50,7 @@ libprotobuf24_package() {
}
}
libprotobuf24-lite_package() {
libprotobuf25-lite_package() {
short_desc="Protocol buffers C++ library (lite version)"
pkg_install() {
vmove "usr/lib/libprotobuf-lite.so.*"
@ -58,19 +58,19 @@ libprotobuf24-lite_package() {
}
}
libprotoc24_package() {
libprotoc25_package() {
short_desc="Protocol buffers compiler library"
pkg_install() {
vmove "usr/lib/libprotoc*.so.*"
vmove "usr/lib/libprotoc.so.*"
vlicense LICENSE
}
}
libprotoc24-devel_package() {
depends="libprotoc24-${version}_${revision}"
libprotoc25-devel_package() {
depends="libprotoc25-${version}_${revision}"
short_desc="Protocol buffers compiler library - development files"
# Switch to versioned package
conflicts="libprotoc18-devel>=0 libprotoc23-devel>=0"
conflicts="libprotoc18-devel>=0 libprotoc23-devel>=0 libprotoc24-devel>=0"
replaces="libprotoc-devel<=3.11.4_1 ${conflicts}"
pkg_install() {
vmove usr/lib/libprotoc.a
@ -79,13 +79,13 @@ libprotoc24-devel_package() {
}
}
protobuf24-devel_package() {
protobuf25-devel_package() {
depends="zlib-devel
libprotobuf24-${version}_${revision}
libprotobuf24-lite-${version}_${revision}"
libprotobuf25-${version}_${revision}
libprotobuf25-lite-${version}_${revision}"
short_desc="Protocol buffers C++ library - development files"
# Switch to versioned package
conflicts="protobuf18-devel>=0 protobuf23-devel>=0"
conflicts="protobuf18-devel>=0 protobuf23-devel>=0 protobuf24-devel>=0"
replaces="protobuf-devel<=3.11.4_1 ${conflicts}"
pkg_install() {
vmove usr/include
@ -100,23 +100,23 @@ protobuf24-devel_package() {
protobuf_package() {
build_style=meta
short_desc="Protocol buffers compiler (meta package)"
depends="protobuf24"
depends="protobuf25"
}
protobuf-devel_package() {
build_style=meta
short_desc="Protocol buffers C++ library - development files (meta package)"
depends="protobuf24-devel"
depends="protobuf25-devel"
}
protobuf-lite_package() {
build_style=meta
short_desc="Protocol buffers C++ library - lite version (meta package)"
depends="libprotobuf24-lite"
depends="libprotobuf25-lite"
}
libprotoc-devel_package() {
build_style=meta
short_desc="Protocol buffers compiler library - development files (meta package)"
depends="libprotoc24-devel"
depends="libprotoc25-devel"
}