Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libusb: libusb-1.0.18.ebuild ChangeLog
Date: Fri, 31 Jan 2014 16:21:00
Message-Id: 20140131162056.8956F2004C@flycatcher.gentoo.org
1 ssuominen 14/01/31 16:20:56
2
3 Modified: ChangeLog
4 Added: libusb-1.0.18.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
9
10 Revision Changes Path
11 1.152 dev-libs/libusb/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb/ChangeLog?rev=1.152&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb/ChangeLog?rev=1.152&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb/ChangeLog?r1=1.151&r2=1.152
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v
20 retrieving revision 1.151
21 retrieving revision 1.152
22 diff -u -r1.151 -r1.152
23 --- ChangeLog 8 Aug 2013 12:40:30 -0000 1.151
24 +++ ChangeLog 31 Jan 2014 16:20:56 -0000 1.152
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libusb
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.151 2013/08/08 12:40:30 ssuominen Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/ChangeLog,v 1.152 2014/01/31 16:20:56 ssuominen Exp $
31 +
32 +*libusb-1.0.18 (31 Jan 2014)
33 +
34 + 31 Jan 2014; Samuli Suominen <ssuominen@g.o> +libusb-1.0.18.ebuild:
35 + Version bump.
36
37 08 Aug 2013; Samuli Suominen <ssuominen@g.o> libusb-1.0.9-r2.ebuild:
38 Block revision of emul-linux-x86-baselibs that dropped the colliding files.
39
40
41
42 1.1 dev-libs/libusb/libusb-1.0.18.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb/libusb-1.0.18.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libusb/libusb-1.0.18.ebuild?rev=1.1&content-type=text/plain
46
47 Index: libusb-1.0.18.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libusb/libusb-1.0.18.ebuild,v 1.1 2014/01/31 16:20:56 ssuominen Exp $
52
53 EAPI=5
54 inherit eutils toolchain-funcs multilib-minimal
55
56 DESCRIPTION="Userspace access to USB devices"
57 HOMEPAGE="http://libusb.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
59
60 LICENSE="LGPL-2.1"
61 SLOT="1"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
63 IUSE="debug doc examples static-libs test udev"
64
65 RDEPEND="udev? ( >=virtual/udev-200[${MULTILIB_USEDEP}] )
66 !dev-libs/libusb:1
67 abi_x86_32? (
68 !<=app-emulation/emul-linux-x86-baselibs-20130224-r7
69 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
70 )"
71 DEPEND="${RDEPEND}
72 doc? ( app-doc/doxygen )
73 !udev? ( virtual/os-headers )"
74
75 multilib_src_configure() {
76 ECONF_SOURCE=${S} \
77 econf \
78 $(use_enable static-libs static) \
79 $(use_enable udev) \
80 $(use_enable debug debug-log) \
81 $(use_enable test tests-build)
82 }
83
84 multilib_src_compile() {
85 emake
86
87 if multilib_is_native_abi; then
88 use doc && emake -C doc docs
89 fi
90 }
91
92 multilib_src_test() {
93 emake check
94
95 # noinst_PROGRAMS from tests/Makefile.am
96 tests/stress || die
97 }
98
99 multilib_src_install() {
100 emake DESTDIR="${D}" install
101
102 if multilib_is_native_abi; then
103 gen_usr_ldscript -a usb-1.0
104
105 use doc && dohtml doc/html/*
106 fi
107 }
108
109 multilib_src_install_all() {
110 prune_libtool_files
111
112 dodoc AUTHORS ChangeLog NEWS PORTING README TODO
113
114 if use examples; then
115 insinto /usr/share/doc/${PF}/examples
116 doins examples/*.{c,h}
117 insinto /usr/share/doc/${PF}/examples/getopt
118 doins examples/getopt/*.{c,h}
119 fi
120 }