Add weston-image (image viewer)
This commit is contained in:
parent
755c20eb8a
commit
d6f9d8cce4
2 changed files with 85 additions and 3 deletions
|
@ -8,7 +8,7 @@ PKG_LICENSE="MIT"
|
|||
PKG_SITE="https://wayland.freedesktop.org/"
|
||||
PKG_URL="https://gitlab.freedesktop.org/wayland/weston/-/archive/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.gz"
|
||||
#PKG_URL="https://gitlab.freedesktop.org/wayland/weston.git"
|
||||
PKG_DEPENDS_TARGET="toolchain wayland wayland-protocols libdrm libxkbcommon libxcb-cursor libinput cairo pango libjpeg-turbo dbus seatd glu ${OPENGL} libX11 xwayland libXcursor xkbcomp setxkbmap cairo xterm"
|
||||
PKG_DEPENDS_TARGET="toolchain wayland wayland-protocols libdrm libxkbcommon libxcb-cursor libinput cairo pango libjpeg-turbo dbus seatd glu ${OPENGL} libX11 xwayland libXcursor xkbcomp setxkbmap cairo xterm libwebp"
|
||||
PKG_LONGDESC="Reference implementation of a Wayland compositor"
|
||||
PKG_PATCH_DIRS+="${DEVICE}"
|
||||
|
||||
|
@ -41,9 +41,9 @@ PKG_MESON_OPTS_TARGET+=" -Dbackend-drm=true \
|
|||
-Dcolor-management-lcms=false \
|
||||
-Dlauncher-libseat=true \
|
||||
-Dimage-jpeg=true \
|
||||
-Dimage-webp=false \
|
||||
-Dimage-webp=true \
|
||||
-Dtools=['terminal']
|
||||
-Ddemo-clients=false \
|
||||
-Ddemo-clients=true \
|
||||
-Dsimple-clients=[] \
|
||||
-Dresize-pool=false \
|
||||
-Dwcap-decode=true \
|
||||
|
|
|
@ -0,0 +1,82 @@
|
|||
diff --git a/clients/meson.build b/clients/meson.build
|
||||
index 2fe10956..38000b41 100644
|
||||
--- a/clients/meson.build
|
||||
+++ b/clients/meson.build
|
||||
@@ -267,77 +267,7 @@ foreach t : tools_list
|
||||
endforeach
|
||||
|
||||
demo_clients = [
|
||||
- { 'basename': 'clickdot' },
|
||||
- {
|
||||
- 'basename': 'cliptest',
|
||||
- 'dep_objs': [ dep_vertex_clipping, dep_matrix_c ]
|
||||
- },
|
||||
- { 'basename': 'confine' },
|
||||
- {
|
||||
- 'basename': 'content_protection',
|
||||
- 'add_sources': [
|
||||
- weston_content_protection_client_protocol_h,
|
||||
- weston_content_protection_protocol_c,
|
||||
- ]
|
||||
- },
|
||||
-
|
||||
- { 'basename': 'dnd' },
|
||||
- {
|
||||
- 'basename': 'editor',
|
||||
- 'add_sources': [
|
||||
- text_input_unstable_v1_client_protocol_h,
|
||||
- text_input_unstable_v1_protocol_c,
|
||||
- ],
|
||||
- 'deps': [ 'pangocairo', 'gobject-2.0' ]
|
||||
- },
|
||||
- { 'basename': 'eventdemo' },
|
||||
- { 'basename': 'flower' },
|
||||
- {
|
||||
- 'basename': 'fullscreen',
|
||||
- 'add_sources': [
|
||||
- fullscreen_shell_unstable_v1_client_protocol_h,
|
||||
- fullscreen_shell_unstable_v1_protocol_c,
|
||||
- ]
|
||||
- },
|
||||
{ 'basename': 'image' },
|
||||
- {
|
||||
- 'basename': 'multi-resource',
|
||||
- 'add_sources': [
|
||||
- xdg_shell_client_protocol_h,
|
||||
- xdg_shell_protocol_c,
|
||||
- ]
|
||||
- },
|
||||
- {
|
||||
- 'basename': 'presentation-shm',
|
||||
- 'add_sources': [
|
||||
- presentation_time_client_protocol_h,
|
||||
- presentation_time_protocol_c,
|
||||
- xdg_shell_client_protocol_h,
|
||||
- xdg_shell_protocol_c,
|
||||
- ]
|
||||
- },
|
||||
- { 'basename': 'resizor' },
|
||||
- {
|
||||
- 'basename': 'scaler',
|
||||
- 'add_sources': [
|
||||
- viewporter_client_protocol_h,
|
||||
- viewporter_protocol_c,
|
||||
- ]
|
||||
- },
|
||||
- { 'basename': 'smoke' },
|
||||
- { 'basename': 'stacking' },
|
||||
- {
|
||||
- 'basename': 'subsurfaces',
|
||||
- 'deps': [ 'egl', 'glesv2', 'wayland-egl' ]
|
||||
- },
|
||||
- {
|
||||
- 'basename': 'tablet',
|
||||
- 'add_sources': [
|
||||
- tablet_unstable_v2_client_protocol_h,
|
||||
- tablet_unstable_v2_protocol_c,
|
||||
- ],
|
||||
- },
|
||||
- { 'basename': 'transformed' },
|
||||
]
|
||||
|
||||
if get_option('demo-clients')
|
Loading…
Reference in a new issue