blob: 09d407f4f783275444d116f7937ef3bfc3a55ef4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-2.4.0.ebuild,v 1.3 2008/01/07 22:01:05 pva Exp $
inherit eutils autotools
DESCRIPTION="GNU Image Manipulation Program help files"
HOMEPAGE="http://docs.gimp.org/"
SRC_URI="mirror://gimp/help/${P}.tar.bz2"
LICENSE="FDL-1.2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE=""
# Only *not* outdated translations (see, configure.ac) are listed.
# On update do not forgive to check quickreference/Makefile.am for
# QUICKREFERENCE_ALL_LINGUAS. LANGS should include that langs too.
LANGS="de en es fr it ko nl no ru sv"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
DEPEND="=app-text/docbook-xml-dtd-4.3*
dev-libs/libxml2
dev-libs/libxslt"
RDEPEND="=media-gfx/gimp-2.4*"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-skip-linguas-images.patch
epatch "${FILESDIR}"/${P}-quickreference-linguas.patch
eautoreconf
}
src_compile() {
local ALL_LINGUAS=""
for X in ${LANGS} ; do
use linguas_${X} && ALL_LINGUAS="${ALL_LINGUAS} ${X}"
done
ALL_LINGUAS=${ALL_LINGUAS} \
econf \
--without-gimp \
--disable-network \
|| die "econf failed"
emake -j1 || die "emake failed"
}
src_install() {
emake DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY
}
|