diff options
Diffstat (limited to 'main/remmina')
-rw-r--r-- | main/remmina/APKBUILD | 36 | ||||
-rw-r--r-- | main/remmina/no-gnome-keyring.patch | 11 | ||||
-rw-r--r-- | main/remmina/underlinking.patch | 32 |
3 files changed, 65 insertions, 14 deletions
diff --git a/main/remmina/APKBUILD b/main/remmina/APKBUILD index c48edb475..4ee4f12ec 100644 --- a/main/remmina/APKBUILD +++ b/main/remmina/APKBUILD @@ -1,6 +1,6 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=remmina -pkgver=0.9.3 +pkgver=1.0.0 pkgrel=0 pkgdesc="Remmina is a remote desktop client written in GTK+" url="http://remmina.sourceforge.net/" @@ -8,29 +8,37 @@ arch="all" license="GPL" depends= makedepends="gtk+-dev intltool zlib-dev jpeg-dev gnutls-dev vte-dev - libgcrypt-dev " + libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev avahi-dev + wget cmake" install= -subpackages="$pkgname-dev" -source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz" - -_builddir="$srcdir"/$pkgname-$pkgver +subpackages="$pkgname-dev $pkgname-lang" +source="https://github.com/downloads/FreeRDP/Remmina/Remmina-$pkgver.tar.gz + underlinking.patch + no-gnome-keyring.patch" prepare() { - cd "$_builddir" + cd "$srcdir"/FreeRDP-Remmina-* + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info + cd "$srcdir"/FreeRDP-Remmina-* + cmake -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DWITH_TELEPATHY=OFF \ + || return 1 make || return 1 } package() { - cd "$_builddir" + cd "$srcdir"/FreeRDP-Remmina-* make DESTDIR="$pkgdir" install } -md5sums="c87004a70ec62acbae732e8d47f71ba7 remmina-0.9.3.tar.gz" +md5sums="701c540acaab961bc3adf130a2ddb8b1 Remmina-1.0.0.tar.gz +c5874505afdcbc984beda485eed23b47 underlinking.patch +178d55f7aa59d6dc73b19e03201ad1e4 no-gnome-keyring.patch" diff --git a/main/remmina/no-gnome-keyring.patch b/main/remmina/no-gnome-keyring.patch new file mode 100644 index 000000000..fed2768a4 --- /dev/null +++ b/main/remmina/no-gnome-keyring.patch @@ -0,0 +1,11 @@ +--- ./CMakeLists.txt.orig ++++ ./CMakeLists.txt +@@ -96,7 +96,7 @@ + if(GTK_FOUND) + add_subdirectory(remmina) + add_subdirectory(remmina-plugins) +- add_subdirectory(remmina-plugins-gnome) ++# add_subdirectory(remmina-plugins-gnome) + endif() + + find_suggested_package(AVAHI) diff --git a/main/remmina/underlinking.patch b/main/remmina/underlinking.patch new file mode 100644 index 000000000..4cabfea11 --- /dev/null +++ b/main/remmina/underlinking.patch @@ -0,0 +1,32 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 465e905..4f1052d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -92,6 +92,11 @@ if(GCRYPT_FOUND) + add_definitions(-DHAVE_LIBGCRYPT) + endif() + ++find_required_package(X11) ++find_library(GIO_LIBRARY NAMES gio-2.0) ++find_library(GOBJECT_LIBRARY NAMES gobject-2.0) ++find_library(GMODULE_LIBRARY NAMES gmodule-2.0) ++find_library(GTHREAD_LIBRARY NAMES gthread-2.0) + find_required_package(GTK) + if(GTK_FOUND) + add_subdirectory(remmina) +diff --git a/remmina/CMakeLists.txt b/remmina/CMakeLists.txt +index 0fe7bbf..5368a26 100644 +--- a/remmina/CMakeLists.txt ++++ b/remmina/CMakeLists.txt +@@ -91,7 +91,7 @@ set(REMMINA_SRCS + add_executable(remmina ${REMMINA_SRCS}) + + include_directories(${GTK_INCLUDE_DIRS}) +-target_link_libraries(remmina ${GTK_LIBRARIES}) ++target_link_libraries(remmina ${GTK_LIBRARIES} ${X11_LIBRARIES} ${GIO_LIBRARY} ${GOBJECT_LIBRARY} ${GMODULE_LIBRARY} ${GTHREAD_LIBRARY} -lintl -lpthread) + + find_suggested_package(LIBSSH) + if(LIBSSH_FOUND) +-- +1.7.9 + |