Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/cogl: cogl-1.14.0.ebuild ChangeLog
Date: Thu, 28 Mar 2013 17:39:58
Message-Id: 20130328173953.758402171D@flycatcher.gentoo.org
1 pacho 13/03/28 17:39:53
2
3 Modified: ChangeLog
4 Added: cogl-1.14.0.ebuild
5 Log:
6 Version bump for Gnome 3.8
7
8 (Portage version: 2.1.11.58/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.31 media-libs/cogl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?rev=1.31&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?rev=1.31&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?r1=1.30&r2=1.31
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v
20 retrieving revision 1.30
21 retrieving revision 1.31
22 diff -u -r1.30 -r1.31
23 --- ChangeLog 27 Mar 2013 10:29:01 -0000 1.30
24 +++ ChangeLog 28 Mar 2013 17:39:53 -0000 1.31
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/cogl
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v 1.30 2013/03/27 10:29:01 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v 1.31 2013/03/28 17:39:53 pacho Exp $
30 +
31 +*cogl-1.14.0 (28 Mar 2013)
32 +
33 + 28 Mar 2013; Pacho Ramos <pacho@g.o> +cogl-1.14.0.ebuild:
34 + Version bump for Gnome 3.8
35
36 27 Mar 2013; Agostino Sarubbo <ago@g.o> cogl-1.10.4.ebuild:
37 Stable for ppc64, wrt bug #458984
38
39
40
41 1.1 media-libs/cogl/cogl-1.14.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/cogl-1.14.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/cogl-1.14.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cogl-1.14.0.ebuild
47 ===================================================================
48 # Copyright 1999-2013 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/cogl-1.14.0.ebuild,v 1.1 2013/03/28 17:39:53 pacho Exp $
51
52 EAPI="5"
53 CLUTTER_LA_PUNT="yes"
54
55 # Inherit gnome2 after clutter to download sources from gnome.org
56 inherit eutils clutter gnome2 multilib virtualx
57
58 DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures"
59 HOMEPAGE="http://www.clutter-project.org/"
60
61 LICENSE="LGPL-2.1+ FDL-1.1+"
62 SLOT="1.0/11"
63 IUSE="doc examples +introspection +opengl gles2 +pango profile"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
65
66 # XXX: need uprof for optional profiling support
67 COMMON_DEPEND="
68 >=dev-libs/glib-2.32:2
69 x11-libs/cairo:=
70 >=x11-libs/gdk-pixbuf-2:2
71 x11-libs/libdrm:=
72 x11-libs/libX11
73 >=x11-libs/libXcomposite-0.4
74 x11-libs/libXdamage
75 x11-libs/libXext
76 >=x11-libs/libXfixes-3
77 virtual/opengl
78 gles2? ( media-libs/mesa[gles2] )
79
80 introspection? ( >=dev-libs/gobject-introspection-1.34.2 )
81 pango? ( >=x11-libs/pango-1.20.0[introspection?] )
82 "
83 # before clutter-1.7, cogl was part of clutter
84 RDEPEND="${COMMON_DEPEND}
85 !<media-libs/clutter-1.7"
86 DEPEND="${COMMON_DEPEND}
87 >=dev-util/gtk-doc-am-1.13
88 sys-devel/gettext
89 virtual/pkgconfig
90 doc? ( >=dev-util/gtk-doc-1.13 )
91 test? ( app-admin/eselect-opengl
92 media-libs/mesa[classic] )
93 "
94 # Need classic mesa swrast for tests, llvmpipe causes a test failure
95
96 src_configure() {
97 # XXX: think about kms-egl, quartz, sdl, wayland
98 # Prefer gl over gles2 if both are selected
99 gnome2_src_configure \
100 --disable-examples-install \
101 --disable-maintainer-flags \
102 --enable-cairo \
103 --enable-deprecated \
104 --enable-gdk-pixbuf \
105 --enable-glib \
106 $(use_enable doc gtk-doc) \
107 $(use_enable opengl glx) \
108 $(use_enable opengl gl) \
109 $(use_enable gles2) \
110 $(use_enable gles2 cogl-gles2) \
111 $(use_enable gles2 xlib-egl-platform) \
112 $(usex gles2 --with-default-driver=$(usex opengl gl gles2)) \
113 $(use_enable introspection) \
114 $(use_enable pango cogl-pango) \
115 $(use_enable profile)
116 }
117
118 src_test() {
119 # Use swrast for tests, llvmpipe is incomplete and "test_sub_texture" fails
120 # NOTE: recheck if this is needed after every mesa bump
121 if [[ "$(eselect opengl show)" != "xorg-x11" ]]; then
122 ewarn "Skipping tests because a binary OpenGL library is enabled. To"
123 ewarn "run tests for ${PN}, you need to enable the Mesa library:"
124 ewarn "# eselect opengl set xorg-x11"
125 return
126 fi
127 LIBGL_DRIVERS_PATH="${EROOT}/usr/$(get_libdir)/mesa" Xemake check
128 }
129
130 src_install() {
131 DOCS="NEWS README"
132 EXAMPLES="examples/{*.c,*.jpg}"
133
134 clutter_src_install
135
136 # Remove silly examples-data directory
137 rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
138 }