[arch-commits] Commit in krfb/repos (6 files)

2017-10-12 Thread Antonio Rojas
Date: Thursday, October 12, 2017 @ 15:50:50
  Author: arojas
Revision: 307711

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  krfb/repos/extra-i686/PKGBUILD
(from rev 307710, krfb/trunk/PKGBUILD)
  krfb/repos/extra-x86_64/PKGBUILD
(from rev 307710, krfb/trunk/PKGBUILD)
Deleted:
  krfb/repos/extra-i686/PKGBUILD
  krfb/repos/extra-i686/krfb-gcc6.patch
  krfb/repos/extra-x86_64/PKGBUILD
  krfb/repos/extra-x86_64/krfb-gcc6.patch

--+
 /PKGBUILD|   76 +
 extra-i686/PKGBUILD  |   45 
 extra-i686/krfb-gcc6.patch   |   13 ---
 extra-x86_64/PKGBUILD|   45 
 extra-x86_64/krfb-gcc6.patch |   13 ---
 5 files changed, 76 insertions(+), 116 deletions(-)

Deleted: extra-i686/PKGBUILD
===
--- extra-i686/PKGBUILD 2017-10-12 15:50:22 UTC (rev 307710)
+++ extra-i686/PKGBUILD 2017-10-12 15:50:50 UTC (rev 307711)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas 
-# Maintainer: Felix Yan 
-
-pkgname=krfb
-pkgver=17.08.1
-pkgrel=1
-pkgdesc='Desktop Sharing'
-url='https://www.kde.org/applications/system/krfb'
-arch=(i686 x86_64)
-license=(LGPL)
-depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
-makedepends=(extra-cmake-modules kdoctools python)
-conflicts=(kdenetwork-krfb)
-replaces=(kdenetwork-krfb)
-groups=(kde-applications kdenetwork)
-source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
 krfb-gcc6.patch)
-sha256sums=('d2d15434d1609c819fd30870a4a93c527977f00c15ded3fa252682d724e89eb7'
-'SKIP'
-'09543509640c404aaadb8881732f698aa39d66f039b4ea9216d392eb67b16656')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

-  F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck 

