protobuf: rename all packages with major version 18
This commit is contained in:
parent
6a702e9cc0
commit
8b475aa4b7
|
@ -2997,7 +2997,7 @@ 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.18 libprotobuf-lite18-3.7.0_1
|
||||
libprotobuf-lite.so.18 libprotobuf18-lite-3.7.1_3
|
||||
libprotoc.so.18 libprotoc18-3.7.0_1
|
||||
libprotobuf.so.18 libprotobuf18-3.7.0_1
|
||||
libsombok.so.3 sombok-2.4.0_1
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
protobuf
|
|
@ -1 +1 @@
|
|||
protobuf
|
||||
protobuf18
|
|
@ -0,0 +1 @@
|
|||
protobuf18
|
|
@ -1 +0,0 @@
|
|||
protobuf
|
|
@ -1 +1 @@
|
|||
protobuf
|
||||
protobuf18
|
|
@ -0,0 +1 @@
|
|||
protobuf18
|
|
@ -1 +0,0 @@
|
|||
protobuf
|
|
@ -1 +0,0 @@
|
|||
protobuf
|
|
@ -0,0 +1 @@
|
|||
protobuf18
|
|
@ -0,0 +1 @@
|
|||
protobuf18
|
|
@ -1,7 +1,8 @@
|
|||
# Template file for 'protobuf'
|
||||
pkgname=protobuf
|
||||
# Template file for 'protobuf18'
|
||||
pkgname=protobuf18
|
||||
version=3.7.1
|
||||
revision=2
|
||||
revision=3
|
||||
wrksrc="protobuf-${version}"
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config automake libtool"
|
||||
makedepends="zlib-devel"
|
||||
|
@ -13,6 +14,8 @@ changelog="https://raw.githubusercontent.com/google/protobuf/master/CHANGES.txt"
|
|||
distfiles="https://github.com/protocolbuffers/protobuf/archive/v${version}.tar.gz"
|
||||
checksum=f1748989842b46fa208b2a6e4e2785133cfcc3e4d43c17fecb023733f0f5443f
|
||||
|
||||
conflicts="protobuf>=3.11.2"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
# needs host protoc
|
||||
hostmakedepends+=" protobuf"
|
||||
|
@ -40,8 +43,9 @@ libprotobuf18_package() {
|
|||
}
|
||||
}
|
||||
|
||||
libprotobuf-lite18_package() {
|
||||
libprotobuf18-lite_package() {
|
||||
short_desc="Protocol buffers C++ library (lite version)"
|
||||
replaces="libprotobuf-lite18>=0"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/libprotobuf-lite.so.*"
|
||||
vlicense LICENSE
|
||||
|
@ -56,9 +60,10 @@ libprotoc18_package() {
|
|||
}
|
||||
}
|
||||
|
||||
libprotoc-devel_package() {
|
||||
libprotoc18-devel_package() {
|
||||
depends="libprotoc18-${version}_${revision}"
|
||||
short_desc="Protocol buffers compiler library - development files"
|
||||
conflicts="libprotoc-devel>=3.11.2"
|
||||
pkg_install() {
|
||||
vmove usr/lib/libprotoc.a
|
||||
vmove usr/lib/libprotoc.so
|
||||
|
@ -66,11 +71,12 @@ libprotoc-devel_package() {
|
|||
}
|
||||
}
|
||||
|
||||
protobuf-devel_package() {
|
||||
protobuf18-devel_package() {
|
||||
depends="zlib-devel
|
||||
libprotobuf18-${version}_${revision}
|
||||
libprotobuf-lite18-${version}_${revision}"
|
||||
libprotobuf18-lite-${version}_${revision}"
|
||||
short_desc="Protocol buffers C++ library - development files"
|
||||
conflicts="protobuf-devel>=3.11.2"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/libprotobuf.a
|
||||
|
@ -81,9 +87,9 @@ protobuf-devel_package() {
|
|||
}
|
||||
}
|
||||
|
||||
protobuf-lite_package() {
|
||||
protobuf18-lite_package() {
|
||||
build_style=meta
|
||||
short_desc="Protocol buffers C++ library (lite version)"
|
||||
depends="libprotobuf-lite18-${version}_${revision}"
|
||||
depends="libprotobuf18-lite-${version}_${revision}"
|
||||
archs=noarch
|
||||
}
|
Loading…
Reference in New Issue