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