updater-xhost-1.0.10 — xhost → 1.0.10 (#13056)

* modernize package

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

* Add x86_64 build.

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

* updater-xhost-1.0.10: Package File Update Run on linux/amd64 container.

* updater-xhost-1.0.10: Package File Update Run on linux/arm/v7 container.

* Update compatibility.

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: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
This commit is contained in:
chromebrew-actions[bot]
2025-10-05 20:15:18 -05:00
committed by GitHub
parent 3cd8cabad0
commit c69663de36
4 changed files with 13 additions and 28 deletions

View File

@@ -1,3 +1,3 @@
# Total size: 13323
# Total size: 16257
/usr/local/bin/xhost
/usr/local/share/man/man1/xhost.1.gz
/usr/local/share/man/man1/xhost.1.zst

View File

@@ -1,2 +0,0 @@
/usr/local/bin/xhost
/usr/local/share/man/man1/xhost.1.gz

View File

@@ -1,3 +1,3 @@
# Total size: 32551
# Total size: 17869
/usr/local/bin/xhost
/usr/local/share/man/man1/xhost.1.gz
/usr/local/share/man/man1/xhost.1.zst

View File

@@ -1,36 +1,23 @@
require 'package'
require 'buildsystems/autotools'
class Xhost < Package
class Xhost < Autotools
description 'Server access control program for X'
homepage 'https://github.com/freedesktop/xorg-xhost'
version '1.0.8'
version '1.0.10'
license 'MIT'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://www.x.org/releases/individual/app/xhost-1.0.8.tar.bz2'
source_sha256 'a2dc3c579e13674947395ef8ccc1b3763f89012a216c2cc6277096489aadc396'
source_url 'https://gitlab.freedesktop.org/xorg/app/xhost.git'
git_hashtag "xhost-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '314e4cf5b09e6e4517639c6904efd5e7cb1336536524f102c210e9e5c4388b5b',
armv7l: '314e4cf5b09e6e4517639c6904efd5e7cb1336536524f102c210e9e5c4388b5b',
x86_64: '8e108d51711153c01c45343af91d6b1c7bd493e4da823ebe85209eb5278ee25a'
aarch64: 'b8d3a228a19525ccecf38bc5b213a220dba83d8e7717d43a4193b828f89e3556',
armv7l: 'b8d3a228a19525ccecf38bc5b213a220dba83d8e7717d43a4193b828f89e3556',
x86_64: '5bed726a341d3a6f9c6bdbc54cb68c008f08fbae8c4ffc200de30cee08deb529'
})
depends_on 'glibc' # R
depends_on 'libx11' # R
depends_on 'libxmu' # R
def self.build
system "./configure \
--enable-ipv6 \
--enable-tcp-transport \
--enable-unix-transport \
--enable-local-transport \
#{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
depends_on 'libxtrans' => :build
end