mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 12:26:24 +02:00
50 lines
1.2 KiB
Text
50 lines
1.2 KiB
Text
# The group tag is just to easily find this APKBUILD by some scripts for automation
|
|
# group=kde-plasma
|
|
maintainer="team/kde <bribbers@disroot.org>"
|
|
pkgname=kgamma
|
|
pkgver=6.3.5
|
|
pkgrel=0
|
|
pkgdesc="Adjust your monitor's gamma settings"
|
|
# armhf blocked by qt6-qtdeclarative -> ki18n
|
|
arch="all !armhf"
|
|
url="https://kde.org/plasma-desktop/"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
extra-cmake-modules
|
|
kcmutils-dev
|
|
kconfig-dev
|
|
kconfigwidgets-dev
|
|
kdoctools-dev
|
|
ki18n-dev
|
|
qt6-qtbase-dev
|
|
samurai
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-lang"
|
|
install="$pkgname.post-install $pkgname.post-upgrade"
|
|
|
|
case "$pkgver" in
|
|
*.*.9*) _rel=unstable;;
|
|
*) _rel=stable;;
|
|
esac
|
|
|
|
_repo_url="https://invent.kde.org/plasma/kgamma.git"
|
|
source="https://download.kde.org/$_rel/plasma/$pkgver/kgamma-$pkgver.tar.xz"
|
|
options="!check" # No tests
|
|
|
|
provides="kgamma5"
|
|
|
|
build() {
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
c0202e120805b766497b0d3f97522b2a23056d58fc76b8e887cabe89d7a22a829305216aff00d41c83603407512b9f7c2645789f0cbe59a4e7dfa1c672e99cde kgamma-6.3.5.tar.xz
|
|
"
|