wok annotate freerdp/receipt @ rev 20695
Add cddetect & nrg2iso
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 05 12:16:45 2019 +0100 (2019-02-05) |
parents | 91225efb1858 |
children | 9820f9ae38d5 |
rev | line source |
---|---|
pascal@8256 | 1 # SliTaz package receipt. |
pascal@8256 | 2 |
pascal@8256 | 3 PACKAGE="freerdp" |
pascal@17770 | 4 GITHASH="770c67d340d5f0a7b48d53a1ae0fc23aff748fc4" # 1.1-stable 12 mar 2015 |
pascal@17767 | 5 VERSION=${GITHASH:0:7} |
pascal@8256 | 6 CATEGORY="network" |
pascal@8256 | 7 SHORT_DESC="Remote Desktop Protocol (RDP) client for Windows terminal server" |
pascal@8256 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15215 | 9 LICENSE="Apache" |
pascal@17768 | 10 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@8256 | 11 WEB_SITE="http://www.freerdp.com/" |
pascal@17767 | 12 WGET_URL="https://github.com/FreeRDP/FreeRDP/archive/$GITHASH.zip" |
pascal@15215 | 13 |
pascal@13310 | 14 DEPENDS="zlib libkrb5 libssl libcomerr cups alsa-lib libxcb xorg-libXcursor \ |
pascal@13313 | 15 ffmpeg xorg-libXv pcsc-lite" |
pascal@13310 | 16 BUILD_DEPENDS="zlib-dev openssl-dev cups-dev alsa-lib-dev libxcb-dev xorg-dev \ |
pascal@13313 | 17 xorg-dev-proto wget cmake ffmpeg-dev xorg-libXv-dev pcsc-lite-dev" |
pascal@8256 | 18 TAGS="rdp remote-desktop" |
pascal@8256 | 19 |
pascal@8256 | 20 # Rules to configure and make the package. |
pascal@8256 | 21 compile_rules() |
pascal@8256 | 22 { |
pascal@17767 | 23 sed -i -e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|' \ |
pascal@16419 | 24 -e 's/.*dsp_mask.*/av_set_cpu_flags_mask(AV_CPU_FLAG_SSE2 | AV_CPU_FLAG_MMX2);/' \ |
pascal@16419 | 25 channels/tsmf/client/ffmpeg/tsmf_ffmpeg.c |
pascal@16419 | 26 |
pascal@13313 | 27 cmake -DWITH_PCSC=ON -DCMAKE_INSTALL_PREFIX=/usr . && |
pascal@8256 | 28 make && |
pascal@13310 | 29 make DESTDIR=$DESTDIR install |
pascal@8256 | 30 } |
pascal@8256 | 31 |
pascal@8256 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@8256 | 33 genpkg_rules() |
pascal@8256 | 34 { |
pascal@8256 | 35 mkdir -p $fs/usr/lib/freerdp $fs/usr/share |
pascal@13310 | 36 cp -a $install/usr/bin $fs/usr |
pascal@13310 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@8256 | 38 } |