30 lines
790 B
Bash
30 lines
790 B
Bash
name='qt6-qtgraphs'
|
|
version='6.6.2'
|
|
release='1'
|
|
desc='Qt Graphs for data visualization'
|
|
homepage='https://www.qt.io'
|
|
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
|
architectures=('amd64')
|
|
licenses='GPL3 LGPL3 FDL custom'
|
|
provides=('qt6-qtgraphs')
|
|
conflicts=('qt6-qtgraphs')
|
|
|
|
deps=('gcc-libs' 'glibc' 'qt6-base' 'qt6-declarative' 'qt6-quick3d')
|
|
build_deps=('cmake' 'git' 'ninja-build' 'qt6-qtshadertools')
|
|
|
|
source=("git+https://github.com/qt/qtgraphs.git#tag=v${version}")
|
|
sha256sums=('SKIP')
|
|
|
|
build() {
|
|
cmake -B build -S qtgraphs -G Ninja \
|
|
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
|
|
install -d "$pkgdir"/usr/share/licenses
|
|
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$name
|
|
}
|