blob: 51c2f84b1445922882e33d56f902b00a89307946 (
plain) (
tree)
|
|
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=lxqt-panel
pkgver=1.2.0
_lxqt=0.12.0
pkgrel=0
pkgdesc="Panel for LXQt desktop"
url="https://lxqt.github.io/"
arch="all"
options="!check" # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="cmake extra-cmake-modules lxqt-build-tools>=$_lxqt
kguiaddons-dev libdbusmenu-qt-dev kwindowsystem-dev solid-dev
menu-cache-dev lxmenu-data liblxqt-dev>=${pkgver%.*}.0 alsa-lib-dev
pulseaudio-dev lxqt-globalkeys-dev>=${pkgver%.*}.0 lm_sensors-dev
libstatgrab-dev libsysstat-dev qt5-qttools-dev libxkbcommon-dev
xcb-util-image-dev libxcomposite-dev libxtst-dev"
subpackages="$pkgname-doc"
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 \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=RelWithDebugInfo \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS} -Bbuild
make -C build
}
check() {
CTEST_OUTPUT_ON_FAILURE=TRUE make -C build test
}
package() {
make DESTDIR="$pkgdir" -C build install
}
sha512sums="7042cf585c153524aaa43b074f3a9f5c2848e2baf200134ca8194f4ffceda438e55d2cff6cc1c37274b35491234800d728cd89cec89cb42dc914a5bba924f3b6 lxqt-panel-1.2.0.tar.xz"
|