diff --git a/common/shlibs b/common/shlibs index 3c2e61870a..a635e46098 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3270,6 +3270,8 @@ libwayland-client++.so.0.2 libwaylandpp-2.2.0_1 libwayland-cursor++.so.0.2 libwaylandpp-2.2.0_1 libwayland-client-extra++.so.0.2 libwaylandpp-2.2.0_1 libfwup.so.1 fwupdate-10_1 +libfwupd.so.2 libfwupd-1.0.8_1 +libfwup.so.1 libfwup-11_1 libTKBin.so.7 occt-7.2.0p1_1 libTKDraw.so.7 occt-7.2.0p1_1 libTKSTEP209.so.7 occt-7.2.0p1_1 diff --git a/srcpkgs/fwupdate/template b/srcpkgs/fwupdate/template index 7e1a0c0573..053828fdad 100644 --- a/srcpkgs/fwupdate/template +++ b/srcpkgs/fwupdate/template @@ -1,16 +1,17 @@ # Template file for 'fwupdate' pkgname=fwupdate -version=10 -revision=2 +version=11 +revision=1 build_style=gnu-makefile hostmakedepends="pkg-config" -makedepends="popt-devel libefivar-devel gnu-efi-libs elfutils-devel" +makedepends="elfutils-devel gnu-efi-libs libefivar-devel popt-devel" +checkdepends="libabigail-tools" short_desc="Tool for using the ESRT and UpdateCapsule() to apply firmware updates" maintainer="maxice8 " license="GPL-2.0-or-later" homepage="https://github.com/rhboot/fwupdate" distfiles="https://github.com/rhboot/fwupdate/releases/download/${version}/fwupdate-${version}.tar.bz2" -checksum=73f42c6097049ab4490e88bd7742ac962f892e6660ee2af40254605d011ef33a +checksum=d350eae66215c90fdc70f46ea734dedbfe6006ec21b7e764114b7d9e283e4abe make_build_args="EFIDIR=void GNUEFIDIR=/usr/lib" make_install_args="EFIDIR=void LIBDIR=/usr/lib" nocross="fails to find efi.h" @@ -19,6 +20,10 @@ case "$XBPS_TARGET_MACHINE" in x86_64|i686) makedepends+=" libsmbios-devel" ;; esac +do_check() { + EFIDIR=void make abicheck +} + post_install() { vmkdir usr/lib/fwupdate mv "${DESTDIR}"/boot/efi/EFI "${DESTDIR}"/usr/lib/fwupdate/EFI @@ -28,12 +33,20 @@ post_install() { rm -rf "${DESTDIR}"/usr/lib/systemd } +libfwup_package() { + short_desc+=" - fwupdate library" + pkg_install() { + vmove "usr/lib/libfwup.so.*" + } +} + fwupdate-devel_package() { - depends="${sourcepkg}-${version}_${revision} libefivar-devel" + depends="libfwup-${version}_${revision} libefivar-devel" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig - vmove "usr/lib/*.so" + vmove usr/lib/libfwup.so + vmove usr/share/man/man3 } } diff --git a/srcpkgs/libfwup b/srcpkgs/libfwup new file mode 120000 index 0000000000..4e8c1ec30d --- /dev/null +++ b/srcpkgs/libfwup @@ -0,0 +1 @@ +fwupdate \ No newline at end of file