diff --git a/common/shlibs b/common/shlibs index 3f37bcd7614..e9c30f5953b 100644 --- a/common/shlibs +++ b/common/shlibs @@ -217,6 +217,7 @@ libpcrecpp.so.0 libpcrecpp-7.8_1 libgirepository-gimarshallingtests-1.0.so libgirepository-1.30_1 libgirepository-everything-1.0.so libgirepository-1.30_1 libgirepository-1.0.so.1 libgirepository-1.30_1 +libudev.so.0 libudev0-shim-1_1 libudev.so.1 eudev-libudev-1.6_1 libgudev-1.0.so.0 libgudev-230_1 libumockdev.so.0 libumockdev-0.17.6_1 diff --git a/srcpkgs/libudev0-shim/template b/srcpkgs/libudev0-shim/template new file mode 100644 index 00000000000..d7e47814678 --- /dev/null +++ b/srcpkgs/libudev0-shim/template @@ -0,0 +1,19 @@ +# Template file for 'libudev0-shim' +pkgname=libudev0-shim +version=1 +revision=1 +build_style=gnu-makefile +make_use_env=yes +hostmakedepends="patchelf" +makedepends="eudev-libudev-devel" +short_desc="Compability library shim for libudev.so.0" +maintainer="Andrew Benson " +license="LGPL-2.1-or-later" +homepage="https://github.com/archlinux/libudev0-shim" +distfiles="https://github.com/archlinux/libudev0-shim/archive/v${version}.tar.gz" +checksum=24a1072fa437935d6c4e1d9c1ce84f4ad1d7be45026f6ee7b0b3d77ec0f66e3c + +do_install() { + patchelf --add-needed libudev.so.1 libudev.so.0.0.9999 + vinstall libudev.so.0.0.9999 0755 usr/lib libudev.so.0 +}