aboutsummaryrefslogtreecommitdiffstats
path: root/main/remmina/APKBUILD
blob: 2f62600ad1b27f2521f3087b0d3498acba79218d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina
pkgver=1.1.1
pkgrel=0
pkgdesc="Remmina is a remote desktop client written in GTK+"
url="http://remmina.sourceforge.net/"
arch="all"
license="GPL"
depends=
makedepends="gtk+3.0-dev intltool zlib-dev libjpeg-turbo-dev gnutls-dev
	vte3-dev libgcrypt-dev libssh-dev libxkbfile-dev freerdp-dev
	avahi-ui-dev libvncserver-dev cmake"
install=
replaces="remmina-plugins"
subpackages="$pkgname-dev $pkgname-lang"
source="Remmina-$pkgver.tar.gz::https://github.com/FreeRDP/Remmina/archive/v$pkgver.tar.gz
	no-gnome-keyring.patch
	remmina-1.0.0-dsofix.patch
	libintl-underlink.patch
	vte3.patch
	"

prepare() {
	cd "$srcdir"/Remmina-$pkgver
        for patch in $source; do
                case $patch in
                *.patch)
                        msg "Applying patch $patch"
                        patch -p1 -i "$srcdir"/$patch || return 1
                        ;;
                esac
        done
}

build() {
	cd "$srcdir"/Remmina-$pkgver
	cmake -DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DWITH_APPINDICATOR=OFF \
		-DWITH_AVAHI=ON \
		-DWITH_FREERDP=ON \
		-DWITH_GCRYPT=ON \
		-DWITH_LIBSSH=ON \
		-DWITH_PTHREAD=ON \
		-DWITH_TELEPATHY=OFF \
		-DWITH_VTE=ON \
		-DWITH_ZLIB=ON \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir"/Remmina-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="481dd96ebf7b14e4fd4df8648040b725  Remmina-1.1.1.tar.gz
178d55f7aa59d6dc73b19e03201ad1e4  no-gnome-keyring.patch
144e8f4127ccec7282060800147a48ea  remmina-1.0.0-dsofix.patch
e5af6b49e42462550f51843ef8326076  libintl-underlink.patch
d1d0e9a581d53ca7f49ce47ffb3db0f8  vte3.patch"
sha256sums="c96485a919848d9c1602c38075359b10417f4285659588b115b75d2cd5a4e884  Remmina-1.1.1.tar.gz
fb6094af599b64a1944f9a13a767e846d8bf772470690073da76cfd5eed799c2  no-gnome-keyring.patch
701cf9b0d6560ae9eee375f3c2828e449666190664fb28c9ccd95627db5d92e4  remmina-1.0.0-dsofix.patch
a8065f8bef88417bdfd8631441da19c9f945e0cc7131382e33a9f2c26f4e6017  libintl-underlink.patch
43d6ae0141beafde8f1e40160f885ff465576c40effd9935d986b78d58da0392  vte3.patch"
sha512sums="09bacd725522e0a57a1e387db778fe735d0f0d4ce62a63ad4f02799e225296509d075c56fb0c81d6b0c16ab2242889104271e1ecd508417e0aaeed7a35eea594  Remmina-1.1.1.tar.gz
5e0d26e799c9b85ae0c5bd7b9e6f07fd4a2da15c12b2a649098603c84d7dda6bfa518b0295edecc7522ab06c1a84d444083634d9fedb7d44b65b86dfc2eef65b  no-gnome-keyring.patch
4b8299c65b9a1bc529fd44fdb05033d5dfd7e5589daea7056d275011a6f01f4154141ae9b787581de646019c9f15b0493da39484850b2df052df33824c67dd91  remmina-1.0.0-dsofix.patch
43fa8caf186bac447921aa13c89ebf378f72d00a2d9c6bc76b4408c70fea3205e450e8cc7b145f4d5b3c6719e667be983d6e9f5b52fda00e10ecf7a48696c88b  libintl-underlink.patch
46357e5e407db83704efd8270bd6a86d07aad17f6adf2183551ddd82efccb169124e3b85b146248dc74b6bdd360df606f346c557f36782e15838bedca3212340  vte3.patch"