Verified Commit 1639461d authored by PureTryOut's avatar PureTryOut

temp/kdeclarative: remove, newer release in Alpine

parent 942861a3
Pipeline #127434037 passed with stages
in 1 minute and 13 seconds
# Forked to apply Plasma Mobile specific fixes that are not in a release yet
pkgname=kdeclarative
pkgver=5.67.80
_pkgver=5.67.0
pkgrel=0
pkgdesc="Provides integration of QML and KDE Frameworks"
arch="all !armhf" # armhf blocked by qt5-qtdeclarative
url="https://community.kde.org/Frameworks"
license="LGPL-2.1-or-later"
depends_dev="qt5-qtdeclarative-dev kconfig-dev ki18n-dev kiconthemes-dev kio-dev kwidgetsaddons-dev kwindowsystem-dev kglobalaccel-dev kguiaddons-dev kpackage-dev libepoxy-dev"
makedepends="$depends_dev extra-cmake-modules doxygen qt5-qttools-dev"
checkdepends="xvfb-run"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kdeclarative-$_pkgver.tar.xz
respect-header-visibility.patch"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
builddir="$srcdir/$pkgname-$_pkgver"
prepare() {
default_prepare
mkdir "$builddir"/build
}
build() {
cd "$builddir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_QCH=ON
make
}
check() {
cd "$builddir"/build
# quickviewsharedengine requires OpenGL
CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest -E "quickviewsharedengine"
}
package() {
cd "$builddir"/build
DESTDIR="$pkgdir" make install
}
sha512sums="0a4eb4c2975c586286fe758c96dc34a3d5aa290c29578b957237602d4ff43a4f4f9423a2e883302e39e4e25029d5ecb18d5d49b8cdebe498b56d13a58c2ae55f kdeclarative-5.67.0.tar.xz
181c6389c7281a850e9db2060d289ebd78ebacdb547d14e82fb37904e92c8bc7e4b3c4e108e252f162ee42cb9010a3476591053f9a80beef10ce83c6cc31c71a respect-header-visibility.patch"
From 1270e357a96f1e78281c0335b1bd05e5c9c3e3c6 Mon Sep 17 00:00:00 2001
From: Marco Martin <[email protected]>
Date: Mon, 3 Feb 2020 19:32:09 +0100
Subject: respect header's visibility
---
src/qmlcontrols/kcmcontrols/qml/SimpleKCM.qml | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/qmlcontrols/kcmcontrols/qml/SimpleKCM.qml b/src/qmlcontrols/kcmcontrols/qml/SimpleKCM.qml
index 97aa1cf..6cfb086 100644
--- a/src/qmlcontrols/kcmcontrols/qml/SimpleKCM.qml
+++ b/src/qmlcontrols/kcmcontrols/qml/SimpleKCM.qml
@@ -55,7 +55,7 @@ Kirigami.ScrollablePage {
header: QtControls.Control {
id: headerParent
- visible: false
+ visible: contentItem ? contentItem.visible : false
height: visible ? implicitHeight : 0
leftPadding: 4
topPadding: 4
@@ -65,7 +65,7 @@ Kirigami.ScrollablePage {
footer: QtControls.Control {
id: footerParent
- visible: false
+ visible: contentItem ? contentItem.visible : false
height: visible ? implicitHeight : 0
leftPadding: 4
topPadding: 4
@@ -79,7 +79,6 @@ Kirigami.ScrollablePage {
footerParent.contentItem = f
footer = footerParent
- f.visible = true
footer.visible = true
f.parent = footerParent
}
@@ -89,7 +88,6 @@ Kirigami.ScrollablePage {
headerParent.contentItem = h
header = headerParent
- h.visible = true
header.visible = true
h.parent = headerParent
}
--
cgit v1.1
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment