summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/qt5-styleplugins/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/libre/qt5-styleplugins/PKGBUILD b/libre/qt5-styleplugins/PKGBUILD
index bfbc8bc61..77f7eb1a8 100644
--- a/libre/qt5-styleplugins/PKGBUILD
+++ b/libre/qt5-styleplugins/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
# parabola changes and rationale:
-# - no changes
+# - no libre changes
# - in libre because it is a dependency of 'parabola-laf'
@@ -11,11 +11,11 @@ pkgname=(qt5-styleplugins)
pkgver=5.0.0.20170311
_commit=335dbece103e2cbf6c7cf819ab6672c2956b17b3 # unreleased master branch tip
pkgdesc='Additional style plugins for Qt5'
-pkgrel=25
+pkgrel=26
arch=(armv7h i686 x86_64)
url="https://github.com/qt/qtstyleplugins"
license=('LGPL')
-depends=('qt5-base=5.15.2' 'gtk2')
+depends=('qt5-base' 'gtk2')
source=(
"${pkgname}-${_commit}.tar.gz::${url}/archive/${_commit}.tar.gz"
"0001-fix-build-against-Qt-5.15.patch"
@@ -49,4 +49,8 @@ package() {
cd qtstyleplugins-${_commit}
make INSTALL_ROOT="${pkgdir}" install
+
+ # pin to current 'qt5-base' libs
+ local qt5_ver=$(pacman -S --print-format='%v' qt5-base)
+ depends=( ${depends[@]/qt5-base/qt5-base=${qt5_ver}} )
}