Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/harfbuzz/
Date: Mon, 29 Oct 2012 00:07:34
Message-Id: 1351469205.4d2161ab655a0d47cf98cd18e69fac0921f1469c.eva@gentoo
1 commit: 4d2161ab655a0d47cf98cd18e69fac0921f1469c
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 28 22:48:05 2012 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 29 00:06:45 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=4d2161ab
7
8 media-libs/harfbuzz: version bump
9
10 Needed for new pango but the build system is a mess with lots of
11 automagic dependencies which will cause dependency loops probably.
12
13 ---
14 media-libs/harfbuzz/harfbuzz-0.9.5.ebuild | 47 +++++++++++++++++++++++++++++
15 media-libs/harfbuzz/metadata.xml | 5 +++
16 2 files changed, 52 insertions(+), 0 deletions(-)
17
18 diff --git a/media-libs/harfbuzz/harfbuzz-0.9.5.ebuild b/media-libs/harfbuzz/harfbuzz-0.9.5.ebuild
19 new file mode 100644
20 index 0000000..6effa50
21 --- /dev/null
22 +++ b/media-libs/harfbuzz/harfbuzz-0.9.5.ebuild
23 @@ -0,0 +1,47 @@
24 +# Copyright 1999-2012 Gentoo Foundation
25 +# Distributed under the terms of the GNU General Public License v2
26 +# $Header: /var/cvsroot/gentoo-x86/media-libs/harfbuzz/harfbuzz-0.7.0_pre20110904.ebuild,v 1.4 2012/05/05 08:02:40 jdhore Exp $
27 +
28 +EAPI="4"
29 +
30 +DESCRIPTION="An OpenType text shaping engine"
31 +HOMEPAGE="http://www.freedesktop.org/wiki/Software/HarfBuzz"
32 +SRC_URI="http://www.freedesktop.org/software/${PN}/release/${P}.tar.bz2"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
37 +IUSE=""
38 +
39 +RDEPEND="
40 + dev-libs/glib:2
41 + dev-libs/icu
42 + media-gfx/graphite2
43 + media-libs/freetype:2
44 + >=x11-libs/cairo-1.8[X]
45 +"
46 +DEPEND="${RDEPEND}
47 + dev-util/ragel
48 + virtual/pkgconfig
49 +"
50 +
51 +src_prepare() {
52 + default
53 +
54 + # FIXME: Weird linking failures
55 + sed -i 's/^\(noinst_PROGRAMS\).*/\1 = /' src/Makefile.in || die
56 + sed -i 's/^\(bin_PROGRAMS\).*/\1 = /' util/Makefile.in || die
57 + sed -i 's/^\(SUBDIRS.*\)test/\1/' Makefile.in || die
58 +}
59 +
60 +src_configure() {
61 + # this packge needs build system update because
62 + # all the deps are automagic
63 + econf \
64 + --disable-static
65 +}
66 +
67 +src_install() {
68 + default
69 + find "${ED}" -name '*.la' -exec rm -f {} +
70 +}
71
72 diff --git a/media-libs/harfbuzz/metadata.xml b/media-libs/harfbuzz/metadata.xml
73 new file mode 100644
74 index 0000000..5d46203
75 --- /dev/null
76 +++ b/media-libs/harfbuzz/metadata.xml
77 @@ -0,0 +1,5 @@
78 +<?xml version="1.0" encoding="UTF-8"?>
79 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
80 +<pkgmetadata>
81 + <herd>openoffice</herd>
82 +</pkgmetadata>