diff options
-rw-r--r-- | packaging/hal-rootstrap.spec | 1 | ||||
-rw-r--r-- | rs_resource/OSS/libudev-rs.xml | 22 |
2 files changed, 23 insertions, 0 deletions
diff --git a/packaging/hal-rootstrap.spec b/packaging/hal-rootstrap.spec index 8060d08..3818999 100644 --- a/packaging/hal-rootstrap.spec +++ b/packaging/hal-rootstrap.spec @@ -393,6 +393,7 @@ BuildRequires: zlib-devel BuildRequires: pkgconfig(alsa) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(hal-api-audio) BuildRequires: pkgconfig(hal-api-bluetooth) diff --git a/rs_resource/OSS/libudev-rs.xml b/rs_resource/OSS/libudev-rs.xml new file mode 100644 index 0000000..ce2fc00 --- /dev/null +++ b/rs_resource/OSS/libudev-rs.xml @@ -0,0 +1,22 @@ +<?xml version="1.0"?> +<rootstrap name="libudev"> + <emulator> + <rpm accept="libsystemd" arch="i686"/> + <rpm accept="systemd-devel" arch="i686"/> + </emulator> + <target> + <rpm accept="libsystemd" arch="armv7l"/> + <rpm accept="systemd-devel" arch="armv7l"/> + </target> + + <pkgconfig> + <file>libudev.pc</file> + </pkgconfig> + + <necessary> + <file>/usr/include/libudev.h</file> + <file>/usr/lib/libudev.so</file> + <file>/usr/lib/libudev.so.1</file> + <file>/usr/lib/libudev.so.1.6.16</file> + </necessary> +</rootstrap> |