af678184fe
pkgsrc changes: * Delete several Solaris backend patches, 1.0.21 contains all of them (patch-libusb_os_sunos__usb.c is still needed though) Changes: 2016-10-01: v1.0.21: * Core: Refactor code related to transfer flags and timeout handling * Darwin: Ignore root hub simulation devices * Darwin: Improved support for OS X El Capitan * Darwin: Work around devices with buggy endpoint descriptors * Darwin: Do not use objc_registerThreadWithCollector after its deprecation * Darwin: Use C11 atomics on 10.12+ as the OS atomics are now deprecated * Linux: Support preallocating kernel memory for zerocopy USB * Linux: Deal with receiving POLLERR before all transfers have completed * Solaris: Add solaris backend * Windows: Add Visual Studio 2015 support * Windows: Add usbdk backend * Prevent attempts to recursively handle events * Fix race condition in handle_timeout() * Allow transferred argument to be optional in bulk APIs * Various other bug fixes and improvements
38 lines
938 B
Makefile
38 lines
938 B
Makefile
# $NetBSD: Makefile,v 1.15 2017/10/02 13:20:28 leot Exp $
|
|
|
|
DISTNAME= libusb-1.0.21
|
|
PKGNAME= ${DISTNAME:S/libusb/libusb1/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://libusb.info/
|
|
COMMENT= USB Access Library (version 1)
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
# Solaris doesn't support the hardware-level interface (IIRC).
|
|
# Works on Dragonfly but explicitly not wanted by DragonFly upstream;
|
|
# see PR 47042.
|
|
NOT_FOR_PLATFORM= DragonFly-*-*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
PKGCONFIG_OVERRIDE+= libusb-1.0.pc.in
|
|
|
|
# systemd dependency
|
|
CONFIGURE_ARGS.Linux+= --disable-udev
|
|
|
|
CONFIGURE_ARGS+= --enable-tests-build
|
|
#CONFIGURE_ARGS+= --enable-examples-build
|
|
|
|
CONFLICTS= libusbx-[0-9]*
|
|
|
|
do-test:
|
|
cd ${WRKSRC}/tests && ./stress
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|