From a1bf160faf4b8faefc240ac5e4898dc0a591e7e2 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Jan 27 2022 14:10:30 +0000 Subject: pcr: libosmocore: fix libremakepkg build due to missing libusb Without that fix it builds fine with makepkg if you have libusb installed but it fails with libremakepkg with the following error: | checking for LIBUSB... no | configure: error: Package requirements (libusb-1.0) were not met: | | Package 'libusb-1.0', required by 'virtual:world', not found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables LIBUSB_CFLAGS | and LIBUSB_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. Signed-off-by: Denis 'GNUtoo' Carikli --- diff --git a/pcr/libosmocore/PKGBUILD b/pcr/libosmocore/PKGBUILD index 206994c..c1de1d5 100644 --- a/pcr/libosmocore/PKGBUILD +++ b/pcr/libosmocore/PKGBUILD @@ -3,11 +3,11 @@ # Contributor (AUR): Denis 'GNUtoo' Carikli # parabola changes and rationale: -# no changes. +# - Added libusb in makedepends, patch sent upstream, not reviewed yet pkgname=libosmocore pkgver=1.6.0 -pkgrel=1 +pkgrel=2 pkgdesc="core libs for osmocom" arch=('armv7h' 'i686' 'x86_64') url="http://bb.osmocom.org/trac/wiki/libosmocore" @@ -16,7 +16,7 @@ groups=() provides=() depends=('pcsclite' 'lksctp-tools' 'talloc' 'gnutls') optdepends=('libusb: libosmousb support') -makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config') +makedepends=('autoconf' 'automake' 'make' 'gcc' 'libtool' 'git' 'pkg-config' 'libusb') source=("git://git.osmocom.org/libosmocore.git#tag=$pkgver") md5sums=('SKIP')