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

Antonio Rojas arojas at archlinux.org
Fri Jul 21 20:01:59 UTC 2017


    Date: Friday, July 21, 2017 @ 20:01:58
  Author: arojas
Revision: 301053

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

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

-----------------+
 PKGBUILD        |   45 +++++++++++++++++++++++++++++++++++++++++++++
 krfb-gcc6.patch |   13 +++++++++++++
 2 files changed, 58 insertions(+)

Copied: krfb/repos/kde-unstable-x86_64/PKGBUILD (from rev 301052, krfb/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2017-07-21 20:01:58 UTC (rev 301053)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Antonio Rojas <arojas at archlinux,org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=krfb
+pkgver=17.07.80
+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/unstable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"{,.sig} krfb-gcc6.patch)
+sha256sums=('89124f29eb7fc8cd2ad4971f382d3762b1d59cc0cea0e61b66959b45b6d0aca0'
+            'SKIP'
+            '09543509640c404aaadb8881732f698aa39d66f039b4ea9216d392eb67b16656')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87) # Christoph Feck <cfeck at kde.org>
+
+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 301052, krfb/kde-unstable/krfb-gcc6.patch)
===================================================================
--- kde-unstable-x86_64/krfb-gcc6.patch	                        (rev 0)
+++ kde-unstable-x86_64/krfb-gcc6.patch	2017-07-21 20:01:58 UTC (rev 301053)
@@ -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.h	2016-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
+ 



More information about the arch-commits mailing list