diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-04-28 09:54:45 +0100 |
commit | b7ebc951da8800f711142f69d9d958bde67a112d (patch) | |
tree | e318514216845acb8f2e49fff7a5cba4027e9d91 /dev-libs/weston | |
parent | dc7cbdfa65fd814b3b9aa3c56257da201109e807 (diff) |
gentoo resync : 28.04.2019
Diffstat (limited to 'dev-libs/weston')
-rw-r--r-- | dev-libs/weston/Manifest | 8 | ||||
-rw-r--r-- | dev-libs/weston/metadata.xml | 2 | ||||
-rw-r--r-- | dev-libs/weston/weston-5.0.0.ebuild | 150 | ||||
-rw-r--r-- | dev-libs/weston/weston-6.0.0.ebuild | 141 | ||||
-rw-r--r-- | dev-libs/weston/weston-9999.ebuild | 26 |
5 files changed, 161 insertions, 166 deletions
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest index 9b38c1ea3b4c..f91ac2b501a4 100644 --- a/dev-libs/weston/Manifest +++ b/dev-libs/weston/Manifest @@ -1,7 +1,7 @@ AUX README.gentoo 383 BLAKE2B a0d8fef2d1f0deebe46ed85065a09057a620aa7af4e7aa901f1fef7b75d15e2ca9d2be1b9367a651a2edf3b4265441ce47af832f423cf9725c78e61836a4f982 SHA512 e4d8f8e0edeb6773dd7ef6329074d1e40b694b9e7e10b6a429d8c5dd4fe1170594f447a42eb41446ec2355829a1da1606bf6c544434551c5c931b0794422e786 DIST weston-3.0.0.tar.xz 1300340 BLAKE2B 38b46ecca03ffee7832a561348cb1d6604db7e0add8b5629141ce61593ae250625d71c6716f02296157ea5a61764ff10561fa7ffc8f3c1426a4c86589b13b5c3 SHA512 b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58 -DIST weston-5.0.0.tar.xz 1467496 BLAKE2B 514bc4c4f09dc8bc5b068c66cf14b86687bee1e691f7dfcb251a5ae7fe02389b48626ed02c97eff9334b43e227ea8b83beef48c53a83b4691f59a65af53ad61d SHA512 b6f97eca014ea47f3de0c5ddd89712f896cd66423d0eb499e1d88d35aab616cef1e735ebb8e0cefd8b60085314b6ec3d56b39d7c4776188bb56d58efc84a52cf +DIST weston-6.0.0.tar.xz 1517032 BLAKE2B 598c525598f877715320d8b468618595d1f7b10ed56aa82c3535b05c369216d1a938d32354e3a8cc9077a0d910d0dbfdcf504fb687c73942d8ad92b13a124bd2 SHA512 127ab64b689f202acca4d9461e4decfd42357e4bbb63493af257b3b20b693a8ab4207b3c6b97663cefeed200505aad5f32b6a064db2e53fa1e201877613b394f EBUILD weston-3.0.0.ebuild 3498 BLAKE2B 066de40c7595bd86c63143e8dcc1b56991b09b23755530247f38ac2a35ceb94f16329e46ded39f0e9d4135fac47e9127477afc124c119f48d220c09022ac0bb8 SHA512 e3ef428c5f03621f8860463c69d7a124e7f16f6e92523d9e309dcb623b75f9c41c73268a54579e1c3849e1100aad534f289fd0e3465dfcd9d02b846695ac5237 -EBUILD weston-5.0.0.ebuild 3423 BLAKE2B dad9ab891253ea596eb78e99eb25bb87defa8aa89ba29ae1daf83ec5b807461c01929f87d019020ae8a5f139d4b2b908702860f8d26d759b2887b18abaf75a00 SHA512 8bdd160aecc69a91a08c8c53dd1eaa8e6db3639a70ccfa92131ecc8e7444ab98a59c2961c33c4dba5857bed306ee54bf848575473e03ecda4c42580ef5f0b03b -EBUILD weston-9999.ebuild 3312 BLAKE2B 8680274dded64a0830a29901a3ab8aff0a27c0bc23d28dc50ad1636c52e194416847d5f8cc70429e5fffdd47081936641494f48ae04ae69a893e495520f75cdb SHA512 9e883a62db0128c539d1a995da00c98b69dfe6eba801e64a0574264a68ecb4444da690523c1fe176146b7977de8a9b867b9e3fe6f8dafb338031b7a9e2afbea3 -MISC metadata.xml 1360 BLAKE2B 0ce06161e748f11ded0baf006473ef73c5fc1f5f63a6554821c8389c65747463808738648b7508c416e6db48f35f290ef8b9e212b91992224dae146ad65cae47 SHA512 d4b17a918dac982654ed9a46e84d6d27b99426a693a23cb93f1b10dd73d7a8cf5bc6d5176a732400c6c1047449ea1a9c3bfb26803ea7247ff0e76c430d676cd1 +EBUILD weston-6.0.0.ebuild 3543 BLAKE2B 1e7bdf2b6d5056153d3602a3bfcb928d384f2ed7056976bee50cdbb286a1c99f0e8ed86b5ea038566189ef463e2d2075f733bcfa3cd4885cf9a39eff3096a188 SHA512 4fd1905c335608e78577b1d591cd8d6fba746622d8e1fc1a55c47533b65402b65b9727f0fa536bfead814b990230b084d4284ef194d045c609c0b9a007398982 +EBUILD weston-9999.ebuild 3441 BLAKE2B 62f4dfc7282bec3ab49f9b0b63c34ba63b8dbfaefee8a810c34fb7ccb1643aa8619170165eeb5726f33313c36592289342aa44265c6a0470ce3d5d2b8b8e2f71 SHA512 ae3112486214afc8f197d17769136db5fbc825589e17ce18855c554c2e056ff4133e159fb209df554852a71c9fa11594551b47d5c063c3a4c28d5b7cfbf3753e +MISC metadata.xml 1476 BLAKE2B cc010d7358f64a0fc6eb9b886410a84fb80cf7c097231032e10efce10d827a74e238547b78325aa3b0c9a580a8d6dfcdbbe5f857c3e78939e20d5d14933250ee SHA512 1c89115a2e7e3f612159e642a898c2351718aeb90cd446f6f619c4002d5231c76b9f288a20f393110ddca4ce57b45c70e40a49646dab47111b1d45fdf2e8810e diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml index c976a4437cfc..c98075bd2fed 100644 --- a/dev-libs/weston/metadata.xml +++ b/dev-libs/weston/metadata.xml @@ -7,9 +7,11 @@ </maintainer> <use> <flag name="colord">Allow setting color managment</flag> + <flag name="desktop">Enable the desktop shell</flag> <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="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> diff --git a/dev-libs/weston/weston-5.0.0.ebuild b/dev-libs/weston/weston-5.0.0.ebuild deleted file mode 100644 index 221535a3bedf..000000000000 --- a/dev-libs/weston/weston-5.0.0.ebuild +++ /dev/null @@ -1,150 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git" - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi - -inherit autotools readme.gentoo-r1 toolchain-funcs $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 dbus +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" - -REQUIRED_USE=" - drm? ( gles2 ) - screen-sharing? ( rdp ) - systemd? ( dbus ) - test? ( headless xwayland ) - wayland-compositor? ( gles2 ) -" - -RDEPEND=" - >=dev-libs/libinput-0.8.0 - >=dev-libs/wayland-1.12.0 - >=dev-libs/wayland-protocols-1.13 - 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 ) - dbus? ( >=sys-apps/dbus-1.6 ) - 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] - ) - rdp? ( >=net-misc/freerdp-1.1.0:= ) - systemd? ( - sys-auth/pambase[systemd] - >=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[xcb] - >=x11-libs/libxcb-1.9 - x11-libs/libXcursor - ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - default - if [[ ${PV} = 9999* ]]; then - eautoreconf - else - elibtoolize - fi -} - -src_configure() { - local myconf=() - - if use examples || use test; then - myconf+=( --enable-simple-clients ) - else - myconf+=( --disable-simple-clients ) - fi - - econf \ - $(use_enable examples demo-clients-install) \ - $(use_enable fbdev fbdev-compositor) \ - $(use_enable dbus) \ - $(use_enable drm drm-compositor) \ - $(use_enable headless headless-compositor) \ - $(use_enable ivi ivi-shell) \ - $(use_enable lcms) \ - $(use_enable rdp rdp-compositor) \ - $(use_enable wayland-compositor) \ - $(use_enable X x11-compositor) \ - $(use_enable launch weston-launch) \ - $(use_enable colord) \ - $(use_enable gles2 egl) \ - $(use_enable resize-optimization) \ - $(use_enable screen-sharing) \ - $(use_enable suid setuid-install) \ - $(use_enable systemd systemd-login) \ - $(use_enable systemd systemd-notify) \ - $(use_enable xwayland) \ - $(use_enable xwayland xwayland-test) \ - $(use_with jpeg) \ - $(use_with webp) \ - --with-cairo=image \ - --disable-junit-xml \ - --disable-simple-dmabuf-drm-client \ - --disable-simple-dmabuf-v4l-client \ - --disable-simple-egl-clients \ - --disable-vaapi-recorder \ - "${myconf[@]}" -} - -src_test() { - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die - - cd "${BUILD_DIR}" || die - emake check -} - -src_install() { - default - - readme.gentoo_create_doc -} diff --git a/dev-libs/weston/weston-6.0.0.ebuild b/dev-libs/weston/weston-6.0.0.ebuild new file mode 100644 index 000000000000..e919840d917e --- /dev/null +++ b/dev-libs/weston/weston-6.0.0.ebuild @@ -0,0 +1,141 @@ +# Copyright 1999-2019 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 +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" + +REQUIRED_USE=" + drm? ( gles2 ) + 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.17 + 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] + ) + 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[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 desktop shell-desktop) + $(meson_use fullscreen shell-fullscreen) + $(meson_use ivi shell-ivi) + $(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 + -Dsimple-dmabuf-drm=auto + $(meson_use examples demo-clients) + $(usex examples -Dsimple-clients=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 + + # 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 b06805e2e15d..519399706138 100644 --- a/dev-libs/weston/weston-9999.ebuild +++ b/dev-libs/weston/weston-9999.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 if [[ ${PV} = 9999* ]]; then EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/weston.git" @@ -9,7 +9,7 @@ if [[ ${PV} = 9999* ]]; then EXPERIMENTAL="true" fi -inherit meson readme.gentoo-r1 toolchain-funcs $GIT_ECLASS +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" @@ -25,13 +25,14 @@ fi LICENSE="MIT CC-BY-SA-3.0" SLOT="0" -IUSE="colord +drm editor examples fbdev +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" +IUSE="colord +desktop +drm editor examples fbdev fullscreen +gles2 headless ivi jpeg +launch lcms rdp remoting +resize-optimization screen-sharing static-libs +suid systemd test wayland-compositor webp +X xwayland" REQUIRED_USE=" drm? ( gles2 ) screen-sharing? ( rdp ) - test? ( headless xwayland ) + test? ( desktop headless xwayland ) wayland-compositor? ( gles2 ) + || ( drm fbdev headless rdp wayland-compositor X ) " RDEPEND=" @@ -61,7 +62,7 @@ RDEPEND=" gles2? ( media-libs/mesa[gles2,wayland] ) - rdp? ( >=net-misc/freerdp-1.1.0:= ) + rdp? ( >=net-misc/freerdp-2.0.0_rc2:= ) remoting? ( media-libs/gstreamer:1.0 media-libs/gst-plugins-base:1.0 @@ -83,7 +84,8 @@ RDEPEND=" x11-libs/libXcursor ) " -DEPEND="${RDEPEND} +DEPEND="${RDEPEND}" +BDEPEND=" virtual/pkgconfig " @@ -94,14 +96,17 @@ src_configure() { $(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 wayland-compositor shell-desktop) + $(meson_use desktop shell-desktop) + $(meson_use fullscreen shell-fullscreen) $(meson_use ivi shell-ivi) $(meson_use lcms color-management-lcms) $(meson_use colord color-management-colord) @@ -111,7 +116,7 @@ src_configure() { -Dtools=debug,info,terminal -Dsimple-dmabuf-drm=auto $(meson_use examples demo-clients) - $(usex examples -Dsimple-clients=damage,img,egl,shm,touch "") + $(usex examples -Dsimple-clients=damage,dmabuf-v4l,im,shm,touch$(usex gles2 ,dmabuf-egl,egl "") "") $(meson_use resize-optimization resize-pool) -Dtest-junit-xml=false "${myconf[@]}" @@ -120,10 +125,7 @@ src_configure() { } src_test() { - export XDG_RUNTIME_DIR="${T}/runtime-dir" - mkdir "${XDG_RUNTIME_DIR}" || die - chmod 0700 "${XDG_RUNTIME_DIR}" || die - cd "${BUILD_DIR}" || die + xdg_environment_reset meson_src_test } |