aboutsummaryrefslogtreecommitdiffstats
path: root/main/freerdp/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-02-13 10:48:41 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-02-13 10:53:15 +0000
commit2d1e9e9dd44ffd57e2c5331f541af89d229cc0ff (patch)
treeda4a47fe58536e8e7ceb668155c88229c5031740 /main/freerdp/APKBUILD
parentf3dccb8c416a1e2af8a41067cacae298edd585c9 (diff)
downloadaports-2d1e9e9dd44ffd57e2c5331f541af89d229cc0ff.tar.bz2
aports-2d1e9e9dd44ffd57e2c5331f541af89d229cc0ff.tar.xz
main/freerdp: upgrade to 1.0.1
Diffstat (limited to 'main/freerdp/APKBUILD')
-rw-r--r--main/freerdp/APKBUILD33
1 files changed, 21 insertions, 12 deletions
diff --git a/main/freerdp/APKBUILD b/main/freerdp/APKBUILD
index dfd5099dfe..fa317b8182 100644
--- a/main/freerdp/APKBUILD
+++ b/main/freerdp/APKBUILD
@@ -1,33 +1,42 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=freerdp
-pkgver=0.8.2
-pkgrel=2
+pkgver=1.0.1
+pkgrel=0
pkgdesc="Free RDP client"
url="http://freerdp.sourceforge.net"
arch="all"
license="GPL"
depends=""
-subpackages="$pkgname-dev $pkgname-doc libfreerdp"
-makedepends="openssl-dev libxcursor-dev cups-dev alsa-lib-dev"
-source="http://downloads.sourceforge.net/project/freerdp/${pkgver%.*}/freerdp-$pkgver.tar.gz"
+subpackages="$pkgname-dev $pkgname-plugins $pkgname-libs"
+makedepends="openssl-dev libxcursor-dev cups-dev alsa-lib-dev ffmpeg-dev
+ cups-dev libxkbfile-dev libxinerama-dev libxv-dev libxdamage-dev
+ wget cmake"
+source="https://github.com/downloads/FreeRDP/FreeRDP/FreeRDP-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
- ./configure --prefix=/usr
+ cd "$srcdir"/FreeRDP-FreeRDP-*
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \
+ || return 1
make
}
package() {
- cd "$_builddir"
+ cd "$srcdir"/FreeRDP-FreeRDP-*
make DESTDIR="$pkgdir" install || return 1
- rm "$pkgdir"/usr/lib/*.la || return 1
}
-libfreerdp() {
+libs() {
pkgdesc="Free RDP client - Libraries"
+ replaces="libfreerdp"
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/share "$pkgdir"/usr/lib "$subpkgdir"/usr/
}
-md5sums="cde590336292c977dfc1b4b7badf24d2 freerdp-0.8.2.tar.gz"
+plugins() {
+ pkgdesc="Free RDP client - plugins"
+ replaces="libfreerdp"
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/freerdp "$subpkgdir"/usr/lib/
+}
+
+md5sums="1282189a87893bf196da20382e45f6c1 FreeRDP-1.0.1.tar.gz"