summaryrefslogtreecommitdiff
path: root/community/qtcurve-kde4
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-08 00:02:17 +0000
committerroot <root@rshg054.dnsready.net>2012-08-08 00:02:17 +0000
commit6c114b503b2456476f22ff6bdb2b45cac8dac612 (patch)
tree663d91755132361628dec7a42b77734ecf7b36b7 /community/qtcurve-kde4
parent9d36fcd5638035abf19f303deebd9e861d384254 (diff)
Wed Aug 8 00:02:17 UTC 2012
Diffstat (limited to 'community/qtcurve-kde4')
-rw-r--r--community/qtcurve-kde4/PKGBUILD11
-rw-r--r--community/qtcurve-kde4/fix-kwin_decoration-macro.patch15
2 files changed, 22 insertions, 4 deletions
diff --git a/community/qtcurve-kde4/PKGBUILD b/community/qtcurve-kde4/PKGBUILD
index cd09116a0..8178fc277 100644
--- a/community/qtcurve-kde4/PKGBUILD
+++ b/community/qtcurve-kde4/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 74684 2012-08-02 07:17:13Z svenstaro $
+# $Id: PKGBUILD 74842 2012-08-06 23:10:17Z andrea $
# 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=1
+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/qtcurve-kde4/fix-kwin_decoration-macro.patch b/community/qtcurve-kde4/fix-kwin_decoration-macro.patch
new file mode 100644
index 000000000..6202e7b87
--- /dev/null
+++ b/community/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();