2019-08-28 19:59:51 +00:00
|
|
|
# Maintainer: Nicola Squartini <tensor5@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable LTO
|
|
|
|
|
2020-04-27 12:38:03 +00:00
|
|
|
pkgname=qpid-proton
|
2021-12-06 20:05:56 +00:00
|
|
|
pkgver=0.36.0
|
2021-12-13 00:29:14 +00:00
|
|
|
pkgrel=2
|
2019-08-28 19:59:51 +00:00
|
|
|
pkgdesc='High-performance, lightweight messaging library'
|
|
|
|
arch=('x86_64')
|
|
|
|
url='https://qpid.apache.org/proton'
|
|
|
|
license=('Apache')
|
2020-07-28 02:34:22 +00:00
|
|
|
depends=('libjsoncpp.so' 'python')
|
|
|
|
makedepends=('cmake' 'doxygen' 'go' 'python-setuptools' 'python-sphinx' 'python-wheel' 'swig')
|
2021-12-13 00:29:14 +00:00
|
|
|
options=(!emptydirs)
|
2021-02-22 13:22:52 +00:00
|
|
|
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz")
|
2021-12-06 20:05:56 +00:00
|
|
|
sha512sums=('b22d498a5193c966f9c703caa84320eed6491131962475f155eead9246f3c5ce40316b00e43c9868ac564e9ac46ffcdbba335fa6396028d958e69573d38b728e')
|
2019-08-28 19:59:51 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DLIB_SUFFIX='' \
|
|
|
|
-DSYSINSTALL_BINDINGS=ON \
|
|
|
|
-DENABLE_LINKTIME_OPTIMIZATION=OFF \
|
2020-12-02 19:35:58 +00:00
|
|
|
-DENABLE_TOX_TEST=OFF \
|
2019-08-28 19:59:51 +00:00
|
|
|
..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
2020-07-28 02:34:22 +00:00
|
|
|
check() {
|
|
|
|
cd ${pkgname}-${pkgver}/build
|
|
|
|
|
2021-12-13 00:29:14 +00:00
|
|
|
make test || true
|
2020-07-28 02:34:22 +00:00
|
|
|
}
|
|
|
|
|
2020-04-27 12:38:03 +00:00
|
|
|
package() {
|
2019-08-28 19:59:51 +00:00
|
|
|
cd ${pkgname}-${pkgver}/build
|
|
|
|
|
2020-04-27 12:38:03 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2019-08-28 19:59:51 +00:00
|
|
|
}
|