Commit 1f41daf9 authored by James Larrowe's avatar James Larrowe Committed by Ed Reel

Update FreeRDP package (#3128)

parent a975e3a4
...@@ -2,29 +2,51 @@ require 'package' ...@@ -2,29 +2,51 @@ require 'package'
class Freerdp < Package class Freerdp < Package
description 'FreeRDP is a free implementation of the Remote Desktop Protocol.' description 'FreeRDP is a free implementation of the Remote Desktop Protocol.'
homepage 'http://www.freerdp.com/' homepage 'https://www.freerdp.com/'
version '2.0.0-rc4' version '2.0.0-rc4-1'
source_url 'https://github.com/FreeRDP/FreeRDP/archive/2.0.0-rc4.tar.gz' source_url 'https://github.com/FreeRDP/FreeRDP/archive/2.0.0-rc4.tar.gz'
source_sha256 '3406f3bfab63f81c1533029a5bf73949ff60f22f6e155c5a08005b8b8afe6d49' source_sha256 '3406f3bfab63f81c1533029a5bf73949ff60f22f6e155c5a08005b8b8afe6d49'
depends_on 'ffmpeg'
depends_on 'gst_plugins_base'
depends_on 'cups' depends_on 'cups'
depends_on 'mesa'
depends_on 'xmlto' depends_on 'xmlto'
depends_on 'libxslt'
depends_on 'ninja' depends_on 'ninja'
depends_on 'xprop' depends_on 'xprop'
depends_on 'sommelier' depends_on 'ffmpeg'
depends_on 'linux_pam'
depends_on 'pulseaudio'
depends_on 'libmp3lame'
depends_on 'gst_plugins_base'
def self.build def self.build
system 'cmake', "-DCMAKE_INSTALL_PREFIX:PATH=#{CREW_PREFIX}", '-DWITH_SERVER=yes', '-DWITH_CLIENT=yes', '-DWITH_CHANNELS=yes', FileUtils.mkdir('build')
'-DBUILD_SHARED_LIBS=yes', '-DWITH_GSSAPI=yes', '-DWITH_DSP_FFMPEG=yes', '-DWITH_LIBSYSTEMD=OFF', '-DWITH_CUPS=ON', Dir.chdir('build') do
'-DWITH_PULSE=ON', "-DDOCBOOKXSL_DIR=#{CREW_PREFIX}/share/doc/docbook-xsl-1.79.2", '-GUnix Makefiles', '.' ENV['GSS_ROOT_FLAVOUR'] = 'MIT'
system 'make' system 'cmake',
"-DDOCBOOKXSL_DIR=#{CREW_PREFIX}/share/xml/xsl-stylesheets-1.79.2",
"-DCMAKE_INSTALL_PREFIX:PATH=#{CREW_PREFIX}",
'-DBUILD_SHARED_LIBS=ON',
'-DWITH_LIBSYSTEMD=OFF',
'-DWITH_DSP_FFMPEG=yes',
'-DWITH_CHANNELS=ON',
'-DWITH_SERVER=ON',
'-DWITH_CLIENT=ON',
'-DWITH_GSSAPI=ON',
'-GUnix Makefiles',
'-DWITH_PULSE=ON',
'-DWITH_CUPS=ON',
'-DWITH_SOXR=ON',
'-DWITH_LAME=ON',
'-DWITH_JPEG=ON',
'..'
system 'make'
end
end end
def self.install def self.install
system 'make', 'install', "DESTDIR=#{CREW_DEST_DIR}" Dir.chdir('build') do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end end
def self.postinstall def self.postinstall
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment