blob: 0ba92aee33891727ad4f9645edbbadc31783f73f (
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
61
62
63
64
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-doc/gimp-help/gimp-help-0.11-r2.ebuild,v 1.1 2007/01/27 08:41:31 pva Exp $
inherit autotools
MY_P=${P/gimp-help/gimp-help-2}
S=${WORKDIR}/${MY_P}
DESCRIPTION="GNU Image Manipulation Program help files"
HOMEPAGE="http://docs.gimp.org/"
SRC_URI="mirror://gimp/help/${MY_P}.tar.gz"
LICENSE="FDL-1.2"
SLOT="2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="webinstall linguas_cs linguas_de linguas_en linguas_es linguas_fr linguas_hr linguas_it linguas_ko linguas_nl linguas_no linguas_ru linguas_sv linguas_zh_CN"
DEPEND="=app-text/docbook-xml-dtd-4.3*
dev-libs/libxml2
dev-libs/libxslt
webinstall? ( media-gfx/imagemagick )"
RDEPEND="!<media-gfx/gimp-2.2.12"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/gimp-help-2.0.11-image-honour-ALL_LINGUAS.patch
eautomake
}
src_compile() {
local ALL_LINGUAS=""
use linguas_cs && ALL_LINGUAS="${ALL_LINGUAS} cs"
use linguas_de && ALL_LINGUAS="${ALL_LINGUAS} de"
use linguas_en && ALL_LINGUAS="${ALL_LINGUAS} en"
use linguas_es && ALL_LINGUAS="${ALL_LINGUAS} es"
use linguas_fr && ALL_LINGUAS="${ALL_LINGUAS} fr"
use linguas_hr && ALL_LINGUAS="${ALL_LINGUAS} hr"
use linguas_it && ALL_LINGUAS="${ALL_LINGUAS} it"
use linguas_ko && ALL_LINGUAS="${ALL_LINGUAS} ko"
use linguas_nl && ALL_LINGUAS="${ALL_LINGUAS} nl"
use linguas_no && ALL_LINGUAS="${ALL_LINGUAS} no"
use linguas_ru && ALL_LINGUAS="${ALL_LINGUAS} ru"
use linguas_sv && ALL_LINGUAS="${ALL_LINGUAS} sv"
use linguas_zh_CN && ALL_LINGUAS="${ALL_LINGUAS} zh_CN"
ALL_LINGUAS=${ALL_LINGUAS} \
econf \
--without-gimp \
$(use_enable webinstall convert) \
|| die "econf failed"
# not parallel make safe (#137192)
emake -j1 || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc AUTHORS ChangeLog HACKING NEWS README TERMINOLOGY TODO
}
|