PKGBUILDs/community/qpid-proton/PKGBUILD

52 lines
1.4 KiB
Bash
Raw Normal View History

2019-08-28 19:59:51 +00:00
# Maintainer: Nicola Squartini <tensor5@gmail.com>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - disable LTO
2020-09-24 14:20:13 +00:00
# - upstream patch to fix 32-bit FTBFS
2019-08-28 19:59:51 +00:00
2020-04-27 12:38:03 +00:00
pkgname=qpid-proton
2020-09-24 13:47:30 +00:00
pkgver=0.32.0
2020-12-02 19:35:58 +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')
2020-09-24 14:20:13 +00:00
source=("https://www.apache.org/dist/qpid/proton/${pkgver}/qpid-proton-${pkgver}.tar.gz"
'0001-PROTON-2268-Fix-the-fix-so-it-works-everywhere.patch')
sha512sums=('4d1265308b685d5cdd28fd8746f13704c6e36a8dc35a2c121e07b9db21cabaf440da8dd1cf76892fc366845e7f472af2c29ae94dedee19d53756bba2bd4470b6'
'3f7cb1da9609e2af1662c5df7c3c40fd2650d5ed1a9baf96aedbb6004bf4bf6dcb8d1003e9eebf4c1e850285f6d7e2994b226864fa2a1b17dd8268f1a493a80c')
prepare() {
cd ${pkgname}-${pkgver}
patch -p1 -i ../0001-PROTON-2268-Fix-the-fix-so-it-works-everywhere.patch
}
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
make test
}
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
}