Gentoo Archives: gentoo-commits

From: Alexandre Restovtsev <tetromino@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:gnome-next commit in: media-gfx/shared-color-profiles/
Date: Tue, 12 Jul 2011 04:40:04
Message-Id: 6e5fb5ff395bf353034f90c19b826e2b07b31c9d.tetromino@gentoo
1 commit: 6e5fb5ff395bf353034f90c19b826e2b07b31c9d
2 Author: Alexandre Rostovtsev <tetromino <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 12 02:02:25 2011 +0000
4 Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com>
5 CommitDate: Tue Jul 12 04:35:37 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=6e5fb5ff
7
8 media-gfx/shared-color-profiles: new package
9
10 Used by x11-misc/colord.
11
12 ---
13 .../shared-color-profiles-0.1.4.ebuild | 27 ++++++++++++++++++++
14 1 files changed, 27 insertions(+), 0 deletions(-)
15
16 diff --git a/media-gfx/shared-color-profiles/shared-color-profiles-0.1.4.ebuild b/media-gfx/shared-color-profiles/shared-color-profiles-0.1.4.ebuild
17 new file mode 100644
18 index 0000000..7d1079f
19 --- /dev/null
20 +++ b/media-gfx/shared-color-profiles/shared-color-profiles-0.1.4.ebuild
21 @@ -0,0 +1,27 @@
22 +# Copyright 1999-2011 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Header: $
25 +
26 +EAPI="4"
27 +
28 +DESCRIPTION="Color profiles from contributors for color calibration"
29 +HOMEPAGE="https://github.com/hughsie/shared-color-profiles"
30 +SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.gz"
31 +
32 +LICENSE="GPL-2 MIT ZLIB public-domain"
33 +SLOT="0"
34 +KEYWORDS="~amd64 ~x86"
35 +IUSE=""
36 +
37 +RDEPEND=""
38 +DEPEND=""
39 +
40 +DOCS=(AUTHORS ChangeLog NEWS README)
41 +
42 +src_prepare() {
43 + # Install profile subdirectory documentation in /usr/share/doc/${PF}
44 + # Note: we install LICENSE files because each subdirectory has a different
45 + # license, origin, and author, which the user may be interested in knowing.
46 + sed -e "/licensedir/s:/shared-color-profiles/:/doc/${PF}/:" \
47 + -i profiles/*/Makefile.* || die "sed profiles/*/Makefile.* failed"
48 +}