Commit 07556bd2 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Add remmina package and dependencies (#4191)

parent 07ce471f
require 'package'
class Avahi < Package
description 'Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite.'
homepage 'http://www.avahi.org/'
version '0.8'
compatibility 'all'
source_url 'https://github.com/lathiat/avahi/releases/download/v0.8/avahi-0.8.tar.gz'
source_sha256 '060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/avahi-0.8-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'f16034a97b70af23483fdbe9d498fce189c51bcc1eacdc79f6f4e0e8f97a87b9',
armv7l: 'f16034a97b70af23483fdbe9d498fce189c51bcc1eacdc79f6f4e0e8f97a87b9',
i686: '890033e6bb8f16878b4835839e1191ca7e58e0a104fc373957ee5288789f3622',
x86_64: 'ed4fcf10b5e53ab00559daa71c7f01894ee5baeb482b826a96badb88894a6f00',
})
depends_on 'gtk3'
depends_on 'libdaemon'
depends_on 'libevent'
depends_on 'mono'
depends_on 'qtbase'
def self.build
system "./configure #{CREW_OPTIONS} --with-distro=none --disable-python --disable-xmltoman"
system "sed -i '695d' Makefile"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Libdaemon < Package
description 'libdaemon is a lightweight C library that eases the writing of UNIX daemons.'
homepage 'http://0pointer.de/lennart/projects/libdaemon/'
version '0.14'
compatibility 'all'
source_url 'http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.14.tar.gz'
source_sha256 'fd23eb5f6f986dcc7e708307355ba3289abe03cc381fc47a80bca4a50aa6b834'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/libdaemon-0.14-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/libdaemon-0.14-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/libdaemon-0.14-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/libdaemon-0.14-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '352b9f73b8619625b9eaaf7725cd189c637987b4223f63e7a04cea9e61ec78b6',
armv7l: '352b9f73b8619625b9eaaf7725cd189c637987b4223f63e7a04cea9e61ec78b6',
i686: 'f0c4b57f8d6f3aba46920cc44efc57da08df353301cb12e100d7005968592299',
x86_64: 'a44869e8caed88eb021476bf3a9682394ac31c31bf7f74395a0995a3e74299dd',
})
def self.build
system "./configure #{CREW_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
require 'package'
class Remmina < Package
description 'The GTK Remmina Remote Desktop Client'
homepage 'https://remmina.org/'
version '1.2.30'
compatibility 'all'
source_url 'https://github.com/FreeRDP/Remmina/archive/v1.2.30.tar.gz'
source_sha256 'cf9528709fe531830f949bc4adcc806b86606942e7ee552fd6177fcd81d4d33f'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/remmina-1.2.30-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/remmina-1.2.30-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/remmina-1.2.30-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/remmina-1.2.30-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '5ad40d6de21df5ae704d03140f9b0e1ff4c1640f843655d640ea974a8834e14a',
armv7l: '5ad40d6de21df5ae704d03140f9b0e1ff4c1640f843655d640ea974a8834e14a',
i686: '645cf56246561bfb177bc8b6b64de3fd8dfa1cbfcb30a4a132b24fff4dd9195e',
x86_64: '1b50f77517a34bfb2964e3183c60d3ac9d97fa628694771536cbeda1e82f7898',
})
depends_on 'avahi'
depends_on 'freerdp'
depends_on 'gtkvte'
depends_on 'libsecret'
depends_on 'libsoup'
depends_on 'libvncserver'
depends_on 'sommelier'
def self.build
Dir.mkdir 'build'
Dir.chdir 'build' do
system 'cmake',
"-DLIBSSH_THREADS_LIBRARY=#{CREW_PREFIX}/include/libssh",
"-DCMAKE_C_FLAGS='-I#{CREW_PREFIX}/include/harfbuzz'",
"-DCMAKE_INSTALL_PREFIX=#{CREW_PREFIX}",
"-DCMAKE_INSTALL_LIBDIR=#{ARCH_LIB}",
'-DCMAKE_BUILD_TYPE=Release',
'-DWITH_APPINDICATOR=OFF',
'-DWITH_TELEPATHY=OFF',
'..'
system 'make'
end
end
def self.install
Dir.chdir 'build' do
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end
end
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