diff options
Diffstat (limited to 'meta-oe/recipes-support/nonworking/freerdp/freerdp.inc')
-rw-r--r-- | meta-oe/recipes-support/nonworking/freerdp/freerdp.inc | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/nonworking/freerdp/freerdp.inc b/meta-oe/recipes-support/nonworking/freerdp/freerdp.inc new file mode 100644 index 000000000..34dac4b7e --- /dev/null +++ b/meta-oe/recipes-support/nonworking/freerdp/freerdp.inc | |||
@@ -0,0 +1,51 @@ | |||
1 | # Copyright (C) 2010-2012 O.S. Systems Software Ltda. All Rights Reserved | ||
2 | # Released under the MIT license | ||
3 | |||
4 | DESCRIPTION = "FreeRDP RDP client" | ||
5 | HOMEPAGE = "http://www.freerdp.com" | ||
6 | DEPENDS = "virtual/libx11 openssl libxcursor libxv cups alsa-lib pulseaudio pcsc-lite libxkbfile libxinerama" | ||
7 | SECTION = "x11/network" | ||
8 | LICENSE = "Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
10 | |||
11 | inherit pkgconfig cmake | ||
12 | |||
13 | EXTRA_OECMAKE += "-DWITH_PULSEAUDIO=ON \ | ||
14 | -DWITH_PCSC=ON \ | ||
15 | -DWITH_CUPS=ON \ | ||
16 | -DWITH_FFMPEG=OFF \ | ||
17 | -DWITH_CUNIT=OFF \ | ||
18 | -DWITH_X11=ON \ | ||
19 | -DWITH_XKBFILE=ON \ | ||
20 | -DWITH_XINERAMA=ON" | ||
21 | |||
22 | PACKAGES =+ "libfreerdp" | ||
23 | |||
24 | LEAD_SONAME = "libfreerdp.so" | ||
25 | FILES_libfreerdp = "${libdir}/lib*${SOLIBS}" | ||
26 | |||
27 | PACKAGES_DYNAMIC += "^libfreerdp-plugin-.*" | ||
28 | |||
29 | python populate_packages_prepend () { | ||
30 | freerdp_root = d.expand('${libdir}/freerdp') | ||
31 | |||
32 | do_split_packages(d, freerdp_root, '^(audin_.*)\.so$', | ||
33 | output_pattern='libfreerdp-plugin-%s', | ||
34 | description='FreeRDP plugin %s', | ||
35 | prepend=True, extra_depends='libfreerdp-plugin-audin') | ||
36 | |||
37 | do_split_packages(d, freerdp_root, '^(rdpsnd_.*)\.so$', | ||
38 | output_pattern='libfreerdp-plugin-%s', | ||
39 | description='FreeRDP plugin %s', | ||
40 | prepend=True, extra_depends='libfreerdp-plugin-rdpsnd') | ||
41 | |||
42 | do_split_packages(d, freerdp_root, '^(tsmf_.*)\.so$', | ||
43 | output_pattern='libfreerdp-plugin-%s', | ||
44 | description='FreeRDP plugin %s', | ||
45 | prepend=True, extra_depends='libfreerdp-plugin-tsmf') | ||
46 | |||
47 | do_split_packages(d, freerdp_root, '^([^-]*)\.so$', | ||
48 | output_pattern='libfreerdp-plugin-%s', | ||
49 | description='FreeRDP plugin %s', | ||
50 | prepend=True, extra_depends='') | ||
51 | } | ||