🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
pkgname: cogl
pkgver: '1.22.8'
pkgrel: '3'
pkgdesc: 'An object oriented GL/GLES Abstraction/Utility Layer'
url: 'https://www.gnome.org/'
arch: x86_64
depends:
- cairo
- gdk-pixbuf
- glib
- libglvnd
- mesa
- pango
- wayland
- xorg-libdrm
- xorg-libx11
- xorg-libxdamage
- xorg-libxext
- xorg-libxfixes
- xorg-libxrandr
makedepends:
- 'xorg-libxrandr'
- 'gdk-pixbuf'
- mesa
- 'xorg-glu'
- pango
- 'xorg-libdrm'
- 'gobject-introspection'
source:
- 'https://download.gnome.org/sources/${pkgname}/1.22/${pkgname}-${pkgver}.tar.xz'
sha256sums:
- SKIP
build: |
unset MAKEFLAGS
cd ${pkgname}-${pkgver}
# Do not build examples
sed -e "s/^\(SUBDIRS +=.*\)examples\(.*\)$/\1\2/" \
-i Makefile.am Makefile.in
#if ! use test ; then
# For some reason the configure switch will not completely disable
# tests being built
sed -e "s/^\(SUBDIRS =.*\)test-fixtures\(.*\)$/\1\2/" \
-e "s/^\(SUBDIRS +=.*\)tests\(.*\)$/\1\2/" \
-e "s/^\(.*am__append.* \)tests\(.*\)$/\1\2/" \
-i Makefile.am Makefile.in
#fi
./configure --prefix=/usr \
--disable-examples-install \
--disable-maintainer-flags \
--enable-gles2 \
--enable-{kms,wayland}-egl-platform \
--enable-wayland-egl-server \
--disable-unit-tests \
--disable-profile
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
make DESTDIR=${PKGDIR} install
package: |
true