# $Id$ PNAME="freerdp" PVER="1.0.2" PBUILD="r1" PCAT="net-misc" DESCRIPTION="FreeRDP is a free implementation of the Remote Desktop Protocol (RDP)." HOMEPAGE="http://www.freerdp.com/" DEPEND=">= dev-libs/openssl-1.0.1e >= media-sound/libpulse-4 >= net-print/libcups-1.6 >= media-video/ffmpeg-1.2 >= media-libs/alsa-lib-1.0.27 >= x11-libs/libX11-1.6 >= x11-libs/libXext-1.3 >= x11-libs/libXcursor-1.1 >= x11-libs/libxkbfile-1 >= x11-libs/libXinerama-1.1 >= x11-libs/libXv-1 >= sys-apps/pcsc-lite-1.8" SDEPEND=">= x11-proto/xproto-7 >= x11-proto/xineramaproto-1.2 >= x11-proto/kbproto-1 >= x11-proto/xextproto-7.2" SRCFILE="${PVER}.tar.gz" SRCDIR="${BUILDDIR}/FreeRDP-${PVER}" sminclude cmake mtools SRC_URI=( https://github.com/downloads/FreeRDP/FreeRDP/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd https://github.com/FreeRDP/FreeRDP/downloads | grep freerdp-[0-9] | firsttarball gz" src_compile() { # build outside of the source dir install -d ${BUILDDIR}/build || die cd ${BUILDDIR}/build cmake_configure \ $(cmake_with OpenSSL) \ $(cmake_with PULSEAUDIO) \ $(cmake_with CUPS) \ $(cmake_with FFMPEG) \ $(cmake_with ALSA) \ $(cmake_with X11) \ $(cmake_with XKBFILE) \ $(cmake_with XINERAMA) \ $(cmake_with XEXT) \ $(cmake_with XCURSOR) \ $(cmake_with XV) \ $(cmake_with SERVER) \ $(cmake_with CLIENT) \ $(cmake_with PCSC) \ $(cmake_without CUNIT) \ $(cmake_without DIRECTFB) \ $(cmake_without NEON) \ || die mmake || die } src_install() { cd ${BUILDDIR}/build mmake DESTDIR=${BINDIR} install || die # install server binary minstalldir /usr/sbin || die minstallexec server/X11/xfreerdp-server /usr/sbin/ || die cd ${SRCDIR} minstalldocs ChangeLog LICENSE README || die }