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
43 lines
1.4 KiB
Ruby
43 lines
1.4 KiB
Ruby
require 'package'
|
|
|
|
class Codelobster < Package
|
|
description 'Free cross-platform IDE for PHP/HTML/CSS/JavaScript development'
|
|
homepage 'https://www.codelobster.com/'
|
|
version '1.11.1'
|
|
license 'Shareware'
|
|
compatibility 'x86_64'
|
|
source_url 'https://codelobsteride.com/download/codelobsteride-1.11.1_amd64.deb'
|
|
source_sha256 '7772c87bfda497caaf48ce92ad263a57e537f898fc307a213159d73f9b95e28f'
|
|
|
|
depends_on 'curl'
|
|
depends_on 'sommelier'
|
|
|
|
binary_url({
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/codelobster/1.11.1_x86_64/codelobster-1.11.1-chromeos-x86_64.tpxz'
|
|
})
|
|
binary_sha256({
|
|
x86_64: 'bb07382b79b0c7a2a11fb35f2364e21497623362f8ef1a21fac0dbda15a5b6d8'
|
|
})
|
|
|
|
def self.preflight
|
|
abort 'Please remove qt5_base before installing.'.lightred if File.exist? "#{CREW_LIB_PREFIX}/libQt5Core.so.5"
|
|
free_space = `echo $(($(stat -f --format="%a*%S" .)))`.chomp.to_i
|
|
abort 'Not enough free disk space. You need at least 1.2 GB to install.'.lightred if free_space < 1288490188
|
|
end
|
|
|
|
def self.patch
|
|
system "sed -i 's,/opt/,#{CREW_PREFIX}/share/,' usr/bin/codelobster"
|
|
end
|
|
|
|
def self.install
|
|
FileUtils.mkdir_p CREW_DEST_PREFIX
|
|
FileUtils.mv 'usr/bin', CREW_DEST_PREFIX
|
|
FileUtils.mv 'usr/share', CREW_DEST_PREFIX
|
|
FileUtils.mv 'opt/codelobsteride', "#{CREW_DEST_PREFIX}/share"
|
|
end
|
|
|
|
def self.postinstall
|
|
puts "\nType 'codelobster' to get started.\n".lightblue
|
|
end
|
|
end
|