summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp.inc24
-rw-r--r--meta-oe/recipes-support/freerdp/freerdp_git.bb15
2 files changed, 39 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/freerdp/freerdp.inc b/meta-oe/recipes-support/freerdp/freerdp.inc
new file mode 100644
index 0000000000..f8402c71d3
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp.inc
@@ -0,0 +1,24 @@
1# Copyright (C) 2010, 2011 O.S. Systems Software Ltda. All Rights Reserved
2# Released under the MIT license
3
4DESCRIPTION = "FreeRDP RDP client"
5HOMEPAGE = "http://freerdp.sourceforge.net"
6DEPENDS = "virtual/libx11 openssl libxcursor cups alsa-lib"
7SECTION = "x11/network"
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
10
11INC_PR = "r0"
12
13inherit pkgconfig autotools
14
15do_configure_prepend() {
16 # workaround gcc linking bug
17 find ${S} -name 'Makefile.am' | xargs -n 1 sed 's,-pthread,-lpthread -D_REENTRANT,g' -i
18}
19
20do_install_append() {
21 rm ${D}${libdir}/freerdp/*.a ${D}${libdir}/freerdp/*.la
22}
23
24RDEPENDS_${PN} += "xprop"
diff --git a/meta-oe/recipes-support/freerdp/freerdp_git.bb b/meta-oe/recipes-support/freerdp/freerdp_git.bb
new file mode 100644
index 0000000000..fa4ba9ae29
--- /dev/null
+++ b/meta-oe/recipes-support/freerdp/freerdp_git.bb
@@ -0,0 +1,15 @@
1# Copyright (C) 2010, 2011, O.S. Systems Software Ltda.
2# Released under the MIT license
3
4include freerdp.inc
5
6inherit gitpkgv
7
8PV = "gitr${SRCPV}"
9PKGV = "${GITPKGVTAG}"
10PR = "${INC_PR}.0"
11
12SRCREV = "7bbde4fb3bc3a781364d0a626c49bc165cc507fd"
13SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;protocol=git"
14
15S = "${WORKDIR}/git"