aboutsummaryrefslogtreecommitdiffstats
path: root/main/remmina/APKBUILD
blob: 2392d079fb67accacf379144c9c6749c7e458ad6 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=remmina
pkgver=1.1.2
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
	"

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="825b4dbee7053a059ac314ca11714219  Remmina-1.1.2.tar.gz
178d55f7aa59d6dc73b19e03201ad1e4  no-gnome-keyring.patch
144e8f4127ccec7282060800147a48ea  remmina-1.0.0-dsofix.patch
e5af6b49e42462550f51843ef8326076  libintl-underlink.patch"
sha256sums="214eb82e616f3158304f689692d467b45c537e295e6aed1c6d291b2d7d2e601e  Remmina-1.1.2.tar.gz
fb6094af599b64a1944f9a13a767e846d8bf772470690073da76cfd5eed799c2  no-gnome-keyring.patch
701cf9b0d6560ae9eee375f3c2828e449666190664fb28c9ccd95627db5d92e4  remmina-1.0.0-dsofix.patch
a8065f8bef88417bdfd8631441da19c9f945e0cc7131382e33a9f2c26f4e6017  libintl-underlink.patch"
sha512sums="4f6a38ec99acdfe53343e7c72e773f71a505eaacca6c6b078a17496556df0827f15aa84af7a8903e8c12caad2fc9737d8414aa923605e06e30e4a7d2c67add48  Remmina-1.1.2.tar.gz
5e0d26e799c9b85ae0c5bd7b9e6f07fd4a2da15c12b2a649098603c84d7dda6bfa518b0295edecc7522ab06c1a84d444083634d9fedb7d44b65b86dfc2eef65b  no-gnome-keyring.patch
4b8299c65b9a1bc529fd44fdb05033d5dfd7e5589daea7056d275011a6f01f4154141ae9b787581de646019c9f15b0493da39484850b2df052df33824c67dd91  remmina-1.0.0-dsofix.patch
43fa8caf186bac447921aa13c89ebf378f72d00a2d9c6bc76b4408c70fea3205e450e8cc7b145f4d5b3c6719e667be983d6e9f5b52fda00e10ecf7a48696c88b  libintl-underlink.patch"