-
-prepare() {
-  mkdir -p build
-
-# Fix build with GCC6 (Fedora)
-  cd $pkgname-$pkgver
-  patch -p1 -i ../krfb-gcc6.patch
-}
-
-build() {
-  cd build
-  cmake ../$pkgname-$pkgver \
--DCMAKE_BUILD_TYPE=Release \
--DCMAKE_INSTALL_PREFIX=/usr \
--DKDE_INSTALL_LIBDIR=lib \
--DBUILD_TESTING=OFF
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: krfb/repos/extra-i686/PKGBUILD (from rev 307710, krfb/trunk/PKGBUILD)
===
--- extra-i686/PKGBUILD (rev 0)
+++ extra-i686/PKGBUILD 2017-10-12 15:50:50 UTC (rev 307711)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=17.08.2
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='https://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+groups=(kde-applications kdenetwork)
+source=("https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig})
+sha256sums=('a82699ebbb2a48ce6cf971007ad8de69f51d23b7c060e799309371086ffca494'
+'SKIP')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid 

+  F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck 

+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Deleted: extra-i686/krfb-gcc6.patch
===
--- extra-i686/krfb-gcc6.patch  2017-10-12 15:50:22 UTC (rev 307710)
+++ extra-i686/krfb-gcc6.patch  2017-10-12 15:50:50 UTC (rev 307711)
@@ -1,13 +0,0 @@
-diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
 krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
-+++ krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.029628544 +0100
-@@ -8,6 +8,9 @@
- 
- #include "rfb/rfb.h"
- 
-+#ifdef max // fix conflict with max() macro using gcc6 
-+#undef max
-+#endif
- #undef TRUE
- #undef FALSE
- 

Deleted: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2017-10-12 15:50:22 UTC (rev 307710)
+++ extra-x86_64/PKGBUILD   2017-10-12 15:50:50 UTC (rev 307711)
@@ -1,45 +0,0 @@
-# $Id$
-# Maintainer: Antonio Rojas 
-# Maintainer: Felix Yan 
-
-pkgname=krfb
-pkgver=17.08.1
-pkgrel=1
-pkgdesc='Desktop Sharing'
-url='https://www.kde.org/applications/system/krfb'
-arch=(i686 x86_64)
-license=(LGPL)
-depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
-makedepends=(extra-cmake-modules kdoctools python)
-conflicts=(kdenetwork-krfb)
-replaces=(kdenetwork-krfb)
-groups=(kde-applications kdenetwork)
-source=("https://download.kde.org/stable/applications/$

[arch-commits] Commit in krfb/repos (6 files)

2016-11-18 Thread Antonio Rojas
Date: Friday, November 18, 2016 @ 20:02:18
  Author: arojas
Revision: 281172

archrelease: copy kde-unstable to staging-i686, staging-x86_64

Added:
  krfb/repos/staging-i686/
  krfb/repos/staging-i686/PKGBUILD
(from rev 281171, krfb/kde-unstable/PKGBUILD)
  krfb/repos/staging-i686/krfb-gcc6.patch
(from rev 281171, krfb/kde-unstable/krfb-gcc6.patch)
  krfb/repos/staging-x86_64/
  krfb/repos/staging-x86_64/PKGBUILD
(from rev 281171, krfb/kde-unstable/PKGBUILD)
  krfb/repos/staging-x86_64/krfb-gcc6.patch
(from rev 281171, krfb/kde-unstable/krfb-gcc6.patch)

+
 staging-i686/PKGBUILD  |   44 +++
 staging-i686/krfb-gcc6.patch   |   13 +++
 staging-x86_64/PKGBUILD|   44 +++
 staging-x86_64/krfb-gcc6.patch |   13 +++
 4 files changed, 114 insertions(+)

Copied: krfb/repos/staging-i686/PKGBUILD (from rev 281171, 
krfb/kde-unstable/PKGBUILD)
===
--- staging-i686/PKGBUILD   (rev 0)
+++ staging-i686/PKGBUILD   2016-11-18 20:02:18 UTC (rev 281172)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=16.11.80
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='http://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdenetwork-krfb)
+replaces=(kdenetwork-krfb)
+groups=(kde-applications kdenetwork)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
 krfb-gcc6.patch)
+md5sums=('76afe5ff23466dd66e05ac321e622b67'
+ 'SKIP'
+ 'fc342abdbbac31a98c9839b2f61b88e7')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 

+
+prepare() {
+  mkdir -p build
+
+# Fix build with GCC6 (Fedora)
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krfb-gcc6.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DKDE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krfb/repos/staging-i686/krfb-gcc6.patch (from rev 281171, 
krfb/kde-unstable/krfb-gcc6.patch)
===
--- staging-i686/krfb-gcc6.patch(rev 0)
+++ staging-i686/krfb-gcc6.patch2016-11-18 20:02:18 UTC (rev 281172)
@@ -0,0 +1,13 @@
+diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
+--- krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
 krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.029628544 +0100
+@@ -8,6 +8,9 @@
+ 
+ #include "rfb/rfb.h"
+ 
++#ifdef max // fix conflict with max() macro using gcc6 
++#undef max
++#endif
+ #undef TRUE
+ #undef FALSE
+ 

Copied: krfb/repos/staging-x86_64/PKGBUILD (from rev 281171, 
krfb/kde-unstable/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2016-11-18 20:02:18 UTC (rev 281172)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=16.11.80
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='http://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdenetwork-krfb)
+replaces=(kdenetwork-krfb)
+groups=(kde-applications kdenetwork)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig}
 krfb-gcc6.patch)
+md5sums=('76afe5ff23466dd66e05ac321e622b67'
+ 'SKIP'
+ 'fc342abdbbac31a98c9839b2f61b88e7')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 

+
+prepare() {
+  mkdir -p build
+
+# Fix build with GCC6 (Fedora)
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krfb-gcc6.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DKDE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krfb/repos/staging-x86_64/krfb-gcc6.patch (from rev 281171, 
krfb/kde-unstable/krfb-gcc6.patch)
===
--- staging-x86_64/krfb-gcc6.patch  (rev 0)
+++ staging-x86_64/krfb-gcc6.patch  2016-11-18 20:02:18 UTC (rev 281172)
@@ -0,0 +1,13 @@
+diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
+--- krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
 krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.0296285

[arch-commits] Commit in krfb/repos (6 files)

2016-08-20 Thread Felix Yan
Date: Sunday, August 21, 2016 @ 03:40:36
  Author: felixonmars
Revision: 274421

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  krfb/repos/testing-i686/
  krfb/repos/testing-i686/PKGBUILD
(from rev 274420, krfb/trunk/PKGBUILD)
  krfb/repos/testing-i686/krfb-gcc6.patch
(from rev 274420, krfb/trunk/krfb-gcc6.patch)
  krfb/repos/testing-x86_64/
  krfb/repos/testing-x86_64/PKGBUILD
(from rev 274420, krfb/trunk/PKGBUILD)
  krfb/repos/testing-x86_64/krfb-gcc6.patch
(from rev 274420, krfb/trunk/krfb-gcc6.patch)

+
 testing-i686/PKGBUILD  |   42 +++
 testing-i686/krfb-gcc6.patch   |   13 
 testing-x86_64/PKGBUILD|   42 +++
 testing-x86_64/krfb-gcc6.patch |   13 
 4 files changed, 110 insertions(+)

Copied: krfb/repos/testing-i686/PKGBUILD (from rev 274420, krfb/trunk/PKGBUILD)
===
--- testing-i686/PKGBUILD   (rev 0)
+++ testing-i686/PKGBUILD   2016-08-21 03:40:36 UTC (rev 274421)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=16.08.0
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='http://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdenetwork-krfb)
+replaces=(kdenetwork-krfb)
+groups=(kde-applications kdenetwork)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";
 krfb-gcc6.patch)
+md5sums=('72d15d4809e2b2c89a334da99d5c1018'
+ 'fc342abdbbac31a98c9839b2f61b88e7')
+
+prepare() {
+  mkdir -p build
+
+# Fix build with GCC6 (Fedora)
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krfb-gcc6.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DKDE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krfb/repos/testing-i686/krfb-gcc6.patch (from rev 274420, 
krfb/trunk/krfb-gcc6.patch)
===
--- testing-i686/krfb-gcc6.patch(rev 0)
+++ testing-i686/krfb-gcc6.patch2016-08-21 03:40:36 UTC (rev 274421)
@@ -0,0 +1,13 @@
+diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
+--- krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
 krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.029628544 +0100
+@@ -8,6 +8,9 @@
+ 
+ #include "rfb/rfb.h"
+ 
++#ifdef max // fix conflict with max() macro using gcc6 
++#undef max
++#endif
+ #undef TRUE
+ #undef FALSE
+ 

Copied: krfb/repos/testing-x86_64/PKGBUILD (from rev 274420, 
krfb/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2016-08-21 03:40:36 UTC (rev 274421)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=16.08.0
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='http://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdenetwork-krfb)
+replaces=(kdenetwork-krfb)
+groups=(kde-applications kdenetwork)
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";
 krfb-gcc6.patch)
+md5sums=('72d15d4809e2b2c89a334da99d5c1018'
+ 'fc342abdbbac31a98c9839b2f61b88e7')
+
+prepare() {
+  mkdir -p build
+
+# Fix build with GCC6 (Fedora)
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krfb-gcc6.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DKDE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krfb/repos/testing-x86_64/krfb-gcc6.patch (from rev 274420, 
krfb/trunk/krfb-gcc6.patch)
===
--- testing-x86_64/krfb-gcc6.patch  (rev 0)
+++ testing-x86_64/krfb-gcc6.patch  2016-08-21 03:40:36 UTC (rev 274421)
@@ -0,0 +1,13 @@
+diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
+--- krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
 krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.029628544 +0100
+@@ -8,6 +8,9 @@
+ 
+ #include "rfb/rfb.h"
+ 
++#ifdef max // fix conflict with max() macro using gcc6 
++#undef max
++#endif
+ #undef TRUE
+ #undef FALSE
+ 


[arch-commits] Commit in krfb/repos (6 files)

2016-07-23 Thread Antonio Rojas
Date: Saturday, July 23, 2016 @ 18:51:56
  Author: arojas
Revision: 272383

archrelease: copy kde-unstable to kde-unstable-i686, kde-unstable-x86_64

Added:
  krfb/repos/kde-unstable-i686/
  krfb/repos/kde-unstable-i686/PKGBUILD
(from rev 272382, krfb/kde-unstable/PKGBUILD)
  krfb/repos/kde-unstable-i686/krfb-gcc6.patch
(from rev 272382, krfb/kde-unstable/krfb-gcc6.patch)
  krfb/repos/kde-unstable-x86_64/
  krfb/repos/kde-unstable-x86_64/PKGBUILD
(from rev 272382, krfb/kde-unstable/PKGBUILD)
  krfb/repos/kde-unstable-x86_64/krfb-gcc6.patch
(from rev 272382, krfb/kde-unstable/krfb-gcc6.patch)

-+
 kde-unstable-i686/PKGBUILD  |   42 ++
 kde-unstable-i686/krfb-gcc6.patch   |   13 ++
 kde-unstable-x86_64/PKGBUILD|   42 ++
 kde-unstable-x86_64/krfb-gcc6.patch |   13 ++
 4 files changed, 110 insertions(+)

Copied: krfb/repos/kde-unstable-i686/PKGBUILD (from rev 272382, 
krfb/kde-unstable/PKGBUILD)
===
--- kde-unstable-i686/PKGBUILD  (rev 0)
+++ kde-unstable-i686/PKGBUILD  2016-07-23 18:51:56 UTC (rev 272383)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=16.07.80
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='http://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdenetwork-krfb)
+replaces=(kdenetwork-krfb)
+groups=(kde-applications kdenetwork)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";
 krfb-gcc6.patch)
+md5sums=('d1e0c89362145de9bdc020c22751d0bd'
+ 'fc342abdbbac31a98c9839b2f61b88e7')
+
+prepare() {
+  mkdir -p build
+
+# Fix build with GCC6 (Fedora)
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krfb-gcc6.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DKDE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krfb/repos/kde-unstable-i686/krfb-gcc6.patch (from rev 272382, 
krfb/kde-unstable/krfb-gcc6.patch)
===
--- kde-unstable-i686/krfb-gcc6.patch   (rev 0)
+++ kde-unstable-i686/krfb-gcc6.patch   2016-07-23 18:51:56 UTC (rev 272383)
@@ -0,0 +1,13 @@
+diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
+--- krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
 krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.029628544 +0100
+@@ -8,6 +8,9 @@
+ 
+ #include "rfb/rfb.h"
+ 
++#ifdef max // fix conflict with max() macro using gcc6 
++#undef max
++#endif
+ #undef TRUE
+ #undef FALSE
+ 

Copied: krfb/repos/kde-unstable-x86_64/PKGBUILD (from rev 272382, 
krfb/kde-unstable/PKGBUILD)
===
--- kde-unstable-x86_64/PKGBUILD(rev 0)
+++ kde-unstable-x86_64/PKGBUILD2016-07-23 18:51:56 UTC (rev 272383)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Antonio Rojas 
+# Maintainer: Felix Yan 
+
+pkgname=krfb
+pkgver=16.07.80
+pkgrel=1
+pkgdesc='Desktop Sharing'
+url='http://www.kde.org/applications/system/krfb'
+arch=(i686 x86_64)
+license=(LGPL)
+depends=(kdnssd kxmlgui kwallet libvncserver libxdamage)
+makedepends=(extra-cmake-modules kdoctools python)
+conflicts=(kdenetwork-krfb)
+replaces=(kdenetwork-krfb)
+groups=(kde-applications kdenetwork)
+source=("http://download.kde.org/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz";
 krfb-gcc6.patch)
+md5sums=('d1e0c89362145de9bdc020c22751d0bd'
+ 'fc342abdbbac31a98c9839b2f61b88e7')
+
+prepare() {
+  mkdir -p build
+
+# Fix build with GCC6 (Fedora)
+  cd $pkgname-$pkgver
+  patch -p1 -i ../krfb-gcc6.patch
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DKDE_INSTALL_LIBDIR=lib \
+-DBUILD_TESTING=OFF
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: krfb/repos/kde-unstable-x86_64/krfb-gcc6.patch (from rev 272382, 
krfb/kde-unstable/krfb-gcc6.patch)
===
--- kde-unstable-x86_64/krfb-gcc6.patch (rev 0)
+++ kde-unstable-x86_64/krfb-gcc6.patch 2016-07-23 18:51:56 UTC (rev 272383)
@@ -0,0 +1,13 @@
+diff -up krfb-15.12.2/krfb/rfb.h.than krfb-15.12.2/krfb/rfb.h
+--- krfb-15.12.2/krfb/rfb.h.than   2016-02-18 14:31:57.918262431 +0100
 krfb-15.12.2/krfb/rfb.h2016-02-18 14:35:20.029628544 +0100
+@@ -8,6 +8,9 @@
+ 
+ #include "rfb/rfb.h"
+ 
++#ifdef max // fix conflict with max() macro using gcc6 
++#u