1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
3 # Contributor: Tobias Powalowski <tpowa@archlinux.org>
8 pkgdesc='A distributed control protocol designed to operate astronomical instrumentation'
9 url='https://www.indilib.org/index.php?title=Main_Page'
12 depends=(libnova cfitsio libjpeg gsl libtheora fftw libev rtl-sdr)
13 makedepends=(cmake qt5-base)
14 source=(https://github.com/indilib/indi/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
15 sha256sums=('fa426803c72506b352e95d5406fe1ffcec4ffc86a94d14748eedf90fb10d1788')
18 cmake -B build -S indi-$pkgver \
19 -DCMAKE_INSTALL_PREFIX=/usr \
20 -DINDI_BUILD_QT5_CLIENT=ON \
21 -DUDEVRULES_INSTALL_DIR=/usr/lib/udev/rules.d \
22 -DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
23 -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects -Wp,-U_GLIBCXX_ASSERTIONS"
28 DESTDIR="$pkgdir" cmake --install build