summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-11-22 21:45:14 +0000
committerMichał Górny <mgorny@gentoo.org>2014-11-22 21:45:14 +0000
commit7c8256e6b4d955d18d5565325694b8f22911181b (patch)
tree613f76412a5890c3b03dfb9a1ffc20323627159b /dev-libs/libgusb
parentVersion bump with permission from creffett, bug #485756. (diff)
downloadgentoo-2-7c8256e6b4d955d18d5565325694b8f22911181b.tar.gz
gentoo-2-7c8256e6b4d955d18d5565325694b8f22911181b.tar.bz2
gentoo-2-7c8256e6b4d955d18d5565325694b8f22911181b.zip
Introduce multilib support as needed for x11-libs/gtk+:3.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r--dev-libs/libgusb/ChangeLog7
-rw-r--r--dev-libs/libgusb/libgusb-0.1.6-r1.ebuild53
2 files changed, 59 insertions, 1 deletions
diff --git a/dev-libs/libgusb/ChangeLog b/dev-libs/libgusb/ChangeLog
index ee780cac7e50..e79fd42e492d 100644
--- a/dev-libs/libgusb/ChangeLog
+++ b/dev-libs/libgusb/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libgusb
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/ChangeLog,v 1.41 2014/07/24 17:36:06 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/ChangeLog,v 1.42 2014/11/22 21:45:14 mgorny Exp $
+
+*libgusb-0.1.6-r1 (22 Nov 2014)
+
+ 22 Nov 2014; Michał Górny <mgorny@gentoo.org> +libgusb-0.1.6-r1.ebuild:
+ Introduce multilib support as needed for x11-libs/gtk+:3.
24 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> libgusb-0.1.6.ebuild:
Use virtual/libgudev with := for automatic rebuild instead of virtual/udev.
diff --git a/dev-libs/libgusb/libgusb-0.1.6-r1.ebuild b/dev-libs/libgusb/libgusb-0.1.6-r1.ebuild
new file mode 100644
index 000000000000..066b1e29f011
--- /dev/null
+++ b/dev-libs/libgusb/libgusb-0.1.6-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/libgusb-0.1.6-r1.ebuild,v 1.1 2014/11/22 21:45:14 mgorny Exp $
+
+EAPI=5
+VALA_MIN_API_VERSION="0.16"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils multilib-minimal vala
+
+DESCRIPTION="GObject wrapper for libusb"
+HOMEPAGE="https://gitorious.org/gusb/"
+SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="+introspection static-libs vala"
+REQUIRED_USE="vala? ( introspection )"
+
+# udev is effectively a required dependency: configuring with --disable-gudev
+# causes build failures
+RDEPEND=">=dev-libs/glib-2.28:2[${MULTILIB_USEDEP}]
+ virtual/libusb:1[${MULTILIB_USEDEP}]
+ virtual/libgudev:=[${MULTILIB_USEDEP}]
+ introspection? ( >=dev-libs/gobject-introspection-1.29 )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ dev-libs/libxslt
+ dev-util/gtk-doc-am
+ virtual/pkgconfig[${MULTILIB_USEDEP}]
+ vala? ( $(vala_depend) )"
+# gtk-doc-am needed for proper api docs installation
+
+# Tests try to access usb devices in /dev
+RESTRICT="test"
+
+multilib_src_configure() {
+ ECONF_SOURCE=${S} \
+ econf \
+ $(multilib_native_use_enable introspection) \
+ $(use_enable static-libs static) \
+ $(multilib_native_use_enable vala)
+
+ if multilib_is_native_abi; then
+ ln -s "${S}"/docs/api/html docs/api/html || die
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+ prune_libtool_files
+}