mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
ports: add mtdev and xf86-input-evdev
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
diff --git xf86-input-evdev-clean/configure.ac xf86-input-evdev-workdir/configure.ac
|
||||
index 378faa2..b2ca6d5 100644
|
||||
--- xf86-input-evdev-clean/configure.ac
|
||||
+++ xf86-input-evdev-workdir/configure.ac
|
||||
@@ -45,7 +45,7 @@ XORG_DEFAULT_OPTIONS
|
||||
|
||||
# Obtain compiler/linker options from server and required extensions
|
||||
PKG_CHECK_MODULES(XORG, [xorg-server >= 1.18] xproto [inputproto >= 2.1.99.3])
|
||||
-PKG_CHECK_MODULES(UDEV, libudev, [AC_DEFINE(HAVE_LIBUDEV, 1,[libudev support])])
|
||||
+PKG_CHECK_MODULES(UDEV, libudev, [AC_DEFINE(HAVE_LIBUDEV, 1,[libudev support])], [:])
|
||||
|
||||
PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4])
|
||||
PKG_CHECK_MODULES(MTDEV, mtdev)
|
||||
@@ -0,0 +1,18 @@
|
||||
name=mtdev
|
||||
revision=1
|
||||
from_source=mtdev
|
||||
imagedeps="gcc"
|
||||
hostdeps="xgcc xbinutils pkgconfig automake autoconf"
|
||||
deps="base xorg-server"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-static
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=${dest_dir} install
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
name=xf86-input-evdev
|
||||
revision=1
|
||||
from_source=xf86-input-evdev
|
||||
imagedeps="gcc"
|
||||
hostdeps="xgcc xbinutils pkgconfig automake autoconf util-macros libtool"
|
||||
deps="base xorg-server libevdev mtdev"
|
||||
|
||||
configure() {
|
||||
${source_dir}/configure --prefix=${prefix} --host=x86_64-astral --disable-static --with-sdkdir=${prefix}/include/xorg
|
||||
}
|
||||
|
||||
build() {
|
||||
make -j${parallelism}
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR=${dest_dir} install
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=mtdev
|
||||
version=1.1.7
|
||||
source_method=tarball
|
||||
tarball_url="https://bitmath.org/code/mtdev/mtdev-${version}.tar.bz2"
|
||||
tarball_sha512="e6174a38cf67a7f12a3b91e4e27bf74a18d6b40a956950ebb748b0ff87092333daa07e647b26038a5a533f8c48e845d649848e6ba99ea009ab87fd96ed188152"
|
||||
hostdeps="autoconf automake libtool pkgconfig"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
name=xf86-input-evdev
|
||||
version=2.11.0
|
||||
source_method=tarball
|
||||
tarball_url="https://gitlab.freedesktop.org/xorg/driver/xf86-input-evdev/-/archive/xf86-input-evdev-2.11.0/xf86-input-evdev-xf86-input-evdev-2.11.0.tar.gz"
|
||||
tarball_sha512="c61de2bec1fb57624d3051e02f4f442852b1e3abe766bbfbb031ff48ccf880ac52b0d7d0b4bcb9971cf4a8601493ff159e5ee55b78583bd9f24d6d73b1d43150"
|
||||
hostdeps="autoconf automake libtool pkgconfig util-macros"
|
||||
|
||||
prepare() {
|
||||
autoreconf -fvi
|
||||
}
|
||||
Reference in New Issue
Block a user