Commit 963350fe authored by lovedheart's avatar lovedheart Committed by Ed Reel

add xorg input drivers (#2311)

parent 660efa11
require 'package'
class Xorg_evdev_driver < Package
description 'The Xorg Evdev Driver package contains a Generic Linux input driver for the Xorg X server. It handles keyboard, mouse, touchpads and wacom devices, though for touchpad and wacom advanced handling, additional drivers are required.'
homepage 'https://www.x.org'
version '2.10.5'
source_url 'https://www.x.org/pub/individual/driver/xf86-input-evdev-2.10.5.tar.bz2'
source_sha256 '9edaa6205baf6d2922cc4db3d8e54a7e7773b5f733b0ae90f6be7725f983b70d'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_evdev_driver-2.10.5-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_evdev_driver-2.10.5-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_evdev_driver-2.10.5-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_evdev_driver-2.10.5-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '69b9c2a60e21804c4169b7e596a7fe3527dd4b82546dd0b7e69253b302d277e9',
armv7l: '69b9c2a60e21804c4169b7e596a7fe3527dd4b82546dd0b7e69253b302d277e9',
i686: 'e7736ea7242f41d4b9e0f73a1ee3c015ab72395984f4514f9eb81f5765edfe44',
x86_64: '7f8aab503e08725b8c0271af7df95fa10b69cb907cfde990539565ca2c6588eb',
})
depends_on 'mtdev'
depends_on 'libevdev'
depends_on 'xorg_server' => :build
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-shared",
"--disable-static"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
end
require 'package'
class Xorg_libinput_driver < Package
description 'The X.Org Libinput Driver is a thin wrapper around libinput and allows for libinput to be used for input devices in X. This driver can be used as drop-in replacement for evdev and synaptics.'
homepage 'https://www.x.org'
version '0.27.1'
source_url 'https://www.x.org/pub/individual/driver/xf86-input-libinput-0.27.1.tar.bz2'
source_sha256 'd4ad8dc5ad6f962a3f15f61ba9e9f8e37fa0b57eee9f484e2bd721d60ca72ee6'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_libinput_driver-0.27.1-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_libinput_driver-0.27.1-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_libinput_driver-0.27.1-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_libinput_driver-0.27.1-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'a053e2e55ad706913c2cafcca3a4f6da585e315c672bebafadc6844dc75f3663',
armv7l: 'a053e2e55ad706913c2cafcca3a4f6da585e315c672bebafadc6844dc75f3663',
i686: '0c23475c55d3d53df1cbe63035e42f59f555ce54295c1e868cb2c7547b41bc01',
x86_64: 'f3687b252e47e08cabe31e7c7d09f00c456b875eaa0826b2de446d70674c4727',
})
depends_on 'libinput'
depends_on 'xorg_server' => :build
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-shared",
"--disable-static"
system "make"
end
def self.check
system "make -j#{CREW_NPROC} check"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
end
require 'package'
class Xorg_synaptics_driver < Package
description 'The Xorg Synaptics Driver package contains the X.Org Input Driver, support programs and SDK for Synaptics touchpads.'
homepage 'https://www.x.org'
version '1.9.0'
source_url 'https://www.x.org/pub/individual/driver/xf86-input-synaptics-1.9.0.tar.bz2'
source_sha256 'afba3289d7a40217a19d90db98ce181772f9ca6d77e1898727b0afcf02073b5a'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_synaptics_driver-1.9.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_synaptics_driver-1.9.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_synaptics_driver-1.9.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_synaptics_driver-1.9.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: '455fe9b17ba1b46407680ad3c5c4f21ba2ff4db55578d3144fcfe38d844980dc',
armv7l: '455fe9b17ba1b46407680ad3c5c4f21ba2ff4db55578d3144fcfe38d844980dc',
i686: '98044f62dd0086f390d229b7b829a1d4347674a13c02a6aff24a52a2fc04622c',
x86_64: '20281d2dadaed44efd343a85e889b24062bdf9532354757ca266ba621931782a',
})
depends_on 'libevdev'
depends_on 'xorg_server' => :build
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-shared",
"--disable-static"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
end
require 'package'
class Xorg_vmmouse_driver < Package
description 'The Xorg VMMouse Driver package contains the VMMouse input driver for the Xorg X server. The VMMouse driver enables support for the special VMMouse protocol that is provided by VMware virtual machines to give absolute pointer positioning.'
homepage 'https://www.x.org'
version '13.1.0'
source_url 'https://www.x.org/pub/individual/driver/xf86-input-vmmouse-13.1.0.tar.bz2'
source_sha256 '0af558957ac1be1b2863712c2475de8f4d7f14921fd01ded2e2fde4921b19319'
binary_url ({
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_vmmouse_driver-13.1.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_vmmouse_driver-13.1.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
i686: '8c58a01d23d1a4dfc99227a9353a714ef8d317446e934d1c69adb7a151d69806',
x86_64: 'fafabffe2375b86cc48e6351767f37c61bf67739a3182647ea3a2393aee5b3d1',
})
depends_on 'xorg_server' => :build
# Only for x86 architecture
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-shared",
"--disable-static"
system "make"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
end
require 'package'
class Xorg_wacom_driver < Package
description 'The Xorg Wacom Driver package contains the X.Org X11 driver and SDK for Wacom and Wacom-like tablets. It is not required to use a Wacom tablet, the xf86-input-evdev driver can handle these devices without problems.'
homepage 'https://www.x.org'
version '0.36.0'
source_url 'https://downloads.sourceforge.net/linuxwacom/xf86-input-wacom-0.36.0.tar.bz2'
source_sha256 'eae7c5d2872b1433c8d679bb42b00213403eb2a0544c514f4df2b586284c23f6'
binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_wacom_driver-0.36.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_wacom_driver-0.36.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_wacom_driver-0.36.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/xorg_wacom_driver-0.36.0-chromeos-x86_64.tar.xz',
})
binary_sha256 ({
aarch64: 'ee29a6cace73be6ba1a7d219ad1b177a27329b60bd54ac535bcf542810e49f17',
armv7l: 'ee29a6cace73be6ba1a7d219ad1b177a27329b60bd54ac535bcf542810e49f17',
i686: 'b626188aa89986e4440c8a549bfd3b96805c97b7bd7e243a129ebe86eddb17c1',
x86_64: 'bb728fe3c71174876921f48677d5c796a44789d42f919f4169bc64ad08757258',
})
depends_on 'xorg_server' => :build
def self.build
system "./configure",
"--prefix=#{CREW_PREFIX}",
"--libdir=#{CREW_LIB_PREFIX}",
"--enable-shared",
"--disable-static",
"--with-systemd-unit-dir=no"
system "make"
end
def self.check
system "make -j#{CREW_NPROC} check"
end
def self.install
system "make", "DESTDIR=#{CREW_DEST_DIR}", "install-strip"
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment