summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli2022-01-30 18:18:22 -0800
committerMatt Johnson2022-01-30 18:18:22 -0800
commit27370f3bce7ed539b94d887de8fbe6c6da3e7e8e (patch)
tree2a0bb0aada5d8c2974346648fde64f8b544e4b03
parentf5e4b9fb4c8ce1bd1cb215235474978932f59f38 (diff)
downloadaur-27370f3bce7ed539b94d887de8fbe6c6da3e7e8e.tar.gz
Add libusb in makedepends
If we don't have libusb installed, the build fails: | 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.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3746a00b6e01..349264eb41fb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = libosmocore
pkgdesc = core libs for osmocom
pkgver = 1.6.0
- pkgrel = 1
+ pkgrel = 2
url = http://bb.osmocom.org/trac/wiki/libosmocore
arch = armv7h
arch = i686
@@ -14,6 +14,7 @@ pkgbase = libosmocore
makedepends = libtool
makedepends = git
makedepends = pkg-config
+ makedepends = libusb
depends = pcsclite
depends = lksctp-tools
depends = talloc
diff --git a/PKGBUILD b/PKGBUILD
index 8fb16d6c514b..4b3f09392930 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
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"
@@ -13,7 +13,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')