* update thrift to 0.21.0-1
This commit is contained in:
parent
9eeb40d245
commit
e7c54a5d17
20
thrift/.SRCINFO
Normal file
20
thrift/.SRCINFO
Normal file
@ -0,0 +1,20 @@
|
||||
pkgbase = thrift
|
||||
pkgdesc = Scalable cross-language services framework for IPC/RPC
|
||||
pkgver = 0.21.0
|
||||
pkgrel = 1
|
||||
url = https://thrift.apache.org
|
||||
arch = x86_64
|
||||
license = APACHE
|
||||
makedepends = qt5-base
|
||||
makedepends = boost
|
||||
makedepends = libevent
|
||||
makedepends = emacs-nox
|
||||
depends = gcc-libs
|
||||
depends = openssl
|
||||
optdepends = qt5-base: TQTcpServer (Qt5) support
|
||||
source = https://dlcdn.apache.org/thrift/0.21.0/thrift-0.21.0.tar.gz
|
||||
source = fix_missing_target.patch::https://github.com/apache/thrift/commit/0f027530d7d46ae25f3ed6d6ee453ca18ca43eb6.patch
|
||||
sha256sums = 9a24f3eba9a4ca493602226c16d8c228037db3b9291c6fc4019bfe3bd39fc67c
|
||||
sha256sums = 4edc5a71ab041bd958cffc95f04f2ff2eb107258d29f471b171af95c3516496a
|
||||
|
||||
pkgname = thrift
|
@ -8,8 +8,8 @@
|
||||
# the binding from the language specific managers python2-thrift, perl-thrift, ruby-thrift, ...
|
||||
|
||||
pkgname=thrift
|
||||
pkgver=0.20.0
|
||||
pkgrel=2.1
|
||||
pkgver=0.21.0
|
||||
pkgrel=1
|
||||
pkgdesc='Scalable cross-language services framework for IPC/RPC'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://thrift.apache.org'
|
||||
@ -19,20 +19,27 @@ makedepends=(qt5-base boost libevent emacs-nox)
|
||||
optdepends=(
|
||||
'qt5-base: TQTcpServer (Qt5) support'
|
||||
)
|
||||
source=(https://dlcdn.apache.org/thrift/$pkgver/thrift-$pkgver.tar.gz)
|
||||
sha256sums=('b5d8311a779470e1502c027f428a1db542f5c051c8e1280ccd2163fa935ff2d6')
|
||||
source=(https://dlcdn.apache.org/thrift/$pkgver/thrift-$pkgver.tar.gz
|
||||
fix_missing_target.patch::https://github.com/apache/thrift/commit/0f027530d7d46ae25f3ed6d6ee453ca18ca43eb6.patch)
|
||||
sha256sums=('9a24f3eba9a4ca493602226c16d8c228037db3b9291c6fc4019bfe3bd39fc67c'
|
||||
'4edc5a71ab041bd958cffc95f04f2ff2eb107258d29f471b171af95c3516496a')
|
||||
|
||||
prepare() {
|
||||
cd thrift-$pkgver
|
||||
|
||||
patch -p1 < ../fix_missing_target.patch
|
||||
}
|
||||
|
||||
build() {
|
||||
cd thrift-$pkgver
|
||||
|
||||
case "${CARCH}" in
|
||||
powerpc|riscv64) export CXXFLAGS+=' -latomic'
|
||||
esac
|
||||
|
||||
|
||||
./bootstrap.sh
|
||||
./configure --prefix=/usr \
|
||||
--enable-plugin \
|
||||
--disable-tests \
|
||||
--with-cpp \
|
||||
--with-c_glib \
|
||||
--with-qt5 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user