mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* qt => qt5 renames * update qt5 => qt5_ * update packages * change more deps * change gstreamer deps * more name changes and cleanups * add binaries for qt5_declarative * fixup qtfm * add qt5_wayland binary * cleanup * add some binaries * add qt5_base binary * add binaries * add logic for reporting packages needing cleanup * add color * update qt5_webengine package file * add more qt5 binaries * Add back qtcreator * add binaries for qt5_wayland * update version of qtcreator * Use CREW_LINKER during qmake * mold, fileutils adjustments * Add initial code for renaming packages * more verbose messages * add help comment * testing writing fixed up device.json * more fixup adjustments, remove gnome_icon_theme dep... this takes forever to install * suggested changes * suggested changes * update adwaita_icon_theme * add x86_64 binary for qt5_webengine * add jellyfin_media_player build * Add comments field to pkg fixup data array * Add deprecated package removal code * use pkgName not @pkg.name in remove * capitalize and adjust rescue code * fix pkg deprecation check logic * add qt rename message * print comment for renaming * adjust coloring, move rename message to after rename succeeds * add spacing * use lightcyan * use lightpurple * bumping major version * add other qbittorrent deps * add arm binaries for qt5_webengine * adjust some deps * add jellyfin_media_player build * suggested changes * suggested changes, add qmake to buildsystems
47 lines
1.8 KiB
Ruby
47 lines
1.8 KiB
Ruby
require 'package'
|
|
|
|
class Cloudcross < Package
|
|
description 'The CloudCross is an open source project for a synchronization between your devices and various cloud storages.'
|
|
homepage 'https://cloudcross.mastersoft24.ru/'
|
|
version '1.4.8'
|
|
license 'BSD'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/MasterSoft24/CloudCross/archive/v1.4.8.tar.gz'
|
|
source_sha256 'fe8ddc608b4aa099b841f5f13fd3ba7296f56c3e24ec2a63537b160715e3fa1b'
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cloudcross/1.4.8_armv7l/cloudcross-1.4.8-chromeos-armv7l.tar.zst',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cloudcross/1.4.8_armv7l/cloudcross-1.4.8-chromeos-armv7l.tar.zst',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cloudcross/1.4.8_i686/cloudcross-1.4.8-chromeos-i686.tar.zst',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/cloudcross/1.4.8_x86_64/cloudcross-1.4.8-chromeos-x86_64.tar.zst'
|
|
})
|
|
binary_sha256({
|
|
aarch64: '9ec558a90c340609af60fe5c745dd19cdf484fe48724a4090410908ada3d9818',
|
|
armv7l: '9ec558a90c340609af60fe5c745dd19cdf484fe48724a4090410908ada3d9818',
|
|
i686: 'a129f7f95723aceb1f3740d92ce7f5887ccc4355ee18d9a862afb3cf8718a611',
|
|
x86_64: 'b36c6764610ad51c82bc930b701968863bde93057ce11436b7a9cb9d41c3e398'
|
|
})
|
|
|
|
depends_on 'curl'
|
|
depends_on 'qt5_base' => :build
|
|
|
|
def self.build
|
|
dirs = %w[ccross-app ccross-curl-executor]
|
|
dirs.each do |dir|
|
|
Dir.chdir dir do
|
|
system 'qmake && make'
|
|
end
|
|
end
|
|
end
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p "#{CREW_DEST_PREFIX}/bin"
|
|
apps = %w[ccross-app/ccross ccross-curl-executor/ccross-curl]
|
|
FileUtils.install apps, "#{CREW_DEST_PREFIX}/bin", mode: 0o755
|
|
end
|
|
|
|
def self.postinstall
|
|
puts "\nEnter 'ccross -a' to get started.\n".lightblue
|
|
end
|
|
end
|