summaryrefslogtreecommitdiff
path: root/dev-libs/weston
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /dev-libs/weston
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'dev-libs/weston')
-rw-r--r--dev-libs/weston/Manifest6
-rw-r--r--dev-libs/weston/metadata.xml3
-rw-r--r--dev-libs/weston/weston-9.0.0.ebuild147
-rw-r--r--dev-libs/weston/weston-9999.ebuild5
4 files changed, 156 insertions, 5 deletions
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
index 52218b8a959e..b24f841a79f1 100644
--- a/dev-libs/weston/Manifest
+++ b/dev-libs/weston/Manifest
@@ -1,5 +1,7 @@
AUX README.gentoo 383 BLAKE2B a0d8fef2d1f0deebe46ed85065a09057a620aa7af4e7aa901f1fef7b75d15e2ca9d2be1b9367a651a2edf3b4265441ce47af832f423cf9725c78e61836a4f982 SHA512 e4d8f8e0edeb6773dd7ef6329074d1e40b694b9e7e10b6a429d8c5dd4fe1170594f447a42eb41446ec2355829a1da1606bf6c544434551c5c931b0794422e786
DIST weston-8.0.0.tar.xz 1094904 BLAKE2B 858f892027f2f41687deb699770843bf962b8fab06bded4f9018ded01d87e2dc3388e371921229887d45f6c9c9e981ae5b28ad473660b9acce9107c7a63a14d5 SHA512 74853b0c9cabbabe942a2d057b65e4e97b48dc5f4df6d7b9ffc10ec52bc787009b12b900be6b426551902b920b7308baa967b7489761641dc9c31cf90440950c
+DIST weston-9.0.0.tar.xz 1555212 BLAKE2B 6c5feb3959ebe894861c6dc0817633b23e8518baf1c359c2967f111c071e9d4f166ef1421ad6465b036b3f1c485cab5f442476e7a44e3ec722cff576dea73852 SHA512 ccc263f8279b7b23e5c593b4a8a023de2c3dc178b1b8d6593599171770bcfe97608de9fcb77aa1cab39255451d289d323e51c317dae190c7641282e085b84f90
EBUILD weston-8.0.0.ebuild 3660 BLAKE2B 3a0d81693f81fc132b4ffde6d5b13f77c2e7c61b0d9518523fd2106559708dc23f5b4be8158fd1417e68d76837f21b835818b01bedf6ac757f5fb064339f0347 SHA512 c17c246ec8b0a1159bf45747b58d8e063c939223c37b23a92242ad6649f97b1e16f8c6ff3a15bb50ef7b5679a907daa266c7f794bf63c7ce2c2a0b60e816c3a0
-EBUILD weston-9999.ebuild 3677 BLAKE2B c32f558f61f94edaf234a92a25c69edb789439168f195fb680f680e0f856952b53e92fe758c1e24c224f7abcae538b7108bbc0f18a0b9dd2c82fd0b216f028c3 SHA512 8381f188bff1ddab99279d7dd7ef33e87d279df95f17a9cc146c14c626f3646e444a67b3951091e22fd7e78bae519a749554331e2c05ef970f999567508e60a2
-MISC metadata.xml 1440 BLAKE2B 146131404d49bd8011186bced3225a8f12b03e53cc7311baba9f9e412861e7260c50868f169d5dac079319b572cc3996d5565420fdc9972c698df2e5d17ad0ae SHA512 491e0cff4f9e3dc8b794a6711b5ad781c98e72bf5ec851814557b41c2026f8d6cbf39a0342f1564293c093ba87ce23ba7456530213995882098c2bc0f2736217
+EBUILD weston-9.0.0.ebuild 3716 BLAKE2B 537fe56673b83e0c843be35ab95b1e154570a1bbb02a9cbede05e119de27e5e130fae91372c1c239ca5b77c762eb26db6e0c9e83523202d98e0aefe97f19ab45 SHA512 bd8b946e7dc6488b9f7586cdb263e64bf4bc87fc9936d635b79df9a27929fd621a26f1e2e918f2924bc3e11e7a0665934229cb5f5334503e1c02553fac273ab0
+EBUILD weston-9999.ebuild 3716 BLAKE2B 537fe56673b83e0c843be35ab95b1e154570a1bbb02a9cbede05e119de27e5e130fae91372c1c239ca5b77c762eb26db6e0c9e83523202d98e0aefe97f19ab45 SHA512 bd8b946e7dc6488b9f7586cdb263e64bf4bc87fc9936d635b79df9a27929fd621a26f1e2e918f2924bc3e11e7a0665934229cb5f5334503e1c02553fac273ab0
+MISC metadata.xml 1484 BLAKE2B 0cf0554d570059077eedaf579dc65651c715a80520d89633cf1979af25014fd7817d7e4ded1d7bdbbc77346e58d026e6371cfec91f710abfdcdc5d360eec60ef SHA512 63e012a64c88b3c2aca3a5f109d468e3dd5e856b1bd42ad2a803e2881b0962f499f8b201e99e940f04b09a3618e9f3594ea2e8565b204cab4093030913222900
diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml
index ef151677e17c..dff0a7012a3a 100644
--- a/dev-libs/weston/metadata.xml
+++ b/dev-libs/weston/metadata.xml
@@ -10,10 +10,11 @@
<flag name="drm">Enable drm compositor support</flag>
<flag name="editor">Install wayland-editor example application</flag>
<flag name="fbdev">Enable fbdev compositor support</flag>
- <flag name="fullscreen">Enable fullscreen/kiosk shell</flag>
+ <flag name="fullscreen">Enable fullscreen shell</flag>
<flag name="gles2">Use GLESv2 cairo instead of full GL</flag>
<flag name="headless">Headless backend and a noop renderer, mainly for testing purposes</flag>
<flag name="ivi">Enable the IVI shell</flag>
+ <flag name="kiosk">Enable the kiosk shell</flag>
<flag name="launch">Install weston-launch utility</flag>
<flag name="pipewire">Enable virtual remote output with Pipewire on DRM backend</flag>
<flag name="rdp">Enable Remote Desktop Protocol compositor support</flag>
diff --git a/dev-libs/weston/weston-9.0.0.ebuild b/dev-libs/weston/weston-9.0.0.ebuild
new file mode 100644
index 000000000000..097c7f0c70b9
--- /dev/null
+++ b/dev-libs/weston/weston-9.0.0.ebuild
@@ -0,0 +1,147 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git"
+ GIT_ECLASS="git-r3"
+ EXPERIMENTAL="true"
+fi
+
+inherit meson readme.gentoo-r1 toolchain-funcs 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}"
+ KEYWORDS=""
+else
+ SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~x86"
+fi
+
+LICENSE="MIT CC-BY-SA-3.0"
+SLOT="0"
+
+IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg kiosk +launch lcms pipewire rdp remoting +resize-optimization screen-sharing +suid systemd test wayland-compositor webp +X xwayland"
+RESTRICT="!test? ( test )"
+
+REQUIRED_USE="
+ colord? ( lcms )
+ drm? ( gles2 )
+ pipewire? ( drm )
+ screen-sharing? ( rdp )
+ test? ( desktop headless xwayland )
+ wayland-compositor? ( gles2 )
+ || ( drm fbdev headless rdp wayland-compositor X )
+"
+
+RDEPEND="
+ >=dev-libs/libinput-0.8.0
+ >=dev-libs/wayland-1.17.0
+ >=dev-libs/wayland-protocols-1.18
+ lcms? ( media-libs/lcms:2 )
+ media-libs/libpng:0=
+ webp? ( media-libs/libwebp:0= )
+ jpeg? ( virtual/jpeg:0= )
+ >=x11-libs/cairo-1.11.3
+ >=x11-libs/libdrm-2.4.68
+ >=x11-libs/libxkbcommon-0.5.0
+ >=x11-libs/pixman-0.25.2
+ x11-misc/xkeyboard-config
+ fbdev? (
+ >=sys-libs/mtdev-1.1.0
+ >=virtual/udev-136
+ )
+ colord? ( >=x11-misc/colord-0.1.27 )
+ drm? (
+ >=media-libs/mesa-17.1[gbm]
+ >=sys-libs/mtdev-1.1.0
+ >=virtual/udev-136
+ )
+ editor? ( x11-libs/pango )
+ gles2? (
+ media-libs/mesa[gles2,wayland]
+ )
+ pipewire? ( >=media-video/pipewire-0.2:= )
+ rdp? ( >=net-misc/freerdp-2.0.0_rc2:= )
+ remoting? (
+ media-libs/gstreamer:1.0
+ media-libs/gst-plugins-base:1.0
+ )
+ systemd? (
+ sys-auth/pambase[systemd]
+ >=sys-apps/dbus-1.6
+ >=sys-apps/systemd-209[pam]
+ )
+ launch? ( sys-auth/pambase )
+ X? (
+ >=x11-libs/libxcb-1.9
+ x11-libs/libX11
+ )
+ xwayland? (
+ x11-base/xorg-server[wayland]
+ x11-libs/cairo[X,xcb(+)]
+ >=x11-libs/libxcb-1.9
+ x11-libs/libXcursor
+ )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ 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)
+ $(meson_use fbdev backend-fbdev)
+ -Dbackend-default=auto
+ $(meson_use gles2 renderer-gl)
+ $(meson_use launch weston-launch)
+ $(meson_use xwayland)
+ $(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 colord color-management-colord)
+ $(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
+ -Dtest-gl-renderer=false
+ "${myconf[@]}"
+ )
+ meson_src_configure
+}
+
+src_test() {
+ xdg_environment_reset
+
+ # devices test usually fails.
+ cd "${BUILD_DIR}" || die
+ meson test $(meson test --list | grep -Fxv devices) || die
+}
+
+src_install() {
+ meson_src_install
+ if use launch && use suid; then
+ chmod u+s "${ED}"/usr/bin/weston-launch || die
+ fi
+ readme.gentoo_create_doc
+}
diff --git a/dev-libs/weston/weston-9999.ebuild b/dev-libs/weston/weston-9999.ebuild
index 0b8f285ce20f..097c7f0c70b9 100644
--- a/dev-libs/weston/weston-9999.ebuild
+++ b/dev-libs/weston/weston-9999.ebuild
@@ -25,7 +25,7 @@ fi
LICENSE="MIT CC-BY-SA-3.0"
SLOT="0"
-IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms pipewire rdp remoting +resize-optimization screen-sharing +suid systemd test wayland-compositor webp +X xwayland"
+IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg kiosk +launch lcms pipewire rdp remoting +resize-optimization screen-sharing +suid systemd test wayland-compositor webp +X xwayland"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -65,7 +65,7 @@ RDEPEND="
gles2? (
media-libs/mesa[gles2,wayland]
)
- pipewire? ( =media-video/pipewire-0.2*:= )
+ pipewire? ( >=media-video/pipewire-0.2:= )
rdp? ( >=net-misc/freerdp-2.0.0_rc2:= )
remoting? (
media-libs/gstreamer:1.0
@@ -113,6 +113,7 @@ src_configure() {
$(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 colord color-management-colord)
$(meson_use systemd launcher-logind)