summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD20
-rw-r--r--gconf.patch12
3 files changed, 31 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5a0bc96a7b9..1e65addeec6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qt5-styleplugins-git
pkgdesc = Additional style plugins for Qt5
- pkgver = r1
+ pkgver = r22
pkgrel = 1
url = https://code.qt.io/cgit/qt/qtstyleplugins
arch = i686
@@ -8,12 +8,13 @@ pkgbase = qt5-styleplugins-git
license = LGPL
makedepends = git
depends = qt5-base
- depends = gconf
depends = gtk2
depends = libx11
provides = qt5-styleplugins
conflicts = qt5-styleplugins
source = qtstyleplugins::git+https://code.qt.io/cgit/qt/qtstyleplugins.git
+ source = gconf.patch
+ sha512sums = SKIP
sha512sums = SKIP
pkgname = qt5-styleplugins-git
diff --git a/PKGBUILD b/PKGBUILD
index 82330a21556..0a663f5ff95 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,25 @@
pkgname=('qt5-styleplugins-git')
_srcname='qtstyleplugins'
pkgdesc='Additional style plugins for Qt5'
-pkgver='r1'
+pkgver='r22'
pkgrel='1'
arch=('i686' 'x86_64')
url="https://code.qt.io/cgit/qt/${_srcname}"
license=('LGPL')
-depends=('qt5-base' 'gconf' 'gtk2' 'libx11')
+depends=('qt5-base' 'gtk2' 'libx11')
makedepends=('git')
provides=("${pkgname[0]%-git}")
conflicts=("${pkgname[0]%-git}")
-source=("${_srcname}::git+${url}.git")
-sha512sums=('SKIP')
+source=(
+ "${_srcname}::git+${url}.git"
+ 'gconf.patch'
+)
+sha512sums=(
+ 'SKIP'
+ 'SKIP'
+)
pkgver() {
cd "${srcdir}/${_srcname}"
@@ -24,6 +30,12 @@ pkgver() {
"$( git rev-parse --short 'HEAD' )"
}
+prepare() {
+ cd "${srcdir}/${_srcname}"
+
+ git apply "${srcdir}/gconf.patch"
+}
+
build() {
cd "${srcdir}/${_srcname}"
diff --git a/gconf.patch b/gconf.patch
new file mode 100644
index 00000000000..572c36b6912
--- /dev/null
+++ b/gconf.patch
@@ -0,0 +1,12 @@
+diff --git a/src/plugins/styles/styles.pro b/src/plugins/styles/styles.pro
+index 25d68d0..adcf8e4 100644
+--- a/src/plugins/styles/styles.pro
++++ b/src/plugins/styles/styles.pro
+@@ -5,6 +5,6 @@ SUBDIRS = \
+ plastique \
+ bb10style
+
+-packagesExist(gconf-2.0 gtk+-2.0 x11) {
++packagesExist(gtk+-2.0 x11) {
+ SUBDIRS += gtk2
+ }