Files
chromebrew/packages/libxrender.rb
Maximilian Downey Twiss f6b6cab229 Rename autotools constants to fall in line with the rest of crew (#10442)
* Rename CREW_OPTIONS to CREW_CONFIGURE_OPTIONS

* Rename build_extras and install_extras to configure_build_extras and configure_install_extras
2024-09-09 18:21:58 -05:00

37 lines
1.0 KiB
Ruby

require 'package'
class Libxrender < Package
description 'X Rendering Extension client library.'
homepage 'https://www.x.org/wiki/'
version '0.9.11'
license 'custom'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.freedesktop.org/xorg/lib/libxrender.git'
git_hashtag "libXrender-#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '859bf33ee1c94216071d6ef524e3f7ccb977cede86ab483b8936d6ef02ad802f',
armv7l: '859bf33ee1c94216071d6ef524e3f7ccb977cede86ab483b8936d6ef02ad802f',
x86_64: '247dda42e157a2eb78da0f9408e0cd8281787df630f6bba62e428d02dd31f217'
})
depends_on 'libx11'
depends_on 'glibc' # R
depends_on 'libbsd' # R
depends_on 'libmd' # R
depends_on 'libxau' # R
depends_on 'libxcb' # R
depends_on 'libxdmcp' # R
def self.build
system '[ -x configure ] || NOCONFIGURE=1 ./autogen.sh'
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end