aboutsummaryrefslogtreecommitdiffstats
path: root/testing/lxqt-config/APKBUILD
blob: b150f176c6986913bce70ddfe32cd2754be73e2e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Antoni Aloy <aaloytorrens@gmail.com>
pkgname=lxqt-config
pkgver=0.17.1
pkgrel=0
pkgdesc="Tools to configure LXQt and the underlying operating system"
url="https://github.com/lxqt/lxqt-config"
arch="all !armhf !mips64" # armhf blocked by libkscreen, liblxqt and kwindowsystem
license="LGPL-2.0-or-later"
makedepends="
	cmake libxcursor-dev lxqt-build-tools qt5-qtbase-dev
	qt5-qttools-dev qt5-qtx11extras-dev xf86-input-libinput-dev
	libxi-dev libudev-zero-dev libqtxdg-dev liblxqt-dev
	libkscreen-dev kwindowsystem-dev
	"
subpackages="$pkgname-doc"
options="!check" # No testsuite
source="https://github.com/lxqt/lxqt-config/releases/download/$pkgver/lxqt-config-$pkgver.tar.xz"

build() {
	if [ "$CBUILD" != "$CHOST" ]; then
		CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
	fi
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DBUILD_SHARED_LIBS=True \
		$CMAKE_CROSSOPTS .
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="
2173acd18ffa5aeee9d11bd73955d0475b53a335df7d95523a2297b5ef3f9a8e4e135a290e7a720a227a92c84532a64d9fbc7a811de242dd32f9e70d036d3ca6  lxqt-config-0.17.1.tar.xz
"