Magellan Linux

Annotation of /branches/R11-unstable/extras/freerdp/freerdp-1.0.2-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19073 - (hide annotations) (download)
Tue Aug 27 12:40:23 2013 UTC (10 years, 8 months ago) by niro
Original Path: trunk/extras/freerdp/freerdp-1.0.2-r1.smage2
File size: 1763 byte(s)
-fixed SRC_URI
1 niro 19072 # $Id$
2    
3     PNAME="freerdp"
4     PVER="1.0.2"
5     PBUILD="r1"
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.1e
13     >= media-sound/libpulse-4
14     >= net-print/libcups-1.6
15     >= media-video/ffmpeg-1.2
16     >= media-libs/alsa-lib-1.0.27
17     >= x11-libs/libX11-1.6
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="${PVER}.tar.gz"
31     SRCDIR="${BUILDDIR}/FreeRDP-${PVER}"
32    
33     sminclude cmake mtools
34    
35     SRC_URI=(
36 niro 19073 https://github.com/FreeRDP/FreeRDP/archive/${SRCFILE}
37 niro 19072 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_with CLIENT) \
62     $(cmake_with PCSC) \
63     $(cmake_without CUNIT) \
64     $(cmake_without DIRECTFB) \
65     $(cmake_without NEON) \
66     || die
67    
68     mmake || die
69     }
70    
71     src_install()
72     {
73     cd ${BUILDDIR}/build
74     mmake DESTDIR=${BINDIR} install || die
75    
76     # install server binary
77     minstalldir /usr/sbin || die
78     minstallexec server/X11/xfreerdp-server /usr/sbin/ || die
79    
80     cd ${SRCDIR}
81     minstalldocs ChangeLog LICENSE README || die
82     }