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.1_pre20130901.ebuild ChangeLog
Date: Sun, 01 Sep 2013 11:10:39
Message-Id: 20130901111033.3BE152004C@flycatcher.gentoo.org
1 pacho 13/09/01 11:10:33
2
3 Modified: ChangeLog
4 Added: cogl-1.14.1_pre20130901.ebuild
5 Log:
6 Bump including all commits from 1.14 branch (fixing #481348 by Kamil Kamiński also)
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)
9
10 Revision Changes Path
11 1.36 media-libs/cogl/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?rev=1.36&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?rev=1.36&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/ChangeLog?r1=1.35&r2=1.36
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v
20 retrieving revision 1.35
21 retrieving revision 1.36
22 diff -u -r1.35 -r1.36
23 --- ChangeLog 27 Jul 2013 23:57:28 -0000 1.35
24 +++ ChangeLog 1 Sep 2013 11:10:33 -0000 1.36
25 @@ -1,6 +1,12 @@
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.35 2013/07/27 23:57:28 eva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/ChangeLog,v 1.36 2013/09/01 11:10:33 pacho Exp $
30 +
31 +*cogl-1.14.1_pre20130901 (01 Sep 2013)
32 +
33 + 01 Sep 2013; Pacho Ramos <pacho@g.o> +cogl-1.14.1_pre20130901.ebuild:
34 + Bump including all commits from 1.14 branch (fixing #481348 by Kamil Kamiński
35 + also)
36
37 27 Jul 2013; Gilles Dartiguelongue <eva@g.o> cogl-1.14.0.ebuild:
38 Add missing dependency, per configure.
39
40
41
42 1.1 media-libs/cogl/cogl-1.14.1_pre20130901.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/cogl-1.14.1_pre20130901.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/cogl/cogl-1.14.1_pre20130901.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cogl-1.14.1_pre20130901.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/cogl-1.14.1_pre20130901.ebuild,v 1.1 2013/09/01 11:10:33 pacho Exp $
52
53 EAPI="5"
54 CLUTTER_LA_PUNT="yes"
55
56 # Inherit gnome2 after clutter to download sources from gnome.org
57 inherit eutils clutter gnome2 multilib virtualx
58
59 DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures"
60 HOMEPAGE="http://www.clutter-project.org/"
61
62 SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/gnome/${P}.tar.xz"
63
64 LICENSE="LGPL-2.1+ FDL-1.1+"
65 SLOT="1.0/12" # subslot = .so version
66 IUSE="doc examples +introspection +opengl gles2 +pango profile"
67 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
68
69 # XXX: need uprof for optional profiling support
70 COMMON_DEPEND="
71 >=dev-libs/glib-2.32:2
72 x11-libs/cairo:=
73 >=x11-libs/gdk-pixbuf-2:2
74 x11-libs/libdrm:=
75 x11-libs/libX11
76 >=x11-libs/libXcomposite-0.4
77 x11-libs/libXdamage
78 x11-libs/libXext
79 >=x11-libs/libXfixes-3
80 >=x11-libs/libXrandr-1.2
81 virtual/opengl
82 gles2? ( media-libs/mesa[gles2] )
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 doc? ( >=dev-util/gtk-doc-1.13 )
95 test? ( app-admin/eselect-opengl
96 media-libs/mesa[classic] )
97 "
98 # Need classic mesa swrast for tests, llvmpipe causes a test failure
99
100 S="${WORKDIR}/${PN}-1.14.1"
101
102 src_configure() {
103 # XXX: think about kms-egl, quartz, sdl, wayland
104 # Prefer gl over gles2 if both are selected
105 gnome2_src_configure \
106 --disable-examples-install \
107 --disable-maintainer-flags \
108 --enable-cairo \
109 --enable-deprecated \
110 --enable-gdk-pixbuf \
111 --enable-glib \
112 $(use_enable doc gtk-doc) \
113 $(use_enable opengl glx) \
114 $(use_enable opengl gl) \
115 $(use_enable gles2) \
116 $(use_enable gles2 cogl-gles2) \
117 $(use_enable gles2 xlib-egl-platform) \
118 $(usex gles2 --with-default-driver=$(usex opengl gl gles2)) \
119 $(use_enable introspection) \
120 $(use_enable pango cogl-pango) \
121 $(use_enable profile)
122 }
123
124 src_test() {
125 # Use swrast for tests, llvmpipe is incomplete and "test_sub_texture" fails
126 # NOTE: recheck if this is needed after every mesa bump
127 if [[ "$(eselect opengl show)" != "xorg-x11" ]]; then
128 ewarn "Skipping tests because a binary OpenGL library is enabled. To"
129 ewarn "run tests for ${PN}, you need to enable the Mesa library:"
130 ewarn "# eselect opengl set xorg-x11"
131 return
132 fi
133 LIBGL_DRIVERS_PATH="${EROOT}/usr/$(get_libdir)/mesa" Xemake check
134 }
135
136 src_install() {
137 DOCS="NEWS README"
138 EXAMPLES="examples/{*.c,*.jpg}"
139
140 clutter_src_install
141
142 # Remove silly examples-data directory
143 rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
144 }