diff options
Diffstat (limited to 'community/qqc2-desktop-style/APKBUILD')
-rw-r--r-- | community/qqc2-desktop-style/APKBUILD | 47 |
1 files changed, 34 insertions, 13 deletions
diff --git a/community/qqc2-desktop-style/APKBUILD b/community/qqc2-desktop-style/APKBUILD index 1de09eccc3d..f0227b7f9ad 100644 --- a/community/qqc2-desktop-style/APKBUILD +++ b/community/qqc2-desktop-style/APKBUILD @@ -1,32 +1,53 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> -# Maintainer: Bart Ribbers <bribbers@disroot.org> +# Maintainer: team/kde <bribbers@disroot.org> + +# The group tag is just to easily find this APKBUILD by some scripts for automation +# group=kde-frameworks pkgname=qqc2-desktop-style -pkgver=5.75.0 +pkgver=6.1.0 pkgrel=0 pkgdesc="A style for Qt Quick Controls 2 to make it follow your desktop theme" -arch="all !armhf !mips64 !s390x" # armhf blocked by qt5-qtdeclarative and mips64, s390x blocked by polkit +# armhf blocked by qt6-qtdeclarative +arch="all !armhf" url="https://community.kde.org/Frameworks" license="LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only)" -depends="qt5-qtgraphicaleffects qt5-qtquickcontrols2" -depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtx11extras-dev kirigami2-dev kiconthemes-dev kconfigwidgets-dev" -makedepends="$depends_dev extra-cmake-modules" -source="https://download.kde.org/stable/frameworks/${pkgver%.*}/qqc2-desktop-style-$pkgver.tar.xz" +depends=" + kirigami + sonnet + " +depends_dev=" + kconfigwidgets-dev + kiconthemes-dev + kirigami-dev + qt6-qtbase-dev + qt6-qtdeclarative-dev + " +makedepends="$depends_dev + extra-cmake-modules + samurai + " +checkdepends="xvfb-run" subpackages="$pkgname-dev" +_repo_url="https://invent.kde.org/frameworks/qqc2-desktop-style.git" +source="https://download.kde.org/stable/frameworks/${pkgver%.*}/qqc2-desktop-style-$pkgver.tar.xz" build() { - cmake -B build \ - -DCMAKE_BUILD_TYPE=None \ + cmake -B build -G Ninja \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib cmake --build build } check() { - cd build - CTEST_OUTPUT_ON_FAILURE=TRUE ctest + # TextFieldContextMenuTest requires working OpenGL + xvfb-run ctest --test-dir build --output-on-failure -E "animationspeedmodifiertest|TextFieldContextMenuTest" } package() { - DESTDIR="$pkgdir" cmake --build build --target install + DESTDIR="$pkgdir" cmake --install build } -sha512sums="bcf9c41bf286ee5a8a533dd9ce392848c91f9ec797ac7c8851a1eb462739b9b114583cdce8485e8f5b91787d17327145d112f9ea429e383b798b98433c7651a6 qqc2-desktop-style-5.75.0.tar.xz" + +sha512sums=" +befb9c9ee024fcf73a04be9495800172d2049f9a0c14d21fe8e5c7d889a1411702de2297e1a27ca11154f7471b541ab1b02b182d38622a81eabd6b3a8aca1530 qqc2-desktop-style-6.1.0.tar.xz +" |