diff options
author | Mike Gilbert <floppym@gentoo.org> | 2024-03-16 12:41:56 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2024-03-17 12:34:00 -0400 |
commit | 3681b118af9f93086e4f7952c86c825e5f7485e5 (patch) | |
tree | e91f9dd15c9899f7e4952aa854599885c085cc3c /dev-libs/weston | |
parent | net-misc/freerdp: add slots (diff) | |
download | gentoo-3681b118af9f93086e4f7952c86c825e5f7485e5.tar.gz gentoo-3681b118af9f93086e4f7952c86c825e5f7485e5.tar.bz2 gentoo-3681b118af9f93086e4f7952c86c825e5f7485e5.zip |
dev-libs/weston: depend on slotted freerdp
Bug: https://bugs.gentoo.org/921095
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/weston')
-rw-r--r-- | dev-libs/weston/weston-11.0.1-r1.ebuild (renamed from dev-libs/weston/weston-11.0.1.ebuild) | 4 | ||||
-rw-r--r-- | dev-libs/weston/weston-11.0.1-r10.ebuild | 141 | ||||
-rw-r--r-- | dev-libs/weston/weston-12.0.91-r1.ebuild (renamed from dev-libs/weston/weston-12.0.91.ebuild) | 4 | ||||
-rw-r--r-- | dev-libs/weston/weston-13.0.0-r1.ebuild (renamed from dev-libs/weston/weston-13.0.0.ebuild) | 4 | ||||
-rw-r--r-- | dev-libs/weston/weston-9999.ebuild | 4 |
5 files changed, 149 insertions, 8 deletions
diff --git a/dev-libs/weston/weston-11.0.1.ebuild b/dev-libs/weston/weston-11.0.1-r1.ebuild index d7509b4db950..d0775521a739 100644 --- a/dev-libs/weston/weston-11.0.1.ebuild +++ b/dev-libs/weston/weston-11.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -62,7 +62,7 @@ RDEPEND=" media-libs/mesa[gles2,wayland] ) pipewire? ( >=media-video/pipewire-0.3:= ) - rdp? ( >=net-misc/freerdp-2.3.0:=[server] <net-misc/freerdp-3 ) + rdp? ( >=net-misc/freerdp-2.3.0:0=[server] <net-misc/freerdp-3:0 ) remoting? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 diff --git a/dev-libs/weston/weston-11.0.1-r10.ebuild b/dev-libs/weston/weston-11.0.1-r10.ebuild new file mode 100644 index 000000000000..3795b5b5127f --- /dev/null +++ b/dev-libs/weston/weston-11.0.1-r10.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git" + GIT_ECLASS="git-r3" + EXPERIMENTAL="true" +fi + +PYTHON_COMPAT=( python3_{9..11} ) +inherit meson python-any-r1 readme.gentoo-r1 xdg-utils ${GIT_ECLASS} + +DESCRIPTION="Wayland reference compositor" +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/weston" + +if [[ ${PV} = *9999* ]]; then + SRC_URI="${SRC_PATCHES}" +else + SRC_URI="https://gitlab.freedesktop.org/wayland/${PN}/uploads/f5648c818fba5432edc3ea63c4db4813/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT CC-BY-SA-3.0" +SLOT="0" + +IUSE="+desktop +drm editor examples fullscreen +gles2 headless ivi jpeg kiosk lcms pipewire rdp remoting +resize-optimization screen-sharing +seatd +suid systemd test wayland-compositor webp +X xwayland" +RESTRICT="!test? ( test )" + +REQUIRED_USE=" + drm? ( gles2 ) + pipewire? ( drm ) + remoting? ( drm gles2 ) + screen-sharing? ( rdp ) + test? ( desktop headless lcms xwayland ) + wayland-compositor? ( gles2 ) + || ( drm headless rdp wayland-compositor X ) + || ( seatd systemd ) +" + +RDEPEND=" + >=dev-libs/libinput-0.8.0 + >=dev-libs/wayland-1.20.0 + lcms? ( >=media-libs/lcms-2.9:2 ) + media-libs/libpng:0= + webp? ( media-libs/libwebp:0= ) + jpeg? ( media-libs/libjpeg-turbo:0= ) + >=x11-libs/cairo-1.11.3 + >=x11-libs/libdrm-2.4.108 + >=x11-libs/libxkbcommon-0.5.0 + >=x11-libs/pixman-0.25.2 + x11-misc/xkeyboard-config + drm? ( + >=media-libs/mesa-17.1[gbm(+)] + >=sys-libs/mtdev-1.1.0 + >=virtual/udev-136 + ) + editor? ( x11-libs/pango ) + examples? ( x11-libs/pango ) + gles2? ( + media-libs/mesa[gles2,wayland] + ) + pipewire? ( >=media-video/pipewire-0.3:= ) + rdp? ( >=net-misc/freerdp-2.3.0:2=[server] ) + remoting? ( + media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + ) + seatd? ( sys-auth/seatd:= ) + systemd? ( + sys-auth/pambase[systemd] + >=sys-apps/dbus-1.6 + >=sys-apps/systemd-209[pam] + ) + X? ( + >=x11-libs/libxcb-1.9 + x11-libs/libX11 + ) + xwayland? ( + x11-base/xwayland + x11-libs/cairo[X,xcb(+)] + >=x11-libs/libxcb-1.9 + x11-libs/libXcursor + ) +" +DEPEND="${RDEPEND} + >=dev-libs/wayland-protocols-1.24 +" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_use drm backend-drm) + -Dbackend-drm-screencast-vaapi=false + $(meson_use headless backend-headless) + $(meson_use rdp backend-rdp) + $(meson_use screen-sharing screenshare) + $(meson_use wayland-compositor backend-wayland) + $(meson_use X backend-x11) + -Dbackend-default=auto + $(meson_use gles2 renderer-gl) + $(meson_use xwayland) + $(meson_use seatd launcher-libseat) + $(meson_use systemd) + $(meson_use remoting) + $(meson_use pipewire) + $(meson_use desktop shell-desktop) + $(meson_use fullscreen shell-fullscreen) + $(meson_use ivi shell-ivi) + $(meson_use kiosk shell-kiosk) + $(meson_use lcms color-management-lcms) + $(meson_use systemd launcher-logind) + $(meson_use jpeg image-jpeg) + $(meson_use webp image-webp) + -Dtools=debug,info,terminal + $(meson_use examples demo-clients) + -Dsimple-clients=$(usex examples damage,dmabuf-v4l,im,shm,touch$(usex gles2 ,dmabuf-egl,egl "") "") + $(meson_use resize-optimization resize-pool) + -Dtest-junit-xml=false + "${myconf[@]}" + ) + meson_src_configure +} + +src_test() { + xdg_environment_reset + addwrite /dev/dri/ + + # xwayland test can fail if X11 socket already exists. + cd "${BUILD_DIR}" || die + meson test $(meson test --list | grep -Exv "xwayland") || die +} + +src_install() { + meson_src_install + readme.gentoo_create_doc +} diff --git a/dev-libs/weston/weston-12.0.91.ebuild b/dev-libs/weston/weston-12.0.91-r1.ebuild index bc2cf895ccd5..9b26690ae48b 100644 --- a/dev-libs/weston/weston-12.0.91.ebuild +++ b/dev-libs/weston/weston-12.0.91-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -59,7 +59,7 @@ RDEPEND=" jpeg? ( media-libs/libjpeg-turbo:0= ) lcms? ( >=media-libs/lcms-2.9:2 ) pipewire? ( >=media-video/pipewire-0.3:= ) - rdp? ( >=net-misc/freerdp-2.3.0:=[server] <net-misc/freerdp-3 ) + rdp? ( >=net-misc/freerdp-2.3.0:2=[server] ) remoting? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 diff --git a/dev-libs/weston/weston-13.0.0.ebuild b/dev-libs/weston/weston-13.0.0-r1.ebuild index bc2cf895ccd5..9b26690ae48b 100644 --- a/dev-libs/weston/weston-13.0.0.ebuild +++ b/dev-libs/weston/weston-13.0.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -59,7 +59,7 @@ RDEPEND=" jpeg? ( media-libs/libjpeg-turbo:0= ) lcms? ( >=media-libs/lcms-2.9:2 ) pipewire? ( >=media-video/pipewire-0.3:= ) - rdp? ( >=net-misc/freerdp-2.3.0:=[server] <net-misc/freerdp-3 ) + rdp? ( >=net-misc/freerdp-2.3.0:2=[server] ) remoting? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild index bc2cf895ccd5..9b26690ae48b 100644 --- a/dev-libs/weston/weston-9999.ebuild +++ b/dev-libs/weston/weston-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -59,7 +59,7 @@ RDEPEND=" jpeg? ( media-libs/libjpeg-turbo:0= ) lcms? ( >=media-libs/lcms-2.9:2 ) pipewire? ( >=media-video/pipewire-0.3:= ) - rdp? ( >=net-misc/freerdp-2.3.0:=[server] <net-misc/freerdp-3 ) + rdp? ( >=net-misc/freerdp-2.3.0:2=[server] ) remoting? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 |