summaryrefslogtreecommitdiff
blob: ac759724f812c6cebb32653a0a48b6ec6013db82 (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
# Copyright 2007-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

MY_P="separate+-${PV}"

DESCRIPTION="Gimp CMYK plug-in."
HOMEPAGE="http://cue.yellowmagic.info/softwares/separate.html"
SRC_URI="http://registry.gimp.org/files/${MY_P}.zip
	 http://download.adobe.com/pub/adobe/iccprofiles/win/AdobeICCProfilesCS4Win_end-user.zip"

LICENSE="GPL-2 Adobe"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND="media-libs/lcms
	media-libs/tiff
	media-gfx/gimp"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${MY_P}"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}/installer.patch"
}

src_install() {
	emake PREFIX="${D}/usr" install || die "emake install failed"
	insinto /usr/share/color/icc
	doins -r sRGB || die "doins failed installing sRGB icc profiles"
	cd "${WORKDIR}/Adobe ICC Profiles (end-user)"
	doins -r CMYK RGB || die "doins failed installing Adobe CMYK and RGB icc profiles"
}