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/dbus-glib: ChangeLog dbus-glib-0.98.ebuild
Date: Mon, 03 Oct 2011 11:58:49
Message-Id: 20111003115838.108812004B@flycatcher.gentoo.org
1 ssuominen 11/10/03 11:58:38
2
3 Modified: ChangeLog
4 Added: dbus-glib-0.98.ebuild
5 Log:
6 Version bump wrt #385435 by Rafał Mużyło
7
8 (Portage version: 2.2.0_alpha60/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.89 dev-libs/dbus-glib/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 29 Sep 2011 10:32:59 -0000 1.88
24 +++ ChangeLog 3 Oct 2011 11:58:37 -0000 1.89
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/dbus-glib
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.88 2011/09/29 10:32:59 grobian Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/ChangeLog,v 1.89 2011/10/03 11:58:37 ssuominen Exp $
30 +
31 +*dbus-glib-0.98 (03 Oct 2011)
32 +
33 + 03 Oct 2011; Samuli Suominen <ssuominen@g.o> +dbus-glib-0.98.ebuild:
34 + Version bump wrt #385435 by Rafał Mużyło
35
36 05 Aug 2011; Samuli Suominen <ssuominen@g.o> -dbus-glib-0.94.ebuild:
37 remove old
38
39
40
41 1.1 dev-libs/dbus-glib/dbus-glib-0.98.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.98.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.98.ebuild?rev=1.1&content-type=text/plain
45
46 Index: dbus-glib-0.98.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/dbus-glib/dbus-glib-0.98.ebuild,v 1.1 2011/10/03 11:58:37 ssuominen Exp $
51
52 EAPI=4
53 inherit bash-completion-r1
54
55 DESCRIPTION="D-Bus bindings for glib"
56 HOMEPAGE="http://dbus.freedesktop.org/"
57 SRC_URI="http://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz"
58
59 LICENSE="|| ( GPL-2 AFL-2.1 )"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="debug doc static-libs test"
63
64 RDEPEND=">=sys-apps/dbus-1.4.1
65 >=dev-libs/glib-2.26
66 >=dev-libs/expat-1.95.8"
67 DEPEND="${RDEPEND}
68 dev-util/pkgconfig
69 doc? ( >=dev-util/gtk-doc-1.4 )"
70
71 # out of sources build directory
72 BD=${WORKDIR}/${P}-build
73 # out of sources build dir for make check
74 TBD=${WORKDIR}/${P}-tests-build
75
76 src_configure() {
77 local my_conf
78
79 my_conf="--localstatedir=/var
80 --enable-bash-completion
81 $(use_enable debug verbose-mode)
82 $(use_enable debug asserts)
83 $(use_enable static-libs static)
84 $(use_enable doc gtk-doc)
85 --with-html-dir=/usr/share/doc/${PF}/html"
86
87 mkdir "${BD}"
88 cd "${BD}"
89 einfo "Running configure in ${BD}"
90 ECONF_SOURCE="${S}" econf ${my_conf}
91
92 if use test; then
93 mkdir "${TBD}"
94 cd "${TBD}"
95 einfo "Running configure in ${TBD}"
96 ECONF_SOURCE="${S}" econf \
97 ${my_conf} \
98 $(use_enable test checks) \
99 $(use_enable test tests) \
100 $(use_enable test asserts) \
101 $(use_with test test-socket-dir "${T}"/dbus-test-socket)
102 fi
103 }
104
105 src_compile() {
106 cd "${BD}"
107 einfo "Running make in ${BD}"
108 emake
109
110 if use test; then
111 cd "${TBD}"
112 einfo "Running make in ${TBD}"
113 emake
114 fi
115 }
116
117 src_test() {
118 cd "${TBD}"
119 emake check
120 }
121
122 src_install() {
123 # NEWS file is obsolete
124 dodoc AUTHORS ChangeLog HACKING README
125
126 cd "${BD}"
127 emake DESTDIR="${D}" install
128
129 # FIXME: We need --with-bash-completion-dir
130 newbashcomp "${D}"/etc/bash_completion.d/dbus-bash-completion.sh dbus
131 rm -rf "${D}"/etc/bash_completion.d || die
132
133 find "${D}" -name '*.la' -exec rm -f {} +
134 }