diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-07 00:27:05 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2015-10-13 12:28:16 +0200 |
| commit | 23400e939e08d3b88a871f9c981b6bdd08483499 (patch) | |
| tree | bed800ba84f7a62c6a2c5d687c96d02e3c5783cd /meta-oe/recipes-support/freerdp | |
| parent | 95a373e4af95bbd2fbad479d513265ea4b7bc4fd (diff) | |
| download | meta-openembedded-23400e939e08d3b88a871f9c981b6bdd08483499.tar.gz | |
Revert "freerdp: move to nonworking"
* use PNBLACKLIST instead
This reverts commit 353b2ceff20c8fcf4d58e048cab8b88f1fdccf9e.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/freerdp')
| -rw-r--r-- | meta-oe/recipes-support/freerdp/freerdp.inc | 51 | ||||
| -rw-r--r-- | meta-oe/recipes-support/freerdp/freerdp_git.bb | 21 |
2 files changed, 72 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..34dac4b7e7 --- /dev/null +++ b/meta-oe/recipes-support/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 | } | ||
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..fd7f74c86f --- /dev/null +++ b/meta-oe/recipes-support/freerdp/freerdp_git.bb | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # Copyright (C) 2010-2012, O.S. Systems Software Ltda. | ||
| 2 | # Released under the MIT license | ||
| 3 | |||
| 4 | include freerdp.inc | ||
| 5 | |||
| 6 | inherit gitpkgv | ||
| 7 | |||
| 8 | PV = "1.0.2+gitr${SRCPV}" | ||
| 9 | PKGV = "${GITPKGVTAG}" | ||
| 10 | |||
| 11 | EXTRA_OECMAKE += "-DWITH_MANPAGES=OFF" | ||
| 12 | |||
| 13 | SRCREV = "f311acaffb9190567e2b478a98d7cbfaf2709f6b" | ||
| 14 | SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-1.0" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/git" | ||
| 17 | |||
| 18 | PNBLACKLIST[freerdp] ?= "Installs into double prefix, causing all files installed in /usr/usr and empty packages" | ||
| 19 | # freerdp-1.0.2+gitrAUTOINC+f311acaffb: freerdp: Files/directories were installed but not shipped | ||
| 20 | # /usr/usr | ||
| 21 | # .... | ||
