mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer:
|
|
pkgname=compton-conf
|
|
pkgver=0.16.0
|
|
pkgrel=1
|
|
pkgdesc="GUI configuration tool for compton X composite manager"
|
|
url="https://github.com/lxqt/compton-conf"
|
|
options="!check" # No testsuite
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="cmake libconfig-dev qt5-qtbase-dev qt5-qttools-dev lxqt-build-tools"
|
|
source="compton-conf-$pkgver.tar.gz::https://github.com/lxqt/compton-conf/archive/$pkgver.tar.gz"
|
|
|
|
build() {
|
|
if [ "$CBUILD" != "$CHOST" ]; then
|
|
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
|
fi
|
|
cmake -B build \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=True \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
|
-DCMAKE_C_FLAGS="$CFLAGS" \
|
|
$CMAKE_CROSSOPTS .
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --build build --target install
|
|
}
|
|
|
|
sha512sums="
|
|
7aa39d2091ce6d6cb79077eb79593c7b7fae882f617dc9eccc7e1f904a20dc281db3be82cc063bc38c7c021f158aec0a085ac9b48abfdc418f8471513e10361e compton-conf-0.16.0.tar.gz
|
|
"
|