Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/cogl: ChangeLog cogl-1.18.0.ebuild
Date: Sun, 27 Apr 2014 17:30:45
Message-Id: 20140427173041.0D21F2004B@flycatcher.gentoo.org
1 eva 14/04/27 17:30:40
2
3 Modified: ChangeLog
4 Added: cogl-1.18.0.ebuild
5 Log:
6 Version bump for Gnome 3.12.
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key C6085806)
9
10 Revision Changes Path
11 1.49 media-libs/cogl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?rev=1.49&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?rev=1.49&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?r1=1.48&r2=1.49
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v
20 retrieving revision 1.48
21 retrieving revision 1.49
22 diff -u -r1.48 -r1.49
23 --- ChangeLog 18 Apr 2014 11:19:48 -0000 1.48
24 +++ ChangeLog 27 Apr 2014 17:30:40 -0000 1.49
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-libs/cogl
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v 1.48 2014/04/18 11:19:48 pacho Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v 1.49 2014/04/27 17:30:40 eva Exp $
30 +
31 +*cogl-1.18.0 (27 Apr 2014)
32 +
33 + 27 Apr 2014; Gilles Dartiguelongue <eva@g.o> +cogl-1.18.0.ebuild:
34 + Version bump for Gnome 3.12.
35
36 18 Apr 2014; Pacho Ramos <pacho@g.o> -cogl-1.10.4.ebuild,
37 -cogl-1.14.1_pre20130901-r1.ebuild, -cogl-1.16.0.ebuild:
38
39
40
41 1.1 media-libs/cogl/cogl-1.18.0.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/cogl-1.18.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/cogl-1.18.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cogl-1.18.0.ebuild
47 ===================================================================
48 # Copyright 1999-2014 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.18.0.ebuild,v 1.1 2014/04/27 17:30:40 eva Exp $
51
52 EAPI="5"
53 CLUTTER_LA_PUNT="yes"
54
55 # Inherit gnome2 after clutter to download sources from gnome.org
56 inherit 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="MIT BSD"
62 SLOT="1.0/20" # subslot = .so version
63 # doc and profile disable for now due bugs #484750 and #483332
64 IUSE="examples gles2 gstreamer +introspection +opengl +pango test" # doc profile
65 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
66
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 >=x11-libs/libXrandr-1.2
78 virtual/opengl
79 gles2? ( media-libs/mesa[gles2] )
80 gstreamer? (
81 media-libs/gstreamer:1.0
82 media-libs/gst-plugins-base:1.0 )
83
84 introspection? ( >=dev-libs/gobject-introspection-1.34.2 )
85 pango? ( >=x11-libs/pango-1.20.0[introspection?] )
86 "
87 # before clutter-1.7, cogl was part of clutter
88 RDEPEND="${COMMON_DEPEND}
89 !<media-libs/clutter-1.7"
90 DEPEND="${COMMON_DEPEND}
91 >=dev-util/gtk-doc-am-1.13
92 sys-devel/gettext
93 virtual/pkgconfig
94 test? (
95 app-admin/eselect-opengl
96 media-libs/mesa[classic] )
97 "
98
99 # Need classic mesa swrast for tests, llvmpipe causes a test failure
100 # Fox some reason GL3 conformance test all fails again...
101 RESTRICT="test"
102
103 src_prepare() {
104 # Do not build examples
105 sed -e "s/^\(SUBDIRS +=.*\)examples\(.*\)$/\1\2/" \
106 -i Makefile.am Makefile.in || die
107
108 if ! use test ; then
109 # For some reason the configure switch will not completely disable
110 # tests being built
111 sed -e "s/^\(SUBDIRS =.*\)test-fixtures\(.*\)$/\1\2/" \
112 -e "s/^\(SUBDIRS +=.*\)tests\(.*\)$/\1\2/" \
113 -e "s/^\(.*am__append.* \)tests\(.*\)$/\1\2/" \
114 -i Makefile.am Makefile.in || die
115 fi
116
117 gnome2_src_prepare
118 }
119
120 src_configure() {
121 # TODO: think about kms-egl, quartz, sdl, wayland
122 # Prefer gl over gles2 if both are selected
123 # Profiling needs uprof, which is not available in portage yet, bug #484750
124 # FIXME: Doesn't provide prebuilt docs, but they can neither be rebuilt, bug #483332
125 gnome2_src_configure \
126 --disable-examples-install \
127 --disable-maintainer-flags \
128 --enable-cairo \
129 --enable-deprecated \
130 --enable-gdk-pixbuf \
131 --enable-glib \
132 --disable-gtk-doc \
133 $(use_enable opengl glx) \
134 $(use_enable opengl gl) \
135 $(use_enable gles2) \
136 $(use_enable gles2 cogl-gles2) \
137 $(use_enable gles2 xlib-egl-platform) \
138 $(usex gles2 --with-default-driver=$(usex opengl gl gles2)) \
139 $(use_enable gstreamer cogl-gst) \
140 $(use_enable introspection) \
141 $(use_enable pango cogl-pango) \
142 $(use_enable test unit-tests) \
143 --disable-profile
144 # $(use_enable doc gtk-doc) \
145 # $(use_enable profile)
146 }
147
148 src_test() {
149 # Use swrast for tests, llvmpipe is incomplete and "test_sub_texture" fails
150 # NOTE: recheck if this is needed after every mesa bump
151 if [[ "$(eselect opengl show)" != "xorg-x11" ]]; then
152 ewarn "Skipping tests because a binary OpenGL library is enabled. To"
153 ewarn "run tests for ${PN}, you need to enable the Mesa library:"
154 ewarn "# eselect opengl set xorg-x11"
155 return
156 fi
157 LIBGL_DRIVERS_PATH="${EROOT}/usr/$(get_libdir)/mesa" Xemake check
158 }
159
160 src_install() {
161 DOCS="NEWS README"
162 EXAMPLES="examples/{*.c,*.jpg}"
163
164 clutter_src_install
165
166 # Remove silly examples-data directory
167 rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
168 }