diff options
Diffstat (limited to 'main/remmina/APKBUILD')
-rw-r--r-- | main/remmina/APKBUILD | 36 |
1 files changed, 22 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" |