mirror of
https://github.com/steev/efikamx.git
synced 2026-07-08 17:57:11 +00:00
cogl: Add colg 1.10.2 with arm changes
This commit is contained in:
4
media-libs/cogl/Manifest
Normal file
4
media-libs/cogl/Manifest
Normal file
@@ -0,0 +1,4 @@
|
||||
DIST cogl-1.10.2.tar.xz 1209148 RMD160 c5b21cbdb87dedec0f1c130e2a2a3fc2650a50c6 SHA1 52b9829557c169d4b97c1ab1bc9a116e63210461 SHA256 042cf87ec35d2eac78719856356e415dd5333f9f613093c5db8b438630c1ecb3
|
||||
DIST cogl-1.8.2.tar.xz 1029304 RMD160 9d6bd22536a8be7f2482f7caf6fee16baa67fbee SHA1 ecc72af65608023dc6103357b86029e62993c62a SHA256 ec26fd90c4ba5643875b5f3a04b4ab14b24f0d618ba3d239d61e773c3e3ca8c7
|
||||
EBUILD cogl-1.10.2.ebuild 2175 RMD160 133de2390cc27c8a4cf94c08f9191a40aa866edf SHA1 6e13d504ab85cfeebf11cbdccd10a754e3f27546 SHA256 4cb5ba9fa059955cb750b70b42a17ffe8efebdc66b674e9f02bd394467015325
|
||||
EBUILD cogl-1.8.2.ebuild 2026 RMD160 7737d45dbb6a46e382e164f50f69e6f0fd230ede SHA1 cf64b08136f3ec478efba07a8678fe51c12a5cc2 SHA256 341b2ee860555e3d8fc2683c04a84815962b05b29a6cea242a0b5e6388f47d21
|
||||
79
media-libs/cogl/cogl-1.10.2.ebuild
Normal file
79
media-libs/cogl/cogl-1.10.2.ebuild
Normal file
@@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/media-libs/cogl/cogl-1.10.2.ebuild,v 1.2 2012/05/05 08:02:41 jdhore Exp $
|
||||
|
||||
EAPI="4"
|
||||
CLUTTER_LA_PUNT="yes"
|
||||
|
||||
# Inherit gnome2 after clutter to download sources from gnome.org
|
||||
inherit clutter gnome2 virtualx
|
||||
|
||||
DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures"
|
||||
HOMEPAGE="http://www.clutter-project.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.0"
|
||||
IUSE="doc examples +introspection +pango"
|
||||
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~x86"
|
||||
|
||||
# XXX: need uprof for optional profiling support
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.28.0:2
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gdk-pixbuf-2:2
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libXcomposite-0.4
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
>=x11-libs/libXfixes-3
|
||||
virtual/opengl
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
||||
pango? ( >=x11-libs/pango-1.20.0[introspection?] )"
|
||||
# before clutter-1.7, cogl was part of clutter
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<media-libs/clutter-1.7"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
virtual/pkgconfig
|
||||
sys-devel/gettext
|
||||
doc? ( app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/gtk-doc-1.13 )
|
||||
test? ( media-libs/mesa[classic] )"
|
||||
# Need classic mesa swrast for tests, llvmpipe causes a test failure
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="NEWS README"
|
||||
EXAMPLES="examples/{*.c,*.jpg}"
|
||||
# XXX: think about kms-egl, gles, quartz, sdl, wayland
|
||||
if use arm ; then
|
||||
myconf="--enable-gles2=yes
|
||||
--enable-xlib-egl-platform
|
||||
--disable-gl"
|
||||
else
|
||||
myconf="--enable-gl
|
||||
--enable-glx"
|
||||
fi
|
||||
G2CONF="${G2CONF} ${myconf}
|
||||
--disable-examples-install
|
||||
--disable-profile
|
||||
--disable-maintainer-flags
|
||||
--enable-cairo
|
||||
--enable-gdk-pixbuf
|
||||
--enable-glib
|
||||
--enable-deprecated
|
||||
$(use_enable introspection)
|
||||
$(use_enable pango cogl-pango)"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Use swrast for tests, llvmpipe is incomplete and "test_sub_texture" fails
|
||||
# NOTE: recheck if this is needed after every mesa bump
|
||||
LIBGL_DRIVERS_PATH=${EROOT}/usr/$(get_libdir)/mesa Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
clutter_src_install
|
||||
|
||||
# Remove silly examples-data directory
|
||||
rm -rvf "${ED}/usr/share/cogl/examples-data/" || die
|
||||
}
|
||||
82
media-libs/cogl/cogl-1.8.2.ebuild
Normal file
82
media-libs/cogl/cogl-1.8.2.ebuild
Normal file
@@ -0,0 +1,82 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI="4"
|
||||
CLUTTER_LA_PUNT="yes"
|
||||
|
||||
# Inherit gnome2 after clutter to download sources from gnome.org
|
||||
inherit clutter gnome2 virtualx
|
||||
|
||||
DESCRIPTION="A library for using 3D graphics hardware to draw pretty pictures"
|
||||
HOMEPAGE="http://www.clutter-project.org/"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="1.0"
|
||||
IUSE="doc examples opengl gles2 +introspection +pango"
|
||||
KEYWORDS="~alpha amd64 ~arm ~ppc ppc64 x86"
|
||||
|
||||
# XXX: need uprof for optional profiling support
|
||||
COMMON_DEPEND=">=dev-libs/glib-2.26.0:2
|
||||
x11-libs/cairo
|
||||
>=x11-libs/gdk-pixbuf-2:2
|
||||
x11-libs/libdrm
|
||||
x11-libs/libX11
|
||||
>=x11-libs/libXcomposite-0.4
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXext
|
||||
>=x11-libs/libXfixes-3
|
||||
virtual/opengl
|
||||
|
||||
introspection? ( >=dev-libs/gobject-introspection-0.9.5 )
|
||||
pango? ( >=x11-libs/pango-1.20.0[introspection?] )"
|
||||
# before clutter-1.7, cogl was part of clutter
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!<media-libs/clutter-1.7"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
dev-util/pkgconfig
|
||||
sys-devel/gettext
|
||||
doc? ( app-text/docbook-xml-dtd:4.1.2
|
||||
>=dev-util/gtk-doc-1.13 )"
|
||||
|
||||
# XXX: at least when using nvidia-drivers, tests fail under Xemake/Xvfb, no
|
||||
# matter whether "eselect opengl" is set to nvidia or xorg-x11.
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
DOCS="NEWS README"
|
||||
EXAMPLES="examples/{*.c,*.jpg}"
|
||||
# XXX: think about gles, quartz, wayland
|
||||
if use arm; then
|
||||
myconf="$(use_enable gles2) \
|
||||
--disable-gl \
|
||||
--disable-wgl \
|
||||
--disable-glx \
|
||||
--disable-null-egl-platform \
|
||||
--disable-gdl-egl-platform \
|
||||
--disable-wayland-egl-platform \
|
||||
--disable-wayland-egl-server \
|
||||
--disable-android-egl-platform \
|
||||
--enable-xlib-egl-platform"
|
||||
else
|
||||
myconf="$(use_enable opengl gl) \
|
||||
--enable-glx \
|
||||
--enable-xlib-egl-platform"
|
||||
fi
|
||||
G2CONF="${G2CONF}
|
||||
--disable-profile
|
||||
--disable-maintainer-flags
|
||||
--enable-cairo
|
||||
--enable-gdk-pixbuf
|
||||
$(use_enable introspection)
|
||||
$(use_enable pango cogl-pango)
|
||||
${myconf}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
Xemake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
clutter_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user