Add udev support
parent
666e64b84a
commit
6cda465a67
|
@ -1,6 +1,7 @@
|
|||
# Supported
|
||||
- libGLU
|
||||
- libpcap
|
||||
- libudev
|
||||
- MinGW
|
||||
|
||||
# Missing
|
||||
|
@ -15,7 +16,6 @@
|
|||
|
||||
# TODO
|
||||
- libsane
|
||||
- libudev
|
||||
- libFAudio
|
||||
- vkd3d
|
||||
- libldap (OpenLDAP)
|
||||
|
|
|
@ -0,0 +1,61 @@
|
|||
name: libudev-meta
|
||||
modules:
|
||||
- name: libudev-platform
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.bz2
|
||||
sha256: 4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab
|
||||
builddir: true
|
||||
config-opts:
|
||||
- --disable-gudev
|
||||
- --disable-hwdb
|
||||
- --disable-introspection
|
||||
- --disable-keymap
|
||||
- --disable-logging
|
||||
- --disable-mtd_probe
|
||||
- CFLAGS=-include sys/sysmacros.h
|
||||
build-options:
|
||||
make-install-args:
|
||||
- DESTDIR=/usr/tmp_udev
|
||||
- install
|
||||
post-install:
|
||||
- rm -rfv /usr/tmp_udev/usr/share
|
||||
- mv /usr/tmp_udev/usr/sbin /usr/tmp_udev/usr/bin
|
||||
- cp -rav /usr/tmp_udev/usr /
|
||||
- rm -rfv /usr/tmp_udev
|
||||
cleanup-platform:
|
||||
- "*.la"
|
||||
- "*.a"
|
||||
- "/include"
|
||||
- name: libudev-32bit
|
||||
sources:
|
||||
- type: archive
|
||||
url: https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev-175.tar.bz2
|
||||
sha256: 4c7937fe5a1521316ea571188745b9a00a9fdf314228cffc53a7ba9e5968b7ab
|
||||
builddir: true
|
||||
config-opts:
|
||||
- --build=i686-unknown-linux
|
||||
- --libdir=/usr/lib32
|
||||
- --disable-gudev
|
||||
- --disable-hwdb
|
||||
- --disable-introspection
|
||||
- --disable-keymap
|
||||
- --disable-logging
|
||||
- --disable-mtd_probe
|
||||
- CFLAGS=-include sys/sysmacros.h -m32
|
||||
- CXXFLAGS=-m32
|
||||
- LDFLAGS=-m32
|
||||
build-options:
|
||||
make-install-args:
|
||||
- DESTDIR=/usr/tmp_udev
|
||||
- install
|
||||
post-install:
|
||||
- rm -rfv /usr/tmp_udev/usr/share /usr/tmp_udev/usr/sbin /usr/tmp_udev/usr/libexec
|
||||
- cp -rav /usr/tmp_udev/usr /
|
||||
- rm -rfv /usr/tmp_udev
|
||||
cleanup-platform:
|
||||
- "*.la"
|
||||
- "*.a"
|
||||
- "/include"
|
||||
only-arches:
|
||||
- x86_64
|
|
@ -6,3 +6,4 @@ modules:
|
|||
- winetricks.yaml
|
||||
- libglu.yaml
|
||||
- libpcap.yaml
|
||||
- libudev.yaml
|
||||
|
|
Loading…
Reference in New Issue