Annotation of /trunk/extras/freerdp/freerdp-2.0.0_rc4-r1.smage2
Parent Directory | Revision Log
Revision 32061 -
(hide annotations)
(download)
Wed Mar 20 00:18:21 2019 UTC (5 years, 6 months ago) by niro
File size: 1675 byte(s)
Wed Mar 20 00:18:21 2019 UTC (5 years, 6 months ago) by niro
File size: 1675 byte(s)
auto added: ver bump to 2.0.0_rc4-r1
1 | niro | 32059 | # $Id$ |
2 | |||
3 | PNAME="freerdp" | ||
4 | PVER="2.0.0_rc4" | ||
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.1 | ||
13 | >= media-sound/libpulse-10 | ||
14 | >= net-print/libcups-2.2 | ||
15 | niro | 32061 | >= media-video/ffmpeg-4.1 |
16 | niro | 32059 | >= media-libs/alsa-lib-1.1 |
17 | >= x11-libs/libX11-1.6 | ||
18 | >= x11-libs/libXext-1.3 | ||
19 | >= x11-libs/libXrandr-1.5 | ||
20 | >= x11-libs/libXcursor-1.1 | ||
21 | >= x11-libs/libxkbfile-1 | ||
22 | >= x11-libs/libXinerama-1.1 | ||
23 | >= x11-libs/libXv-1 | ||
24 | >= media-libs/gstreamer1.0-plugins-good-1.4 | ||
25 | >= dev-libs/dbus-glib-0.110 | ||
26 | >= net-nds/krb5-1.16" | ||
27 | |||
28 | SDEPEND=">= virtual/xproto | ||
29 | >= virtual/xineramaproto | ||
30 | >= virtual/kbproto-1 | ||
31 | >= virtual/xextproto | ||
32 | >= app-text/xmlto-0.0.28 | ||
33 | >= app-text/docbook-xsl-stylesheets-1.76" | ||
34 | |||
35 | SRCFILE="${PVER/_/-}.tar.gz" | ||
36 | SRCDIR="${BUILDDIR}/FreeRDP-${PVER/_/-}" | ||
37 | |||
38 | sminclude cmake rpath | ||
39 | |||
40 | SRC_URI=( | ||
41 | https://github.com/FreeRDP/FreeRDP/archive/${SRCFILE} | ||
42 | mirror://${PNAME}/${SRCFILE} | ||
43 | ) | ||
44 | |||
45 | UP2DATE="updatecmd https://github.com/FreeRDP/FreeRDP/downloads | grep freerdp-[0-9] | highesttarball gz" | ||
46 | |||
47 | src_compile() | ||
48 | { | ||
49 | # build outside of the source dir | ||
50 | install -d ${BUILDDIR}/build || die | ||
51 | cd ${BUILDDIR}/build | ||
52 | |||
53 | cmake_configure \ | ||
54 | $(cmake_with PULSE) \ | ||
55 | $(cmake_with CUPS) \ | ||
56 | $(cmake_with FFMPEG) \ | ||
57 | $(cmake_with ALSA) \ | ||
58 | $(cmake_with SERVER_CHANNELS) \ | ||
59 | $(cmake_with CLIENT_CHANNELS) \ | ||
60 | $(cmake_opt CHANNEL_URBDRC_CLIENT ON) \ | ||
61 | $(cmake_without NEON) \ | ||
62 | $(cmake_without WAYLAND) \ | ||
63 | || die | ||
64 | |||
65 | mmake || die | ||
66 | } | ||
67 | |||
68 | src_install() | ||
69 | { | ||
70 | cd ${BUILDDIR}/build | ||
71 | mmake DESTDIR=${BINDIR} install || die | ||
72 | |||
73 | # delete insecure rpath | ||
74 | mdeleterpath | ||
75 | |||
76 | cd ${SRCDIR} | ||
77 | minstalldocs ChangeLog LICENSE README || die | ||
78 | } |