virtual/libusb: revbump to require latest dev-libs/libusb
authorMike Frysinger <vapier@gentoo.org>
Fri, 14 Aug 2015 01:18:00 +0000 (21:18 -0400)
committerMike Frysinger <vapier@gentoo.org>
Fri, 14 Aug 2015 01:30:10 +0000 (21:30 -0400)
virtual/libusb/libusb-1-r2.ebuild [new file with mode: 0644]

diff --git a/virtual/libusb/libusb-1-r2.ebuild b/virtual/libusb/libusb-1-r2.ebuild
new file mode 100644 (file)
index 0000000..7053dc3
--- /dev/null
@@ -0,0 +1,25 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit multilib-build
+
+DESCRIPTION="Virtual for libusb"
+HOMEPAGE=""
+SRC_URI=""
+
+LICENSE=""
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="udev"
+
+# We force a recent libusb so that downstream consumers of virtual/libusb
+# can depend on us directly (and not have to force >=libusb-1.0.19).
+RDEPEND="
+       || (
+               >=dev-libs/libusb-1.0.19:1[udev(+)?,${MULTILIB_USEDEP}]
+               >=sys-freebsd/freebsd-lib-9.1-r10[usb,${MULTILIB_USEDEP}]
+       )
+"
+DEPEND=""