summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbill-auger <mr.j.spam.me@gmail.com>2022-09-10 23:53:55 -0400
committerbill-auger <mr.j.spam.me@gmail.com>2022-09-11 15:18:15 -0400
commitfbed5826e5d1064008ca607083b9cbb61ff7d1a4 (patch)
treeda36526476f8d939d59e50b3b10b505d986b2775
parent0e5afe0ab5a8368054c65c154c75fdcbef8d544b (diff)
[qt5-styleplugins]: rebuild against latest qt5-base
-rw-r--r--libre/qt5-styleplugins/PKGBUILD24
-rw-r--r--libre/qt5-styleplugins/qt5-styleplugins.hook9
2 files changed, 23 insertions, 10 deletions
diff --git a/libre/qt5-styleplugins/PKGBUILD b/libre/qt5-styleplugins/PKGBUILD
index c1870e754..edbf3228b 100644
--- a/libre/qt5-styleplugins/PKGBUILD
+++ b/libre/qt5-styleplugins/PKGBUILD
@@ -3,16 +3,20 @@
# parabola changes and rationale:
-# - no libre changes
-# - in libre because it is a dependency of 'parabola-laf'
+# - pin to strongly-coupled dependency versions
+# - do not install pacman hook (the version constraints handle that better)
+# - no libre changes
+# - in libre because it is a dependency of 'parabola-laf'
pkgname=qt5-styleplugins
pkgver=5.0.0.20170311
-_commit=335dbece103e2cbf6c7cf819ab6672c2956b17b3 # unreleased master branch tip
+# $_commit is the unreleased VCS tip from 2017
+_commit=335dbece103e2cbf6c7cf819ab6672c2956b17b3
pkgdesc='Additional style plugins for Qt5'
-pkgrel=36
-arch=(armv7h i686 x86_64)
+pkgrel=37
+arch=('x86_64' 'aarch64')
+arch+=('armv7h' 'i686')
url="https://github.com/qt/qtstyleplugins"
license=('LGPL')
depends=('qt5-base' 'gtk2')
@@ -20,12 +24,12 @@ source=(
"${pkgname}-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz"
"0001-fix-build-against-Qt-5.15.patch"
"0002-fix-gtk2-background.patch"
+ "${pkgname}.hook"
)
-sha512sums=(
- 'e8c2d0e9c6b0a47cab04ffd2e9384606638905b63a7c1580f9b629bbcc84ebff19743363ffee3dbd31c3de1dcda684211ad3052932b5aa0081e529afd9cbb14d'
- 'f5cedadceb7c4243ba69b5041c6c524223ce742ec9c2c483e706f31e32e9e03e4efb6ed54fa2aada867a7c0145a8f3ec1193377d177c6c77066b5f3ec191e9ce'
- 'c39b468c93eaada7d49df9547627fbf91d50292523566ef93287ce0e958b29e6c3635f6e77ad42c4f449a062cc63b68e9f2a24c89524165649f776d205fb5382'
-)
+sha512sums=('e8c2d0e9c6b0a47cab04ffd2e9384606638905b63a7c1580f9b629bbcc84ebff19743363ffee3dbd31c3de1dcda684211ad3052932b5aa0081e529afd9cbb14d'
+ 'f5cedadceb7c4243ba69b5041c6c524223ce742ec9c2c483e706f31e32e9e03e4efb6ed54fa2aada867a7c0145a8f3ec1193377d177c6c77066b5f3ec191e9ce'
+ 'c39b468c93eaada7d49df9547627fbf91d50292523566ef93287ce0e958b29e6c3635f6e77ad42c4f449a062cc63b68e9f2a24c89524165649f776d205fb5382'
+ '5f976142d27eabacd1e1050bb39801d2e4cd68ec7459662e0352541d42d6a75740d3238b5120fb47641a125d6e3200f3a39c304497ac603457e3a97e641dabc2')
_version_constraint() # (dep_pkgname [precision])
diff --git a/libre/qt5-styleplugins/qt5-styleplugins.hook b/libre/qt5-styleplugins/qt5-styleplugins.hook
new file mode 100644
index 000000000..33abdcfce
--- /dev/null
+++ b/libre/qt5-styleplugins/qt5-styleplugins.hook
@@ -0,0 +1,9 @@
+[Trigger]
+Type = Package
+Operation = Upgrade
+Target = qt5-base
+
+[Action]
+Description = Qt5 Upgrade Warning
+When = PostTransaction
+Exec = /usr/bin/echo "[WARNING] qt5-base was updated, qt5 applications will break until qt5-styleplugins is rebuilt."