blob: 9917746f93eda4bab1d77d608f7b9cc6ab4a2b77 (
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/cheese/cheese-3.2.2.ebuild,v 1.1 2011/11/16 22:11:18 tetromino Exp $
EAPI="4"
GNOME2_LA_PUNT="yes"
GCONF_DEBUG="no"
inherit gnome2
DESCRIPTION="A cheesy program to take pictures and videos from your webcam"
HOMEPAGE="http://www.gnome.org/projects/cheese/"
LICENSE="GPL-2"
SLOT="0"
IUSE="doc +introspection"
KEYWORDS="~amd64 ~x86"
COMMON_DEPEND="
>=dev-libs/glib-2.28.0:2
>=dev-libs/libgee-0.6.0:0
>=x11-libs/gtk+-2.99.4:3[introspection?]
>=x11-libs/cairo-1.10
>=x11-libs/pango-1.28.0
|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145-r1[extras] )
>=gnome-base/gnome-desktop-2.91.6:3
>=gnome-base/librsvg-2.32.0:2
>=media-libs/libcanberra-0.26[gtk3]
>=media-libs/clutter-1.6.1:1.0[introspection?]
>=media-libs/clutter-gtk-0.91.8:1.0
>=media-libs/clutter-gst-1.0.0:1.0
media-video/gnome-video-effects
x11-libs/gdk-pixbuf:2[jpeg,introspection?]
x11-libs/mx
x11-libs/libX11
x11-libs/libXtst
>=media-libs/gstreamer-0.10.32:0.10[introspection?]
>=media-libs/gst-plugins-base-0.10.32:0.10[introspection?]
introspection? ( >=dev-libs/gobject-introspection-0.6.7 )"
RDEPEND="${COMMON_DEPEND}
>=media-libs/gst-plugins-bad-0.10.19
>=media-libs/gst-plugins-good-0.10.16
media-plugins/gst-plugins-jpeg
>=media-plugins/gst-plugins-ogg-0.10.20
>=media-plugins/gst-plugins-pango-0.10.20
>=media-plugins/gst-plugins-theora-0.10.20
>=media-plugins/gst-plugins-v4l2-0.10
>=media-plugins/gst-plugins-vorbis-0.10.20
|| ( >=media-plugins/gst-plugins-x-0.10
>=media-plugins/gst-plugins-xvideo-0.10 )"
DEPEND="${COMMON_DEPEND}
>=dev-lang/vala-0.13.2:0.14
>=app-text/gnome-doc-utils-0.20
>=dev-util/intltool-0.40
dev-util/pkgconfig
x11-proto/xf86vidmodeproto
app-text/docbook-xml-dtd:4.3
doc? ( >=dev-util/gtk-doc-1.14 )"
pkg_setup() {
G2CONF="${G2CONF}
VALAC=$(type -p valac-0.14)
$(use_enable introspection)
--disable-scrollkeeper
--disable-static"
DOCS="AUTHORS ChangeLog NEWS README"
}
src_compile() {
# Clutter-related sandbox violations when USE="doc introspection" and
# FEATURES="-userpriv" (see bug #385917).
# Work around the issue with the same horrible hack as in bug #385433.
DISPLAY="999invalid"
gnome2_src_compile
}
|