summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO51
-rw-r--r--PKGBUILD54
-rw-r--r--cmakelists.patch21
-rw-r--r--fix-freerdp-name.patch20
-rw-r--r--fix-git-rev.patch21
5 files changed, 167 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e9e79e360f3
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,51 @@
+# Generated by mksrcinfo v8
+# Mon Feb 13 19:49:34 UTC 2017
+pkgbase = remmina-appindicator
+ pkgdesc = remote desktop client written in GTK+
+ pkgver = 1.2.0rcgit.17
+ pkgrel = 1
+ epoch = 1
+ url = http://www.remmina.org/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = intltool
+ makedepends = pkgconfig
+ makedepends = cmake
+ makedepends = libgnome-keyring
+ makedepends = avahi
+ makedepends = libxkbfile
+ makedepends = freerdp
+ makedepends = telepathy-glib
+ makedepends = libvncserver
+ depends = gtk3
+ depends = zlib
+ depends = libjpeg
+ depends = libssh
+ depends = avahi
+ depends = vte3
+ depends = libgcrypt
+ depends = libxdmcp
+ depends = libsecret
+ depends = webkit2gtk
+ depends = libappindicator-gtk3
+ optdepends = libxkbfile
+ optdepends = freerdp
+ optdepends = telepathy-glib
+ optdepends = gnome-keyring
+ optdepends = nxproxy
+ optdepends = xorg-server-xephyr: XDMCP support
+ optdepends = libvncserver: VNC client/server support
+ provides = remmina-plugins,
+ provides = remmina
+ conflicts = remmina
+ replaces = remmina-plugins
+ source = remmina-appindicator-1.2.0rcgit.17.tar.gz::https://github.com/FreeRDP/Remmina/archive/v1.2.0-rcgit.17.tar.gz
+ source = fix-freerdp-name.patch
+ source = fix-git-rev.patch
+ sha256sums = b4c7a8ee46b6ed323a2d70f6e8a3b6e2a9c9025eced85b57aacc00f484cadcb1
+ sha256sums = 70ada2cd680678ccaadf2c4e1e726e7d286550dc3cef19cf653f3e9908224a99
+ sha256sums = 296d96337eded6179d1fbc4892afd89a60e6a691b4ee1bc56593e195be18c3e5
+
+pkgname = remmina-appindicator
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..5c46ee5bd0e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id$
+# Maintainer: Heine Pedersen <heinep at gmail dot com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=remmina-appindicator
+epoch=1
+pkgver=1.2.0rcgit.17
+pkgrel=1
+pkgdesc="remote desktop client written in GTK+"
+arch=(i686 x86_64)
+url="http://www.remmina.org/"
+license=('GPL')
+depends=('gtk3' 'zlib' 'libjpeg' 'libssh' 'avahi' 'vte3'
+ 'libgcrypt' 'libxdmcp' 'libsecret' 'webkit2gtk' 'libappindicator-gtk3')
+makedepends=('intltool' 'pkgconfig' 'cmake' 'libgnome-keyring'
+ 'avahi' 'libxkbfile' 'freerdp' 'telepathy-glib'
+ 'libvncserver')
+optdepends=('libxkbfile'
+ 'freerdp'
+ 'telepathy-glib'
+ 'gnome-keyring'
+ 'nxproxy'
+ 'xorg-server-xephyr: XDMCP support'
+ 'libvncserver: VNC client/server support')
+replaces=('remmina-plugins')
+provides=('remmina-plugins', 'remmina')
+conflicts=('remmina')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v${pkgver/rc/-rc}.tar.gz"
+ "fix-freerdp-name.patch"
+ "fix-git-rev.patch")
+sha256sums=('b4c7a8ee46b6ed323a2d70f6e8a3b6e2a9c9025eced85b57aacc00f484cadcb1'
+ '70ada2cd680678ccaadf2c4e1e726e7d286550dc3cef19cf653f3e9908224a99'
+ '296d96337eded6179d1fbc4892afd89a60e6a691b4ee1bc56593e195be18c3e5')
+
+prepare() {
+ cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
+ patch -p1 <"$srcdir"/fix-freerdp-name.patch
+ patch -p1 <"$srcdir"/fix-git-rev.patch
+}
+
+build() {
+ cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DWITH_APPINDICATOR=ON .
+ make
+}
+
+package() {
+ cd "$srcdir"/Remmina-${pkgver/rc/-rc}/
+ make DESTDIR="$pkgdir" install
+ rm -rf "$pkgdir"/build
+}
diff --git a/cmakelists.patch b/cmakelists.patch
new file mode 100644
index 00000000000..2ed7a5bb919
--- /dev/null
+++ b/cmakelists.patch
@@ -0,0 +1,21 @@
+--- CMakeLists.txt.orig 2017-02-13 20:37:27.549331001 +0100
++++ CMakeLists.txt 2017-02-13 20:37:39.109879899 +0100
+@@ -116,18 +116,6 @@
+ set(REMMINA_VERSION "${REMMINA_VERSION}-${REMMINA_VERSION_SUFFIX}")
+ endif()
+
+-
+-include(GetGitRevisionDescription)
+-git_get_exact_tag(GIT_REVISION --tags --always)
+-if (${GIT_REVISION} STREQUAL "n/a")
+- git_rev_parse(GIT_REVISION --short)
+-endif()
+-
+-if(NOT GIT_REVISION)
+- set(GIT_REVISION ${REMMINA_VERSION_SUFFIX})
+-endif()
+-message(STATUS "Git Revision ${GIT_REVISION}")
+-
+ if(NOT UNIQUE_APPNAME)
+ set(UNIQUE_APPNAME "org.Remmina")
+ endif()
diff --git a/fix-freerdp-name.patch b/fix-freerdp-name.patch
new file mode 100644
index 00000000000..533712894d8
--- /dev/null
+++ b/fix-freerdp-name.patch
@@ -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)
diff --git a/fix-git-rev.patch b/fix-git-rev.patch
new file mode 100644
index 00000000000..bfc5c1c6660
--- /dev/null
+++ b/fix-git-rev.patch
@@ -0,0 +1,21 @@
+diff -Naur Remmina-1.2.0-rcgit.17/CMakeLists.txt Remmina-1.2.0-rcgit.17.my/CMakeLists.txt
+--- Remmina-1.2.0-rcgit.17/CMakeLists.txt 2017-02-13 20:43:52.425135179 +0100
++++ Remmina-1.2.0-rcgit.17.my/CMakeLists.txt 2017-02-13 20:45:55.217469364 +0100
+@@ -116,16 +116,7 @@
+ set(REMMINA_VERSION "${REMMINA_VERSION}-${REMMINA_VERSION_SUFFIX}")
+ endif()
+
+-
+-include(GetGitRevisionDescription)
+-git_get_exact_tag(GIT_REVISION --tags --always)
+-if (${GIT_REVISION} STREQUAL "n/a")
+- git_rev_parse(GIT_REVISION --short)
+-endif()
+-
+-if(NOT GIT_REVISION)
+- set(GIT_REVISION ${REMMINA_VERSION_SUFFIX})
+-endif()
++set(GIT_REVISION, "n/a")
+ message(STATUS "Git Revision ${GIT_REVISION}")
+
+ if(NOT UNIQUE_APPNAME)