wok-next annotate freerdp/receipt @ rev 16478
Up xpaint + libXaw3dXft and add to ARM (would be nice to have a small paint tool in next R-Pi release
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 01:56:24 2014 +0200 (2014-04-23) |
parents | 7bb096863642 |
children | 4d24d6167d12 |
rev | line source |
---|---|
pascal@8256 | 1 # SliTaz package receipt. |
pascal@8256 | 2 |
pascal@8256 | 3 PACKAGE="freerdp" |
pascal@16419 | 4 VERSION="1.1.0-beta+2013071101" |
pascal@8256 | 5 CATEGORY="network" |
pascal@8256 | 6 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server" |
pascal@8256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15215 | 8 LICENSE="Apache" |
pascal@14355 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@8256 | 10 WEB_SITE="http://www.freerdp.com/" |
pascal@14355 | 11 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$VERSION.tar.gz" |
pascal@15215 | 12 |
pascal@13310 | 13 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \ |
pascal@13313 | 14 ffmpeg xorg-libXv pcsc-lite" |
pascal@13310 | 15 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \ |
pascal@13313 | 16 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev" |
pascal@8256 | 17 TAGS="rdp remote-desktop" |
pascal@8256 | 18 |
pascal@8256 | 19 # Rules to configure and make the package. |
pascal@8256 | 20 compile_rules() |
pascal@8256 | 21 { |
pascal@16419 | 22 sed -i -e 's|CodecID|AV&|' -e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|' \ |
pascal@16419 | 23 -e 's/.*dsp_mask.*/av_set_cpu_flags_mask(AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2);/' \ |
pascal@16419 | 24 channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c |
pascal@16419 | 25 |
pascal@13313 | 26 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@8256 | 27 make && |
pascal@13310 | 28 make DESTDIR=$DESTDIR install |
pascal@8256 | 29 } |
pascal@8256 | 30 |
pascal@8256 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8256 | 32 genpkg_rules() |
pascal@8256 | 33 { |
pascal@8256 | 34 mkdir -p $fs/usr/lib/freerdp $fs/usr/share |
pascal@13310 | 35 cp -a $install/usr/bin $fs/usr |
pascal@13310 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@8256 | 37 } |