summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-02-22 19:36:57 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-02-22 19:36:57 (GMT)
commitd96638f6d57163d0fb102d8449c1caf22aa7c0d9 (patch)
tree30ebb93e0133e3567b39a471d1fb3612c0009038
parent91d69f6312503564456b5525374e41939e79a248 (diff)
downloadlinhes_pkgbuild-d96638f6d57163d0fb102d8449c1caf22aa7c0d9.zip
linhes_pkgbuild-d96638f6d57163d0fb102d8449c1caf22aa7c0d9.tar.gz
linhes_pkgbuild-d96638f6d57163d0fb102d8449c1caf22aa7c0d9.tar.bz2
libusb-compat: update to 0.1.5
-rw-r--r--abs/core/libusb-compat/PKGBUILD17
-rw-r--r--abs/core/libusb-compat/libusb-0.1-libusbx.patch17
2 files changed, 6 insertions, 28 deletions
diff --git a/abs/core/libusb-compat/PKGBUILD b/abs/core/libusb-compat/PKGBUILD
index 76b8f05..b90bdba 100644
--- a/abs/core/libusb-compat/PKGBUILD
+++ b/abs/core/libusb-compat/PKGBUILD
@@ -1,26 +1,20 @@
-# $Id: PKGBUILD 162998 2012-07-05 06:50:21Z tpowa $
-# Maintainer:
+# $Id$
+# Maintainer: Tom Gundersen <teg@jklm.no>
# Contributor: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: arjan <arjan@archlinux.org>
pkgname=libusb-compat
-pkgver=0.1.4
-pkgrel=2
+pkgver=0.1.5
+pkgrel=1
pkgdesc="Library to enable user space application programs to communicate with USB devices"
arch=('i686' 'x86_64')
url="http://libusb.sourceforge.net/"
license=('LGPL')
depends=('libusb' 'sh')
-options=('!libtool')
-source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2"
- "libusb-0.1-libusbx.patch")
-md5sums=('2ca521fffadd0c28fdf174e6ec73865b'
- '1612c3982f307da1332d6db57b16742b')
+source=("http://downloads.sourceforge.net/${pkgname%-*}/${pkgname}-${pkgver%.*}/$pkgname-$pkgver/${pkgname}-${pkgver}.tar.bz2")
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- # http://libusb.org/ticket/138 can be removed with libusbx 1.0.13
- patch -Np0 -i ../libusb-0.1-libusbx.patch
./configure --prefix=/usr --disable-static
make
}
@@ -30,3 +24,4 @@ package() {
make DESTDIR="${pkgdir}" install
}
+md5sums=('2780b6a758a1e2c2943bdbf7faf740e4')
diff --git a/abs/core/libusb-compat/libusb-0.1-libusbx.patch b/abs/core/libusb-compat/libusb-0.1-libusbx.patch
deleted file mode 100644
index 6156365..0000000
--- a/abs/core/libusb-compat/libusb-0.1-libusbx.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-http://bugs.gentoo.org/423135
-
---- libusb/core.c
-+++ libusb/core.c
-@@ -32,12 +32,6 @@
- static libusb_context *ctx = NULL;
- static int usb_debug = 0;
-
--enum usbi_log_level {
-- LOG_LEVEL_DEBUG,
-- LOG_LEVEL_INFO,
-- LOG_LEVEL_WARNING,
-- LOG_LEVEL_ERROR,
--};
-
- #ifdef ENABLE_LOGGING
- #define _usbi_log(level, fmt...) usbi_log(level, __FUNCTION__, fmt)