Date: Wednesday, February 1, 2017 @ 15:48:49
  Author: spupykin
Revision: 209653

upgpkg: remmina 1:1.2.0rcgit.17-1

upd

Added:
  remmina/trunk/fix-freerdp-name.patch
Modified:
  remmina/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   15 +++++++++++----
 fix-freerdp-name.patch |   20 ++++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-02-01 15:48:44 UTC (rev 209652)
+++ PKGBUILD    2017-02-01 15:48:49 UTC (rev 209653)
@@ -3,8 +3,8 @@
 
 pkgname=remmina
 epoch=1
-pkgver=1.2.0rcgit.16
-pkgrel=2
+pkgver=1.2.0rcgit.17
+pkgrel=1
 pkgdesc="remote desktop client written in GTK+"
 arch=(i686 x86_64)
 url="http://www.remmina.org/";
@@ -23,9 +23,16 @@
             'libvncserver: VNC client/server support')
 replaces=('remmina-plugins')
 provides=('remmina-plugins')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz";)
-md5sums=('0868d084bcb7e4053a6e8c9abd1f93b0')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz";
+       "fix-freerdp-name.patch")
+sha256sums=('b4c7a8ee46b6ed323a2d70f6e8a3b6e2a9c9025eced85b57aacc00f484cadcb1'
+            '70ada2cd680678ccaadf2c4e1e726e7d286550dc3cef19cf653f3e9908224a99')
 
+prepare() {
+  cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
+  patch -p1 <"$srcdir"/fix-freerdp-name.patch
+}
+
 build() {
   cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
   cmake \

Added: fix-freerdp-name.patch
===================================================================
--- fix-freerdp-name.patch                              (rev 0)
+++ fix-freerdp-name.patch      2017-02-01 15:48:49 UTC (rev 209653)
@@ -0,0 +1,20 @@
+diff -wbBur Remmina-1.2.0-rcgit.17/cmake/FindFREERDP.cmake 
Remmina-1.2.0-rcgit.17.my/cmake/FindFREERDP.cmake
+--- Remmina-1.2.0-rcgit.17/cmake/FindFREERDP.cmake     2016-12-22 
11:59:08.000000000 +0300
++++ Remmina-1.2.0-rcgit.17.my/cmake/FindFREERDP.cmake  2017-02-01 
18:28:39.771764112 +0300
+@@ -30,13 +30,13 @@
+ find_path(WINPR_INCLUDE_DIR NAMES winpr/winpr.h
+       HINTS ${PC_FREERDP_INCLUDEDIR} ${PC_FREERDP_INCLUDE_DIRS} 
${CMAKE_PREFIX_PATH}/include/winpr2/)
+ 
+-find_library(FREERDP_LIBRARY NAMES freerdp
++find_library(FREERDP_LIBRARY NAMES freerdp2
+       HINTS ${PC_FREERDP_LIBDIR} ${PC_FREERDP_LIBRARY_DIRS})
+ 
+-find_library(FREERDP_CLIENT_LIBRARY NAMES freerdp-client
++find_library(FREERDP_CLIENT_LIBRARY NAMES freerdp-client2
+       HINTS ${PC_FREERDP_LIBDIR} ${PC_FREERDP_LIBRARY_DIRS})
+ 
+-find_library(FREERDP_WINPR_LIBRARY NAMES winpr
++find_library(FREERDP_WINPR_LIBRARY NAMES winpr2
+       HINTS ${PC_FREERDP_LIBDIR} ${PC_FREERDP_LIBRARY_DIRS})
+ 
+ include(FindPackageHandleStandardArgs)

Reply via email to