/[gentoo-x86]/x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild
Gentoo

Contents of /x11-libs/colord-gtk/colord-gtk-0.1.22.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Fri Aug 10 19:03:00 2012 UTC (2 years, 3 months ago) by tetromino
Branch: MAIN
New ebuild for colord's gtk support library, split off from x11-misc/colord; prevents a circular dependency betweek gtk+[colord] and colord[gtk].

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 tetromino 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI="4"
6    
7     inherit autotools eutils
8    
9     DESCRIPTION="GTK support library for colord"
10     HOMEPAGE="http://www.freedesktop.org/software/colord/"
11     SRC_URI="http://www.freedesktop.org/software/colord/releases/${P}.tar.xz"
12    
13     LICENSE="LGPL-3"
14     SLOT="0"
15     KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
16     IUSE="doc +introspection vala"
17     REQUIRED_USE="vala? ( introspection )"
18    
19     COMMON_DEPEND=">=dev-libs/glib-2.28:2
20     >=media-libs/lcms-2.2:2
21     x11-libs/gdk-pixbuf:2[introspection?]
22     x11-libs/gtk+:3[X(+),introspection?]
23     x11-misc/colord[introspection?,vala?]
24     introspection? ( >=dev-libs/gobject-introspection-0.9.8 )"
25     # ${PN} was part of x11-misc/colord until 0.1.22
26     RDEPEND="${COMMON_DEPEND}
27     !<x11-misc/colord-0.1.22"
28     DEPEND="${COMMON_DEPEND}
29     dev-libs/libxslt
30     >=dev-util/intltool-0.35
31     >=sys-devel/gettext-0.17
32     virtual/pkgconfig
33     doc? (
34     app-text/docbook-xml-dtd:4.1.2
35     >=dev-util/gtk-doc-1.9
36     )
37     vala? ( dev-lang/vala:0.14[vapigen] )"
38    
39     src_prepare() {
40     epatch "${FILESDIR}/${PN}-0.1.22-automagic-vala.patch"
41     eautoreconf
42     }
43    
44     src_configure() {
45     econf \
46     --disable-static \
47     $(use_enable doc gtk-doc) \
48     $(use_enable introspection) \
49     $(use_enable vala) \
50     VAPIGEN=$(type -P vapigen-0.14)
51     }
52    
53     src_install() {
54     default
55     prune_libtool_files
56     }

  ViewVC Help
Powered by ViewVC 1.1.20