From 8aa51a5e03149837504688ab3cdcb7aa2ee5fadd Mon Sep 17 00:00:00 2001 From: davidovski Date: Sat, 19 Feb 2022 16:00:22 +0000 Subject: fixed dependency issues --- repo/system/libgudev.xibuild | 21 +++++++++++++++++++++ repo/system/mtdev.xibuild | 20 ++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 repo/system/libgudev.xibuild create mode 100644 repo/system/mtdev.xibuild (limited to 'repo/system') diff --git a/repo/system/libgudev.xibuild b/repo/system/libgudev.xibuild new file mode 100644 index 0000000..7ed1eab --- /dev/null +++ b/repo/system/libgudev.xibuild @@ -0,0 +1,21 @@ +#!/bin/bash + +MAKEDEPS=(meson) +DEPS=(glib2 libudev) + +PKG_VER=237 +SOURCE=https://download.gnome.org/sources/libgudev/$PKG_VER/libgudev-$PKG_VER.tar.xz +DESC="GObject bindings for libudev" + +build () { + mkdir build && + cd build && + + meson --prefix=/usr --buildtype=release .. && + ninja + +} + +package () { + DESTDIR=$PKG_DEST ninja install +} diff --git a/repo/system/mtdev.xibuild b/repo/system/mtdev.xibuild new file mode 100644 index 0000000..4cb3646 --- /dev/null +++ b/repo/system/mtdev.xibuild @@ -0,0 +1,20 @@ +#!/bin/bash + +MAKEDEPS=(make ) +DEPS=(glibc) + +PKG_VER=1.1.6 +SOURCE=https://bitmath.org/code/mtdev/mtdev-$PKG_VER.tar.bz2 + +DESC="A stand-alone library which transforms all variants of kernel MT events to the slotted type B protocol" + +build () { + ./configure --prefix=/usr --disable-static && + make + +} + +package () { + make DESTDIR=$PKG_DEST install +} + -- cgit v1.2.1