Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/cogl/
Date: Mon, 23 Dec 2019 22:23:51
Message-Id: 1577139777.3e3e138a2371a6bdb57940ae2fc1817f37191423.leio@gentoo
1 commit: 3e3e138a2371a6bdb57940ae2fc1817f37191423
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Dec 23 22:05:53 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 22:22:57 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e3e138a
7
8 media-libs/cogl: remove old
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-libs/cogl/Manifest | 1 -
14 media-libs/cogl/cogl-1.22.2.ebuild | 123 -------------------------------------
15 2 files changed, 124 deletions(-)
16
17 diff --git a/media-libs/cogl/Manifest b/media-libs/cogl/Manifest
18 index 70342c8a200..490e821584d 100644
19 --- a/media-libs/cogl/Manifest
20 +++ b/media-libs/cogl/Manifest
21 @@ -1,2 +1 @@
22 -DIST cogl-1.22.2.tar.xz 1682360 BLAKE2B f5a1543266bd87c6835322d5dbf501ec4f9fec52cc18d73d140323fef2f1b6b2293b5998bc8914b0a8cb514e7fefe5a1500793e1c7d8b5e0a4365fe8ef13233f SHA512 2ec99f5ff22683d12925b9a1f748387b47c4506aaf3c5afec851b3b6fe6b7cdfd211fb7e4359bd7a1d1b7cb3cb7fbd257efbcb7d2941d0f133a60bad1c9645e3
23 DIST cogl-1.22.4.tar.xz 1723856 BLAKE2B 9e8532e3a0d17662042e2e61e45a7ddab6d3a35c7fbb070426b574292d7d3ed81e42a05cde9ab9a58ecda4eb6d560d0dca6c44b7791bba195e2ab2a33e8c0dc1 SHA512 85f3af49c16dd2e545a3b91c076ac10107a4b9d0dc785cefe489e91eabdd82837f732685f1f0dca1695fc2f8095f42d5f30f145b659eb4295964787f06c1e37a
24
25 diff --git a/media-libs/cogl/cogl-1.22.2.ebuild b/media-libs/cogl/cogl-1.22.2.ebuild
26 deleted file mode 100644
27 index eae9521a25c..00000000000
28 --- a/media-libs/cogl/cogl-1.22.2.ebuild
29 +++ /dev/null
30 @@ -1,123 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -GNOME2_EAUTORECONF="yes"
37 -inherit gnome2 multilib
38 -
39 -DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures"
40 -HOMEPAGE="https://www.cogl3d.org/"
41 -
42 -LICENSE="MIT BSD"
43 -SLOT="1.0/20" # subslot = .so version
44 -
45 -# doc and profile disable for now due to bugs #484750 and #483332
46 -IUSE="debug examples gles2 gstreamer +introspection +kms +opengl +pango wayland" # doc profile
47 -REQUIRED_USE="
48 - wayland? ( gles2 )
49 - || ( gles2 opengl )
50 -"
51 -KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc x86"
52 -
53 -COMMON_DEPEND="
54 - >=dev-libs/glib-2.32:2
55 - x11-libs/cairo:=
56 - >=x11-libs/gdk-pixbuf-2:2
57 - x11-libs/libX11
58 - >=x11-libs/libXcomposite-0.4
59 - x11-libs/libXdamage
60 - x11-libs/libXext
61 - >=x11-libs/libXfixes-3
62 - >=x11-libs/libXrandr-1.2
63 - virtual/opengl
64 - gles2? ( media-libs/mesa[gles2] )
65 - gstreamer? (
66 - media-libs/gstreamer:1.0
67 - media-libs/gst-plugins-base:1.0 )
68 - introspection? ( >=dev-libs/gobject-introspection-1.34.2:= )
69 - kms? (
70 - media-libs/mesa[gbm]
71 - x11-libs/libdrm:= )
72 - pango? ( >=x11-libs/pango-1.20.0[introspection?] )
73 - wayland? (
74 - >=dev-libs/wayland-1.1.90
75 - media-libs/mesa[egl,wayland] )
76 -"
77 -# before clutter-1.7, cogl was part of clutter
78 -RDEPEND="${COMMON_DEPEND}
79 - !<media-libs/clutter-1.7
80 -"
81 -DEPEND="${COMMON_DEPEND}
82 - dev-util/glib-utils
83 - >=dev-util/gtk-doc-am-1.13
84 - >=sys-devel/gettext-0.19
85 - virtual/pkgconfig
86 -"
87 -
88 -# Need classic mesa swrast for tests, llvmpipe causes a test failure
89 -# For some reason GL3 conformance test all fails again...
90 -RESTRICT="test"
91 -
92 -PATCHES=(
93 - "${FILESDIR}"/${PN}-eglmesaext-include.patch
94 -)
95 -
96 -src_prepare() {
97 - # Do not build examples
98 - sed -e "s/^\(SUBDIRS +=.*\)examples\(.*\)$/\1\2/" \
99 - -i Makefile.am Makefile.in || die
100 -
101 - #if ! use test ; then
102 - # For some reason the configure switch will not completely disable
103 - # tests being built
104 - sed -e "s/^\(SUBDIRS =.*\)test-fixtures\(.*\)$/\1\2/" \
105 - -e "s/^\(SUBDIRS +=.*\)tests\(.*\)$/\1\2/" \
106 - -e "s/^\(.*am__append.* \)tests\(.*\)$/\1\2/" \
107 - -i Makefile.am Makefile.in || die
108 - #fi
109 -
110 - gnome2_src_prepare
111 -}
112 -
113 -src_configure() {
114 - # TODO: think about quartz, sdl
115 - # Prefer gl over gles2 if both are selected
116 - # Profiling needs uprof, which is not available in portage yet, bug #484750
117 - # FIXME: Doesn't provide prebuilt docs, but they can neither be rebuilt, bug #483332
118 - gnome2_src_configure \
119 - --disable-examples-install \
120 - --disable-maintainer-flags \
121 - --enable-cairo \
122 - --enable-deprecated \
123 - --enable-gdk-pixbuf \
124 - --enable-glib \
125 - $(use_enable debug) \
126 - $(use_enable opengl glx) \
127 - $(use_enable opengl gl) \
128 - $(use_enable gles2) \
129 - $(use_enable gles2 cogl-gles2) \
130 - $(use_enable gles2 xlib-egl-platform) \
131 - $(usex gles2 --with-default-driver=$(usex opengl gl gles2)) \
132 - $(use_enable gstreamer cogl-gst) \
133 - $(use_enable introspection) \
134 - $(use_enable kms kms-egl-platform) \
135 - $(use_enable pango cogl-pango) \
136 - --disable-unit-tests \
137 - $(use_enable wayland wayland-egl-platform) \
138 - $(use_enable wayland wayland-egl-server) \
139 - --disable-profile
140 -# $(use_enable profile)
141 -}
142 -
143 -src_install() {
144 - if use examples; then
145 - insinto /usr/share/doc/${PF}/examples
146 - doins examples/{*.c,*.jpg}
147 - fi
148 -
149 - gnome2_src_install
150 -
151 - # Remove silly examples-data directory
152 - rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
153 -}