mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-05-01 03:00:26 -04:00
* Add unbuilt rio to updater-rio-0.2.37 * updater-rio-0.2.37: Package File Update Run on linux/amd64 container. --------- Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
38 lines
1005 B
Ruby
38 lines
1005 B
Ruby
require 'package'
|
|
|
|
class Rio < Package
|
|
description 'A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers.'
|
|
homepage 'https://raphamorim.io/rio'
|
|
version '0.2.37'
|
|
license 'MIT'
|
|
compatibility 'x86_64'
|
|
source_url 'https://github.com/raphamorim/rio.git'
|
|
git_hashtag "v#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
x86_64: '73837a6158b5794e29b04f440a756284b1289eaee4dfa64c1fc60322bf994b7b'
|
|
})
|
|
|
|
depends_on 'fontconfig' # R
|
|
depends_on 'freetype' # R
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'harfbuzz' # R
|
|
depends_on 'rust' => :build
|
|
depends_on 'sommelier' => :logical
|
|
depends_on 'wayland' # R
|
|
|
|
def self.build
|
|
system 'cargo build -p rioterm --release --no-default-features --features=x11,wayland'
|
|
end
|
|
|
|
def self.install
|
|
FileUtils.install 'target/release/rio', "#{CREW_DEST_PREFIX}/bin/rio", mode: 0o755
|
|
end
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nType 'rio' to get started.\n"
|
|
end
|
|
end
|