summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-27 15:09:37 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2022-01-27 15:10:30 +0100
commita1bf160faf4b8faefc240ac5e4898dc0a591e7e2 (patch)
treec4343887ddc8d31e37c68f03534e3d253fe339f7 /pcr
parent312b3fea3af1ccb792c37c9b6a336f90d0e2ab40 (diff)
downloadabslibre-a1bf160faf4b8faefc240ac5e4898dc0a591e7e2.tar.gz
abslibre-a1bf160faf4b8faefc240ac5e4898dc0a591e7e2.tar.bz2
abslibre-a1bf160faf4b8faefc240ac5e4898dc0a591e7e2.zip
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 <GNUtoo@cyberdimension.org>
Diffstat (limited to 'pcr')
-rw-r--r--pcr/libosmocore/PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/pcr/libosmocore/PKGBUILD b/pcr/libosmocore/PKGBUILD
index 206994cb8..c1de1d5a2 100644
--- a/pcr/libosmocore/PKGBUILD
+++ b/pcr/libosmocore/PKGBUILD
@@ -3,11 +3,11 @@
# Contributor (AUR): Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
# 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')