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

32 lines
999 B
Ruby

require 'package'
class Libxinerama < Package
description 'Xorg library, Xinerama is an X11 extension which provides support for extending a desktop across multiple displays.'
homepage 'https://www.x.org/wiki/'
compatibility 'x86_64 aarch64 armv7l'
license 'MIT'
version '1.1.4'
source_url 'https://www.x.org/archive/individual/lib/libXinerama-1.1.4.tar.bz2'
source_sha256 '0008dbd7ecf717e1e507eed1856ab0d9cf946d03201b85d5dcf61489bb02d720'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '81226a97841812aa627e05e987a06156d84ba790813c13edefe4bbcb9d615e2a',
armv7l: '81226a97841812aa627e05e987a06156d84ba790813c13edefe4bbcb9d615e2a',
x86_64: 'f8f11b3529ecba47aba8b2055b6bba3fa57f155d5fc4882322cf4595bb5e64cd'
})
depends_on 'libx11'
depends_on 'libxcb'
depends_on 'libxext'
def self.build
system "./configure #{CREW_CONFIGURE_OPTIONS}"
system 'make'
end
def self.install
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
end
end