summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Rostovtsev <tetromino@gentoo.org>2012-11-09 18:24:12 +0000
committerAlexandre Rostovtsev <tetromino@gentoo.org>2012-11-09 18:24:12 +0000
commita33b07d38c500b44be7c1ab13233f94ccd1634aa (patch)
tree18b5c3ca00f7948985b19c1bfcd3374c4d61ffee /dev-libs/libgusb
parentVersion bump to fix -Pm handling #439422 by Nikolaj Sjujskij. (diff)
downloadgentoo-2-a33b07d38c500b44be7c1ab13233f94ccd1634aa.tar.gz
gentoo-2-a33b07d38c500b44be7c1ab13233f94ccd1634aa.tar.bz2
gentoo-2-a33b07d38c500b44be7c1ab13233f94ccd1634aa.zip
Version bump (bug #442428, thanks to Samuli Suominen). Update license.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r--dev-libs/libgusb/ChangeLog8
-rw-r--r--dev-libs/libgusb/libgusb-0.1.3.ebuild4
-rw-r--r--dev-libs/libgusb/libgusb-0.1.4.ebuild53
-rw-r--r--dev-libs/libgusb/metadata.xml5
4 files changed, 67 insertions, 3 deletions
diff --git a/dev-libs/libgusb/ChangeLog b/dev-libs/libgusb/ChangeLog
index 11c024725a8d..7cff0fb2410f 100644
--- a/dev-libs/libgusb/ChangeLog
+++ b/dev-libs/libgusb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libgusb
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/ChangeLog,v 1.19 2012/05/27 03:20:01 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/ChangeLog,v 1.20 2012/11/09 18:24:12 tetromino Exp $
+
+*libgusb-0.1.4 (09 Nov 2012)
+
+ 09 Nov 2012; Alexandre Rostovtsev <tetromino@gentoo.org>
+ libgusb-0.1.3.ebuild, +libgusb-0.1.4.ebuild, metadata.xml:
+ Version bump (bug #442428, thanks to Samuli Suominen). Update license.
27 May 2012; Matt Turner <mattst88@gentoo.org> libgusb-0.1.3.ebuild:
Added ~alpha, bug 390345.
diff --git a/dev-libs/libgusb/libgusb-0.1.3.ebuild b/dev-libs/libgusb/libgusb-0.1.3.ebuild
index 32e0b8f7c4ce..2c925535439f 100644
--- a/dev-libs/libgusb/libgusb-0.1.3.ebuild
+++ b/dev-libs/libgusb/libgusb-0.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/libgusb-0.1.3.ebuild,v 1.13 2012/05/27 03:20:01 mattst88 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/libgusb-0.1.3.ebuild,v 1.14 2012/11/09 18:24:12 tetromino Exp $
EAPI=4
@@ -8,7 +8,7 @@ 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"
+LICENSE="LGPL-2.1+"
SLOT="0"
KEYWORDS="~alpha amd64 arm hppa ~mips ppc ppc64 x86"
IUSE="static-libs"
diff --git a/dev-libs/libgusb/libgusb-0.1.4.ebuild b/dev-libs/libgusb/libgusb-0.1.4.ebuild
new file mode 100644
index 000000000000..51cb550b9f2d
--- /dev/null
+++ b/dev-libs/libgusb/libgusb-0.1.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libgusb/libgusb-0.1.4.ebuild,v 1.1 2012/11/09 18:24:12 tetromino Exp $
+
+EAPI=4
+
+VALA_MIN_API_VERSION="0.16"
+VALA_USE_DEPEND="vapigen"
+
+inherit eutils 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 ~mips ~ppc ~ppc64 ~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
+ virtual/libusb:1
+ || ( >=sys-fs/udev-171[gudev] <sys-fs/udev-171[extras] )
+ introspection? ( >=dev-libs/gobject-introspection-1.29 )"
+DEPEND="${RDEPEND}
+ app-arch/xz-utils
+ dev-libs/libxslt
+ dev-util/gtk-doc-am
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )"
+# gtk-doc-am needed for proper api docs installation
+
+# Tests try to access usb devices in /dev
+RESTRICT="test"
+
+src_prepare() {
+ use vala && vala_src_prepare
+}
+
+src_configure() {
+ econf \
+ $(use_enable introspection) \
+ $(use_enable static-libs static) \
+ $(use_enable vala)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}
diff --git a/dev-libs/libgusb/metadata.xml b/dev-libs/libgusb/metadata.xml
index da6fd63d0085..38f7f9e56a56 100644
--- a/dev-libs/libgusb/metadata.xml
+++ b/dev-libs/libgusb/metadata.xml
@@ -2,4 +2,9 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>gnome</herd>
+<use>
+ <flag name="introspection">Use <pkg>dev-libs/gobject-introspection</pkg>
+ for introspection</flag>
+ <flag name="vala">Enable bindings for <pkg>dev-lang/vala</pkg></flag>
+</use>
</pkgmetadata>