Gentoo Archives: gentoo-commits

From: "Richard Farina (zerochaos)" <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/libbtbb: libbtbb-2012.10.3.ebuild ChangeLog
Date: Tue, 30 Oct 2012 17:07:32
Message-Id: 20121030170709.D9EE721600@flycatcher.gentoo.org
1 zerochaos 12/10/30 17:07:09
2
3 Modified: ChangeLog
4 Added: libbtbb-2012.10.3.ebuild
5 Log:
6 version bump with 32 bit fixes
7
8 (Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key DD11F94A)
9
10 Revision Changes Path
11 1.10 net-libs/libbtbb/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libbtbb/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libbtbb/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libbtbb/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/libbtbb/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 8 Oct 2012 19:09:35 -0000 1.9
24 +++ ChangeLog 30 Oct 2012 17:07:09 -0000 1.10
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-libs/libbtbb
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/ChangeLog,v 1.9 2012/10/08 19:09:35 zerochaos Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/ChangeLog,v 1.10 2012/10/30 17:07:09 zerochaos Exp $
30 +
31 +*libbtbb-2012.10.3 (30 Oct 2012)
32 +
33 + 30 Oct 2012; Rick Farina <zerochaos@g.o> +libbtbb-2012.10.3.ebuild:
34 + version bump with 32 bit fixes
35
36 08 Oct 2012; Rick Farina <zerochaos@g.o> libbtbb-9999.ebuild:
37 fixing live ebuild to match release
38
39
40
41 1.1 net-libs/libbtbb/libbtbb-2012.10.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libbtbb/libbtbb-2012.10.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/libbtbb/libbtbb-2012.10.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libbtbb-2012.10.3.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-libs/libbtbb/libbtbb-2012.10.3.ebuild,v 1.1 2012/10/30 17:07:09 zerochaos Exp $
51
52 EAPI=4
53
54 inherit multilib cmake-utils
55
56 DESCRIPTION="A library to decode Bluetooth baseband packets"
57 HOMEPAGE="http://libbtbb.sourceforge.net/"
58
59 if [[ ${PV} == "9999" ]] ; then
60 EGIT_REPO_URI="http://git.code.sf.net/p/libbtbb/code"
61 SRC_URI=""
62 inherit git-2
63 KEYWORDS=""
64 else
65 MY_P=${P/\./-}
66 MY_P=${MY_P/./-R}
67 S=${WORKDIR}/${MY_P}
68 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.xz"
69 KEYWORDS="~amd64 ~arm ~x86"
70 fi
71
72 LICENSE="GPL-2"
73 SLOT="0"
74 IUSE="+wireshark"
75
76 RDEPEND="
77 wireshark? (
78 dev-libs/glib
79 >=net-analyzer/wireshark-1.8.3-r1
80 )
81 "
82 DEPEND="${RDEPEND}
83 wireshark? ( virtual/pkgconfig )"
84
85 get_PV() { local pv=$(best_version "$1"); pv=${pv#"$1-"}; echo "${pv%-r[0-9]*}"; }
86
87 CMAKE_USE_DIR="${S}"/wireshark/plugins/btbb
88
89 src_prepare() {
90 sed -i \
91 -e '/set(CMAKE_INSTALL_LIBDIR/ d' \
92 -e "s:R} N:R}/wireshark/plugins/$(get_PV net-analyzer/wireshark) N:" \
93 ${CMAKE_USE_DIR}/CMakeLists.txt || die
94 }
95
96 src_compile() {
97 default_src_compile
98 use wireshark && cmake-utils_src_compile
99 }
100
101 src_install() {
102 dodir /usr/$(get_libdir)
103 dodir /usr/include
104 emake LDCONFIG=true DESTDIR="${D}" INSTALL_DIR="${ED}/usr/$(get_libdir)" INCLUDE_DIR="${ED}/usr/include" install
105
106 use wireshark && cmake-utils_src_install
107 }