Files
chromebrew/packages/screen.rb
github-actions[bot] 626a53a7a7 Update buildsystems to use buildsystem name variables, and report contents of those variables/methods during use. (#11936)
* Update buildsystems, update jq, add jq to core for arm.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Only report build options if they exist.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix overeager sed replacement.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* workflow debugging

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add logging for build errors.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Revert to function in each package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update jq since it needs gcc14 to build.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to buildsystems

* remove deprecated gfbgraph

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* fix git tag for gnome_maps

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update llvm20 package file.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update gnome_maps deps.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Abstract out buildsystems_methods reporting.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Keep LIBC_VERSION const from being empty.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update crew_profile_base and libxml2

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* clarify

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* lint

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libarchive

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update libavif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* more updates

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add libxml2 build comment.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add build comment to libarchive.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Don't warn for missing directory during package removal.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-05-23 19:50:48 +00:00

33 lines
1.2 KiB
Ruby

require 'buildsystems/autotools'
class Screen < Autotools
description 'Screen is a full-screen window manager that multiplexes a physical terminal between several processes, typically interactive shells.'
homepage 'https://www.gnu.org/software/screen/'
version '5.0.1'
license 'GPL-3+'
compatibility 'all'
source_url "https://git.savannah.gnu.org/cgit/screen.git/snapshot/screen-v.#{version}.tar.gz"
source_sha256 'e90c84930a439b005cce01f76f13e30a4947efe4f4421acd37f02951c6bcab9d'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '6f8ba1f3091dfc7707505637d29f0babb5666bc2b3efb276c70da4323e6bc301',
armv7l: '6f8ba1f3091dfc7707505637d29f0babb5666bc2b3efb276c70da4323e6bc301',
i686: 'e5ebb986ea1e1d1ba5b4e36da6b8948e3f697cee109e870564a472d4e1ade607',
x86_64: '7c3d258a354d407120a67e8a075c1365e48cce382ea5581b7b3ae9fbba0cad79'
})
depends_on 'glibc' # R
depends_on 'libxcrypt' # R
depends_on 'linux_pam' # R
depends_on 'ncurses' # R
autotools_configure_options "--enable-colors256 CFLAGS='-I#{CREW_PREFIX}/include/ncursesw'"
def self.prebuild
system "sed -i 's,/usr/bin/perl,#{CREW_PREFIX}/bin/perl,g' mktar.pl"
system './mktar.pl'
system "tar fx screen-#{version}.tar.gz --strip-components=1"
end
end