Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcroco/
Date: Sat, 08 Apr 2017 23:17:35
Message-Id: 1491693207.e99ec4463ae5f636c3bae070125ce3cf956ec061.leio@gentoo
1 commit: e99ec4463ae5f636c3bae070125ce3cf956ec061
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 8 23:13:26 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 8 23:13:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e99ec446
7
8 dev-libs/libcroco: bump to 0.6.12
9
10 Really only has documentation and information/debug message english spelling fixes
11
12 dev-libs/libcroco/Manifest | 1 +
13 dev-libs/libcroco/libcroco-0.6.12.ebuild | 55 ++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-libs/libcroco/Manifest b/dev-libs/libcroco/Manifest
17 index 472c62d1d94..baf105ae9c9 100644
18 --- a/dev-libs/libcroco/Manifest
19 +++ b/dev-libs/libcroco/Manifest
20 @@ -1 +1,2 @@
21 DIST libcroco-0.6.11.tar.xz 477312 SHA256 132b528a948586b0dfa05d7e9e059901bca5a3be675b6071a90a90b81ae5a056 SHA512 441b9c6d9b6acd4ff908100573c6f24bcf46a20ec94360bdcf4765e37a7d45dc59e6a0889917f3486503b274d05cd79a63178e74d029209c16b8e3351a1160da WHIRLPOOL e4874167bd8d1336ed2ad6180d7780962da0f84ac09b24652105baea34a46769881f8112900e606312bf1d7c01045d8cfc187c8c327bbd834bba70a982edbcb9
22 +DIST libcroco-0.6.12.tar.xz 482028 SHA256 ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860 SHA512 af9a171d5ccded255b57f170576e67155f12fa0f61ab3e379e907975f77afc37e82e22772c6019b2897cffc15b2425faf3ccfda92b1a45b23eda2519debabeb6 WHIRLPOOL b3626257b56b9e104307cd3da01366a5eb929d0afc6669a80f4a94748c434afdc8c3828e008ab786ab28ca72d799a79804e9a296d9428504829521516366e039
23
24 diff --git a/dev-libs/libcroco/libcroco-0.6.12.ebuild b/dev-libs/libcroco/libcroco-0.6.12.ebuild
25 new file mode 100644
26 index 00000000000..39ed01b2048
27 --- /dev/null
28 +++ b/dev-libs/libcroco/libcroco-0.6.12.ebuild
29 @@ -0,0 +1,55 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI="5"
34 +GCONF_DEBUG="no"
35 +GNOME2_LA_PUNT="yes"
36 +
37 +inherit gnome2 multilib-minimal
38 +
39 +DESCRIPTION="Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit"
40 +HOMEPAGE="https://git.gnome.org/browse/libcroco/"
41 +
42 +LICENSE="LGPL-2"
43 +SLOT="0.6"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="test"
46 +
47 +RDEPEND="
48 + >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
49 + >=dev-libs/libxml2-2.9.1-r4[${MULTILIB_USEDEP}]
50 +"
51 +DEPEND="${RDEPEND}
52 + dev-util/gtk-doc-am
53 + >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]
54 +"
55 +
56 +src_prepare() {
57 + if ! use test; then
58 + # don't waste time building tests
59 + sed 's/^\(SUBDIRS .*\=.*\)tests\(.*\)$/\1\2/' -i Makefile.am Makefile.in \
60 + || die "sed failed"
61 + fi
62 +
63 + gnome2_src_prepare
64 +}
65 +
66 +multilib_src_configure() {
67 + ECONF_SOURCE=${S} \
68 + gnome2_src_configure \
69 + --disable-static \
70 + $([[ ${CHOST} == *-darwin* ]] && echo --disable-Bsymbolic)
71 +
72 + if multilib_is_native_abi; then
73 + ln -s "${S}"/docs/reference/html docs/reference/html || die
74 + fi
75 +}
76 +
77 +multilib_src_install() {
78 + gnome2_src_install
79 +}
80 +
81 +multilib_src_install_all() {
82 + DOCS="AUTHORS ChangeLog HACKING NEWS README TODO"
83 + einstalldocs
84 +}