diff --git a/patches/xf86-input-evdev/jinx-working-patch.patch b/patches/xf86-input-evdev/jinx-working-patch.patch new file mode 100644 index 00000000..438c5301 --- /dev/null +++ b/patches/xf86-input-evdev/jinx-working-patch.patch @@ -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) diff --git a/recipes/mtdev b/recipes/mtdev new file mode 100644 index 00000000..815b48d7 --- /dev/null +++ b/recipes/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 +} diff --git a/recipes/xf86-input-evdev b/recipes/xf86-input-evdev new file mode 100644 index 00000000..0f5e48b7 --- /dev/null +++ b/recipes/xf86-input-evdev @@ -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 +} diff --git a/source-recipes/mtdev b/source-recipes/mtdev new file mode 100644 index 00000000..53631d12 --- /dev/null +++ b/source-recipes/mtdev @@ -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 +} diff --git a/source-recipes/xf86-input-evdev b/source-recipes/xf86-input-evdev new file mode 100644 index 00000000..a47f8797 --- /dev/null +++ b/source-recipes/xf86-input-evdev @@ -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 +}