mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 16:08:08 -05:00
* Remove i686 compatibility from packages with dependencies incompatible with i686 * Remove armv7l compatibility from packages with dependencies incompatible with arvm7l * Abort builds/installs if the package has incompatible dependencies
36 lines
1018 B
Ruby
36 lines
1018 B
Ruby
require 'package'
|
|
|
|
class Libxcursor < Package
|
|
description 'X.org X Cursor management library'
|
|
homepage 'http://www.x.org'
|
|
version '1.2.1'
|
|
license 'MIT'
|
|
compatibility 'x86_64 aarch64 armv7l'
|
|
source_url "https://www.x.org/archive/individual/lib/libXcursor-#{version}.tar.gz"
|
|
source_sha256 '77f96b9ad0a3c422cfa826afabaf1e02b9bfbfc8908c5fa1a45094faad074b98'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'a97308abd1cfddffb54a08bbfd1018ec8d33a139e1cace109815a0056889369a',
|
|
armv7l: 'a97308abd1cfddffb54a08bbfd1018ec8d33a139e1cace109815a0056889369a',
|
|
x86_64: 'c107c34d8e95d54f6552dd17c105f062a1d27016421db5628298c118bf992708'
|
|
})
|
|
|
|
depends_on 'libxrender'
|
|
depends_on 'libxfixes'
|
|
depends_on 'glibc' # R
|
|
depends_on 'libx11' # R
|
|
depends_on 'libxau' # R
|
|
depends_on 'libxcb' # R
|
|
depends_on 'libxdmcp' # R
|
|
|
|
def self.build
|
|
system "./configure #{CREW_OPTIONS}"
|
|
system 'make'
|
|
end
|
|
|
|
def self.install
|
|
system 'make', "DESTDIR=#{CREW_DEST_DIR}", 'install'
|
|
end
|
|
end
|