This version includes major improvements since last version packages. It also had the plugins packages redone so they can be choosen depending on the environment needs.
Signed-off-by: Otavio Salvador <ota...@ossystems.com.br> --- meta-oe/recipes-support/freerdp/freerdp.inc | 40 +++++++++++++++++++---- meta-oe/recipes-support/freerdp/freerdp_git.bb | 4 +- 2 files changed, 35 insertions(+), 9 deletions(-) diff --git a/meta-oe/recipes-support/freerdp/freerdp.inc b/meta-oe/recipes-support/freerdp/freerdp.inc index f8402c7..15ceadd 100644 --- a/meta-oe/recipes-support/freerdp/freerdp.inc +++ b/meta-oe/recipes-support/freerdp/freerdp.inc @@ -3,22 +3,48 @@ DESCRIPTION = "FreeRDP RDP client" HOMEPAGE = "http://freerdp.sourceforge.net" -DEPENDS = "virtual/libx11 openssl libxcursor cups alsa-lib" +DEPENDS = "virtual/libx11 openssl libxcursor libxv cups alsa-lib pulseaudio libpcsclite" SECTION = "x11/network" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" -INC_PR = "r0" +INC_PR = "r1" inherit pkgconfig autotools -do_configure_prepend() { - # workaround gcc linking bug - find ${S} -name 'Makefile.am' | xargs -n 1 sed 's,-pthread,-lpthread -D_REENTRANT,g' -i -} +EXTRA_OECONF += "--with-smartcard --with-xvideo" do_install_append() { rm ${D}${libdir}/freerdp/*.a ${D}${libdir}/freerdp/*.la } -RDEPENDS_${PN} += "xprop" +PACKAGES =+ "libfreerdp" + +LEAD_SONAME = "libfreerdp.so" +FILES_libfreerdp = "${libdir}/lib*${SOLIBS}" + +PACKAGES_DYNAMIC = "libfreerdp-plugin-*" + +python populate_packages_prepend () { + freerdp_root = bb.data.expand('${libdir}/freerdp', d) + + do_split_packages(d, freerdp_root, '^(audin_.*)\.so$', + output_pattern='libfreerdp-plugin-%s', + description='FreeRDP plugin %s', + prepend=True, extra_depends='libfreerdp-plugin-audin') + + do_split_packages(d, freerdp_root, '^(rdpsnd_.*)\.so$', + output_pattern='libfreerdp-plugin-%s', + description='FreeRDP plugin %s', + prepend=True, extra_depends='libfreerdp-plugin-rdpsnd') + + do_split_packages(d, freerdp_root, '^(tsmf_.*)\.so$', + output_pattern='libfreerdp-plugin-%s', + description='FreeRDP plugin %s', + prepend=True, extra_depends='libfreerdp-plugin-tsmf') + + do_split_packages(d, freerdp_root, '^([^-]*)\.so$', + output_pattern='libfreerdp-plugin-%s', + description='FreeRDP plugin %s', + prepend=True, extra_depends='') +} diff --git a/meta-oe/recipes-support/freerdp/freerdp_git.bb b/meta-oe/recipes-support/freerdp/freerdp_git.bb index fa4ba9a..5bdb0af 100644 --- a/meta-oe/recipes-support/freerdp/freerdp_git.bb +++ b/meta-oe/recipes-support/freerdp/freerdp_git.bb @@ -7,9 +7,9 @@ inherit gitpkgv PV = "gitr${SRCPV}" PKGV = "${GITPKGVTAG}" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" -SRCREV = "7bbde4fb3bc3a781364d0a626c49bc165cc507fd" +SRCREV = "18e9d76c1936b6efc4ab6d91d127be20173ec903" SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;protocol=git" S = "${WORKDIR}/git" -- 1.7.2.5 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel