Magellan Linux

Contents of /trunk/extras/freerdp/freerdp-1.0.1-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13995 - (show annotations) (download)
Sat Nov 3 17:15:15 2012 UTC (11 years, 7 months ago) by niro
File size: 1730 byte(s)
-rebuild against ffmpeg-1.0
1 # $Id$
2
3 PNAME="freerdp"
4 PVER="1.0.1"
5 PBUILD="r2"
6
7 PCAT="net-misc"
8
9 DESCRIPTION="FreeRDP is a free implementation of the Remote Desktop Protocol (RDP)."
10 HOMEPAGE="http://www.freerdp.com/"
11
12 DEPEND=">= dev-libs/openssl-1.0.1c
13 >= media-sound/libpulse-2.1
14 >= net-print/libcups-1.5
15 >= media-video/ffmpeg-1.0
16 >= media-libs/alsa-lib-1.0.26
17 >= x11-libs/libX11-1.4
18 >= x11-libs/libXext-1.3
19 >= x11-libs/libXcursor-1.1
20 >= x11-libs/libxkbfile-1
21 >= x11-libs/libXinerama-1.1
22 >= x11-libs/libXv-1"
23 #>= sys-apps/pcsc-lite-1.8
24
25 SDEPEND=">= x11-proto/xproto-7
26 >= x11-proto/xineramaproto-1.2
27 >= x11-proto/kbproto-1
28 >= x11-proto/xextproto-7.2"
29
30 SRCFILE="${PNAME}-${PVER}.tar.gz"
31 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
32
33 sminclude cmake mtools
34
35 SRC_URI=(
36 https://github.com/downloads/FreeRDP/FreeRDP/${SRCFILE}
37 mirror://${PNAME}/${SRCFILE}
38 )
39
40 UP2DATE="updatecmd https://github.com/FreeRDP/FreeRDP/downloads | grep freerdp-[0-9] | firsttarball gz"
41
42 src_compile()
43 {
44 # build outside of the source dir
45 install -d ${BUILDDIR}/build || die
46 cd ${BUILDDIR}/build
47
48 cmake_configure \
49 $(cmake_with OpenSSL) \
50 $(cmake_with PULSEAUDIO) \
51 $(cmake_with CUPS) \
52 $(cmake_with FFMPEG) \
53 $(cmake_with ALSA) \
54 $(cmake_with X11) \
55 $(cmake_with XKBFILE) \
56 $(cmake_with XINERAMA) \
57 $(cmake_with XEXT) \
58 $(cmake_with XCURSOR) \
59 $(cmake_with XV) \
60 $(cmake_with SERVER) \
61 $(cmake_without PCSC) \
62 $(cmake_without CUNIT) \
63 $(cmake_without DIRECTFB) \
64 || die
65
66 mmake || die
67 }
68
69 src_install()
70 {
71 cd ${BUILDDIR}/build
72 mmake DESTDIR=${BINDIR} install || die
73
74 # install server binary
75 minstalldir /usr/sbin || die
76 minstallexec server/X11/xfreerdp-server /usr/sbin/ || die
77
78 cd ${SRCDIR}
79 minstalldocs ChangeLog LICENSE README || die
80 }