# Maintainer: Antoni Aloy pkgname=lxqt-panel pkgver=1.3.0 pkgrel=0 pkgdesc="The LXQt desktop panel" url="https://github.com/lxqt/lxqt-panel" arch="all !armhf" # armhf blocked by qt license="LGPL-2.0-or-later" subpackages="$pkgname-doc $pkgname-dev $pkgname-lang" makedepends=" cmake kguiaddons-dev kwindowsystem-dev libdbusmenu-qt-dev liblxqt-dev libsoundio-dev libstatgrab-dev libsysstat-dev libxrender-dev libxtst-dev lm-sensors-dev lxqt-build-tools lxqt-globalkeys-dev menu-cache-dev pulseaudio-dev qt5-qttools-dev samurai solid-dev xcb-util-dev xcb-util-image-dev " options="!check" # No testsuite source="https://github.com/lxqt/lxqt-panel/releases/download/$pkgver/lxqt-panel-$pkgver.tar.xz" build() { if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=True \ $CMAKE_CROSSOPTS . cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build } lang() { install_if="lang $pkgname=$pkgver-r$pkgrel" amove usr/share/lxqt/translations/$pkgname } sha512sums=" 1bf66db90e4fbd1ec38688b3a27c9dc5ab2e0a71ace74555580c379e9e12211ded61d01fa46484e8a600bb9b30cb3203ec38697ade0a9cb81cb2cd8043af8b97 lxqt-panel-1.3.0.tar.xz "