clutter: made egl-wayland optional, needs more work

This commit is contained in:
Tim Biermann 2024-12-23 22:57:52 +01:00
parent e9e659389d
commit 42637ca145
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 18 deletions

View File

@ -137,20 +137,11 @@ drwxr-xr-x root/root usr/include/clutter-1.0/clutter/deprecated/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/deprecated/clutter-timeline.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/deprecated/clutter-timeout-pool.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/deprecated/clutter-util.h
drwxr-xr-x root/root usr/include/clutter-1.0/clutter/egl/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/egl/clutter-egl-headers.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/egl/clutter-egl.h
drwxr-xr-x root/root usr/include/clutter-1.0/clutter/evdev/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/evdev/clutter-evdev.h
drwxr-xr-x root/root usr/include/clutter-1.0/clutter/gdk/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/gdk/clutter-gdk.h
drwxr-xr-x root/root usr/include/clutter-1.0/clutter/glx/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/glx/clutter-glx-texture-pixmap.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/glx/clutter-glx.h
drwxr-xr-x root/root usr/include/clutter-1.0/clutter/wayland/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/wayland/clutter-wayland-compositor.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/wayland/clutter-wayland-surface.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/wayland/clutter-wayland.h
drwxr-xr-x root/root usr/include/clutter-1.0/clutter/x11/
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/x11/clutter-x11-texture-pixmap.h
-rw-r--r-- root/root usr/include/clutter-1.0/clutter/x11/clutter-x11.h
@ -164,9 +155,6 @@ drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/cally-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-cogl-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-egl-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-gdk-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-glx-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-wayland-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-wayland-compositor-1.0.pc
-rw-r--r-- root/root usr/lib/pkgconfig/clutter-x11-1.0.pc

View File

@ -1,7 +1,8 @@
# Description: A toolkit for creating fast, portable, compelling dynamic UIs
# URL: https://blogs.gnome.org/clutter/
# Maintainer: mac-a-r0ni, j at lngn dot net
# Depends on: gtk3 cogl libinput
# Depends on: gtk3 cogl libinput json-glib
# Optional: egl-wayland
name=clutter
version=1.26.4
@ -11,13 +12,11 @@ source=(https://download.gnome.org/sources/$name/1.26/$name-$version.tar.xz)
build() {
cd $name-$version
./configure --prefix=/usr \
--enable-egl-backend \
prt-get isinst egl-wayland && ls /usr/lib/pkgconfig/cogl-gles2-1.0.pc && ls /usr/lib/xkbcommon/xkbcli-interactive-wayland && PKGMK_CLUTTER+=' --enable-wayland-backend --enable-wayland-compositor --enable-egl-backend --enable-evdev-input' || PKGMK_CLUTTER+=' --enable-egl-backend=no'
./configure --prefix=/usr $PKGMK_CLUTTER \
--enable-gdk-backend \
--enable-wayland-backend \
--enable-x11-backend \
--enable-evdev-input \
--enable-wayland-compositor \
--enable-introspection=no \
--disable-gtk-doc \
--disable-nls \