summaryrefslogtreecommitdiff
path: root/community-testing/qtcurve-kde4
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
committerroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
commit9b4356a4ce894946739f7fff9411f62be0fbc122 (patch)
tree29999235b5b73068c5ddb4dc1239dcf7c66397fa /community-testing/qtcurve-kde4
parentf8ac5d4703080cc87ba2fe36f68df745d3a5f62f (diff)
Sun Aug 5 00:04:11 UTC 2012
Diffstat (limited to 'community-testing/qtcurve-kde4')
-rw-r--r--community-testing/qtcurve-kde4/PKGBUILD11
-rw-r--r--community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch15
2 files changed, 22 insertions, 4 deletions
diff --git a/community-testing/qtcurve-kde4/PKGBUILD b/community-testing/qtcurve-kde4/PKGBUILD
index 3ad2e7135..817439c93 100644
--- a/community-testing/qtcurve-kde4/PKGBUILD
+++ b/community-testing/qtcurve-kde4/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 74739 2012-08-02 16:18:09Z svenstaro $
+# $Id: PKGBUILD 74750 2012-08-03 09:56:11Z svenstaro $
# Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=qtcurve-kde4
pkgver=1.8.13
-pkgrel=2
+pkgrel=3
arch=('i686' 'x86_64')
groups=('qtcurve')
license=('GPL')
@@ -14,15 +14,18 @@ url='http://www.kde-look.org/content/show.php?content=40492'
depends=('kdebase-workspace')
makedepends=('cmake' 'automoc4')
source=("http://craigd.wikispaces.com/file/view/QtCurve-KDE4-${pkgver}.tar.bz2"
- 'bypass-kde-config.patch')
+ 'bypass-kde-config.patch'
+ 'fix-kwin_decoration-macro.patch')
md5sums=('94ba22bc487a18f585249c2967878189'
- '3f6681147cc361bd2bfd4d7477f2a8d0')
+ '3f6681147cc361bd2bfd4d7477f2a8d0'
+ '7366e45ef9f24f53a36f87a539a937d6')
build() {
cd "${srcdir}"/QtCurve-KDE4-${pkgver}
# Bypass KDE prefix detection by kde4-config, see:
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541667
patch -p1 -i "${srcdir}"/bypass-kde-config.patch
+ patch -p1 -i "${srcdir}"/fix-kwin_decoration-macro.patch
cd "${srcdir}"
mkdir build
diff --git a/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch b/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
new file mode 100644
index 000000000..6202e7b87
--- /dev/null
+++ b/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
@@ -0,0 +1,15 @@
+diff -Naur a/kwin/qtcurvehandler.cpp b/kwin/qtcurvehandler.cpp
+--- a/kwin/qtcurvehandler.cpp 2012-08-02 13:36:58.811347708 +0000
++++ b/kwin/qtcurvehandler.cpp 2012-08-02 13:38:03.240996792 +0000
+@@ -489,6 +489,11 @@
+
+ extern "C"
+ {
++ KWIN_EXPORT int decoration_version()
++ {
++ return KWIN_DECORATION_API_VERSION;
++ }
++
+ KDE_EXPORT KDecorationFactory *create_factory()
+ {
+ KWinQtCurve::handler = new KWinQtCurve::QtCurveHandler();