Gentoo Archives: gentoo-commits

From: "Alexis Ballier (aballier)" <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/dbus-glib: ChangeLog dbus-glib-0.100.2-r1.ebuild
Date: Mon, 30 Dec 2013 08:35:18
Message-Id: 20131230083513.985032004C@flycatcher.gentoo.org
1 aballier 13/12/30 08:35:13
2
3 Modified: ChangeLog
4 Added: dbus-glib-0.100.2-r1.ebuild
5 Log:
6 convert to multilib, bug #494468 by Christoph Junghans
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
9
10 Revision Changes Path
11 1.139 dev-libs/dbus-glib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?rev=1.139&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?rev=1.139&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?r1=1.138&r2=1.139
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v
20 retrieving revision 1.138
21 retrieving revision 1.139
22 diff -u -r1.138 -r1.139
23 --- ChangeLog 5 Jun 2013 00:16:24 -0000 1.138
24 +++ ChangeLog 30 Dec 2013 08:35:13 -0000 1.139
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/dbus-glib
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.138 2013/06/05 00:16:24 vapier Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.139 2013/12/30 08:35:13 aballier Exp $
30 +
31 +*dbus-glib-0.100.2-r1 (30 Dec 2013)
32 +
33 + 30 Dec 2013; Alexis Ballier <aballier@g.o>
34 + +dbus-glib-0.100.2-r1.ebuild:
35 + convert to multilib, bug #494468 by Christoph Junghans
36
37 05 Jun 2013; Mike Frysinger <vapier@g.o> metadata.xml:
38 Add upstream CPE tag (security info) from ChromiumOS.
39
40
41
42 1.1 dev-libs/dbus-glib/dbus-glib-0.100.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: dbus-glib-0.100.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.100.2-r1.ebuild,v 1.1 2013/12/30 08:35:13 aballier Exp $
52
53 EAPI=5
54 inherit bash-completion-r1 eutils multilib-minimal
55
56 DESCRIPTION="D-Bus bindings for glib"
57 HOMEPAGE="http://dbus.freedesktop.org/"
58 SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
59
60 LICENSE="|| ( GPL-2 AFL-2.1 )"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
63 IUSE="debug doc static-libs test"
64
65 CDEPEND=">=dev-libs/expat-2[${MULTILIB_USEDEP}]
66 >=dev-libs/glib-2.26:2[${MULTILIB_USEDEP}]
67 >=sys-apps/dbus-1.6.2[${MULTILIB_USEDEP}]"
68 DEPEND="${CDEPEND}
69 virtual/pkgconfig
70 doc? ( >=dev-util/gtk-doc-1.4 )"
71 RDEPEND="${CDEPEND}
72 abi_x86_32? (
73 !<app-emulation/emul-linux-x86-baselibs-20131008-r8
74 !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
75 )"
76
77 # NEWS file is obsolete
78 DOCS=( AUTHORS ChangeLog HACKING README )
79
80 set_TBD() {
81 # out of sources build dir for make check
82 export TBD="${BUILD_DIR}-tests"
83 }
84
85 src_prepare() {
86 # Fix testsuite, bug #356699 (fixed in git master)
87 epatch "${FILESDIR}"/${PN}-0.100-fix-tests.patch
88
89 # Wrong sections.txt file in the tarball; https://bugs.freedesktop.org/show_bug.cgi?id=55830
90 cp "${FILESDIR}"/${PN}-0.100-dbus-glib-sections.txt doc/reference/dbus-glib-sections.txt || die
91 }
92
93 multilib_src_configure() {
94 local myconf=(
95 --localstatedir="${EPREFIX}"/var
96 --enable-bash-completion
97 $(use_enable debug verbose-mode)
98 $(use_enable debug asserts)
99 $(use_enable static-libs static)
100 $(multilib_build_binaries && use_enable doc gtk-doc || echo " --disable-gtk-doc")
101 )
102
103 ECONF_SOURCE="${S}" econf "${myconf[@]}"
104
105 if use test; then
106 set_TBD
107 mkdir "${TBD}"
108 cd "${TBD}"
109 einfo "Running configure in ${TBD}"
110 ECONF_SOURCE="${S}" econf \
111 "${myconf[@]}" \
112 $(use_enable test checks) \
113 $(use_enable test tests) \
114 $(use_enable test asserts) \
115 $(use_with test test-socket-dir "${T}"/dbus-test-socket)
116 fi
117 }
118
119 multilib_src_compile() {
120 emake
121
122 if use test; then
123 set_TBD
124 cd "${TBD}"
125 einfo "Running make in ${TBD}"
126 emake
127 fi
128 }
129
130 multilib_src_test() {
131 set_TBD
132 cd "${TBD}"
133 emake check
134 }
135
136 multilib_src_install_all() {
137 einstalldocs
138
139 newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
140 rm -rf "${ED}"/etc/bash_completion.d || die
141
142 prune_libtool_files
143 }