Files
chromebrew/packages/tmate.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

38 lines
1.3 KiB
Ruby

# Adapted from Arch Linux tmate PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/tmate/trunk/PKGBUILD
require 'buildsystems/autotools'
class Tmate < Autotools
description 'Instant terminal sharing'
homepage 'https://tmate.io/'
version '2.4.0-ac91951'
license 'BSD'
compatibility 'all'
source_url 'https://github.com/tmate-io/tmate.git'
git_hashtag 'ac919516f4f1b10ec928e20b3a5034d18f609d68'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '53ca884b461b0e34612171b60c28b6838c9dc33ecb36c2d6da8befef1fba605b',
armv7l: '53ca884b461b0e34612171b60c28b6838c9dc33ecb36c2d6da8befef1fba605b',
i686: '5928cc1a9f8d2b2535f785f76e1547caf8991299aeeb847e7bd521aa973eea3e',
x86_64: 'dc79411626db463321de78c38d06e9183bd1aea714082a944c4bc298aeb3146d'
})
depends_on 'glibc' # R
depends_on 'libevent' # R
depends_on 'libssh' # R
depends_on 'libutempter' # R
depends_on 'msgpack_c' # R
depends_on 'ncurses' # R
def self.patch
# Patch for msgpack_c 6.x
downloader 'https://github.com/tmate-io/tmate/pull/281.patch', '9f4f315a92b959606d42d672cf8c7312afaf4a93fba6c0e21bfee0b84e2d4667'
system 'patch -p1 -i 281.patch'
end
autotools_pre_configure_options "CFLAGS='-I#{CREW_PREFIX}/include/ncurses' CPPFLAGS='-I#{CREW_PREFIX}/include/ncurses'"
end