commit:     4da24dc76dac3ad44e9f7ebba7163375687a6c73
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 14 23:44:16 2018 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Wed Feb 14 23:44:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4da24dc7

dev-libs/dbus-glib: Version bump to 0.110

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/dbus-glib/Manifest               |  1 +
 dev-libs/dbus-glib/dbus-glib-0.110.ebuild | 89 +++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-libs/dbus-glib/Manifest b/dev-libs/dbus-glib/Manifest
index ccd5560317b..f2ed4319288 100644
--- a/dev-libs/dbus-glib/Manifest
+++ b/dev-libs/dbus-glib/Manifest
@@ -2,3 +2,4 @@ DIST dbus-glib-0.102.tar.gz 783792 BLAKE2B 
5dca4d1d4c9d281e46ad9b15307a738698d65
 DIST dbus-glib-0.104.tar.gz 793417 BLAKE2B 
87c12f15e7a960acf2071fae9a689780b74ef146e0f776e117fed66248d16d2ae45e52d264fa87eafc336935db5c64f85474a4b16f29389436faabd976beae6f
 SHA512 
eff599f169976055545b51459d77845002d8bc7e8dcd056cec2bf83836d07c66b03baed2023bc87a6d7c021d35c744987830f8ed6f9c3391a49ee199db85134b
 DIST dbus-glib-0.106.tar.gz 793343 BLAKE2B 
8444c587bf002a23abe6f0ffedd1dc1c3a60445cbdab923567c74bd80ebb178ae24c9ee685426601782785e5f67ebbcc1524d65379135958bc7d3ede44c48feb
 SHA512 
13a1d4600add29d29dbb8d1271570e6c04f70ddff0862d28fcb7df774bfa76a961f90303f897f3b970070eb959e909d5d02a94941e2edd8ba315b9aaa3a602cb
 DIST dbus-glib-0.108.tar.gz 812488 BLAKE2B 
e958c4054c09ec98d7bff659917a9c162dc4338aabcc5c6ec6d7ec34304867dd65d373eeb8871cd188424a36dafa337bb713fb2aaa87e47d1ed4f91a4e7ecd7f
 SHA512 
9fa7cd1c22bf6ee1e345dd6fe48aa725abc01b3b180ba430efea9996403ad99636b2c40f682956978ae5049c110c3298fa199470a4cc05907e11773d034ea5b1
+DIST dbus-glib-0.110.tar.gz 836497 BLAKE2B 
d936402bbaa5c354b2730cbace273974ec0133db052503fea2780d70b128e50e4fdf54f6ebfeed024eb5602fa3725a40627e27320a4727647299f74b2eb75c85
 SHA512 
c40ccf7118d4951f0e09082216ccd26f21ee906bdf96d912611d3cd29badd7ef446bea74e19f26c28ebceb9e19bb659d11c643c3e712dac499df12907be88a54

diff --git a/dev-libs/dbus-glib/dbus-glib-0.110.ebuild 
b/dev-libs/dbus-glib/dbus-glib-0.110.ebuild
new file mode 100644
index 00000000000..85c48abd88a
--- /dev/null
+++ b/dev-libs/dbus-glib/dbus-glib-0.110.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit bash-completion-r1 eutils multilib-minimal
+
+DESCRIPTION="D-Bus bindings for glib"
+HOMEPAGE="https://dbus.freedesktop.org/";
+SRC_URI="https://dbus.freedesktop.org/releases/${PN}/${P}.tar.gz";
+
+LICENSE="|| ( GPL-2 AFL-2.1 )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos 
~x86-macos ~m68k-mint ~sparc-solaris ~x86-solaris"
+IUSE="debug static-libs test"
+
+CDEPEND="
+       >=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}]
+       >=dev-libs/glib-2.40:2[${MULTILIB_USEDEP}]
+       >=sys-apps/dbus-1.8[${MULTILIB_USEDEP}]
+"
+DEPEND="${CDEPEND}
+       >=dev-util/gtk-doc-am-1.14
+       virtual/pkgconfig
+"
+RDEPEND="${CDEPEND}
+       abi_x86_32? (
+               !<app-emulation/emul-linux-x86-baselibs-20131008-r8
+               !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
+       )
+"
+
+DOCS=( AUTHORS ChangeLog HACKING NEWS README )
+
+set_TBD() {
+       # out of sources build dir for make check
+       export TBD="${BUILD_DIR}-tests"
+}
+
+multilib_src_configure() {
+       local myconf=(
+               --localstatedir="${EPREFIX}"/var
+               --enable-bash-completion
+               --disable-gtk-doc
+               $(use_enable debug asserts)
+               $(use_enable static-libs static)
+       )
+
+       ECONF_SOURCE="${S}" econf "${myconf[@]}"
+
+       ln -s "${S}"/doc/reference/html doc/reference/html || die #460042
+
+       if use test; then
+               set_TBD
+               mkdir "${TBD}" || die
+               cd "${TBD}" || die
+               einfo "Running configure in ${TBD}"
+               ECONF_SOURCE="${S}" econf \
+                       "${myconf[@]}" \
+                       $(use_enable test checks) \
+                       $(use_enable test tests) \
+                       $(use_enable test asserts)
+       fi
+}
+
+multilib_src_compile() {
+       emake
+
+       if use test; then
+               set_TBD
+               cd "${TBD}" || die
+               einfo "Running make in ${TBD}"
+               emake
+       fi
+}
+
+multilib_src_test() {
+       set_TBD
+       cd "${TBD}" || die
+       emake check
+}
+
+multilib_src_install_all() {
+       einstalldocs
+
+       newbashcomp "${ED}"/etc/bash_completion.d/dbus-bash-completion.sh 
dbus-send
+       rm -rf "${ED}"/etc/bash_completion.d || die
+
+       prune_libtool_files
+}

Reply via email to