diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-02-15 23:37:07 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-02-15 23:37:07 +0000 |
commit | 423b81980e44cb274189a92f5c284a31d2e7d76d (patch) | |
tree | 9de0736cf99a1605535b951deaa3606aaf6e8462 /dev-libs/weston | |
parent | games-engines/dMagnetic: Bump to 0.22, drop old 0.21 (diff) | |
download | gentoo-423b81980e44cb274189a92f5c284a31d2e7d76d.tar.gz gentoo-423b81980e44cb274189a92f5c284a31d2e7d76d.tar.bz2 gentoo-423b81980e44cb274189a92f5c284a31d2e7d76d.zip |
dev-libs/weston: Version bump to 8.0.0
Closes: https://bugs.gentoo.org/708364
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-libs/weston')
-rw-r--r-- | dev-libs/weston/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/weston/weston-8.0.0.ebuild | 145 | ||||
-rw-r--r-- | dev-libs/weston/weston-9999.ebuild | 2 |
3 files changed, 147 insertions, 1 deletions
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest index 717b23ac588e..e15a2087d10a 100644 --- a/dev-libs/weston/Manifest +++ b/dev-libs/weston/Manifest @@ -1,2 +1,3 @@ DIST weston-3.0.0.tar.xz 1300340 BLAKE2B 38b46ecca03ffee7832a561348cb1d6604db7e0add8b5629141ce61593ae250625d71c6716f02296157ea5a61764ff10561fa7ffc8f3c1426a4c86589b13b5c3 SHA512 b824c39f2a884f6d50d607613f447090621f684c96f7d905f25f6e500dabd03ecb2b1cd1030babc193c3417223cb220103abb792437e1a5ead7229a76b5c7a58 DIST weston-7.0.0.tar.xz 1086028 BLAKE2B 84bd16b9d9b191be79bd58a2eecf189971f859edd922245df426ef7871533f5e2a99d484a91241953d182047a6d70d9ee64e8754ea7638637aaf777e4382e793 SHA512 fa14467ab89fb12175830d9cf29d89dc04899fd21d801e60e85836e8e52e17e144be78098b3eedfab6c51b7fb055ecfabb456a8a74f4e40485134da59ac58ea3 +DIST weston-8.0.0.tar.xz 1094904 BLAKE2B 858f892027f2f41687deb699770843bf962b8fab06bded4f9018ded01d87e2dc3388e371921229887d45f6c9c9e981ae5b28ad473660b9acce9107c7a63a14d5 SHA512 74853b0c9cabbabe942a2d057b65e4e97b48dc5f4df6d7b9ffc10ec52bc787009b12b900be6b426551902b920b7308baa967b7489761641dc9c31cf90440950c diff --git a/dev-libs/weston/weston-8.0.0.ebuild b/dev-libs/weston/weston-8.0.0.ebuild new file mode 100644 index 000000000000..c606791b591d --- /dev/null +++ b/dev-libs/weston/weston-8.0.0.ebuild @@ -0,0 +1,145 @@ +# 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 +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 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 + "${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 816ad3eaed28..245281887fcc 100644 --- a/dev-libs/weston/weston-9999.ebuild +++ b/dev-libs/weston/weston-9999.ebuild @@ -119,11 +119,11 @@ src_configure() { $(meson_use jpeg image-jpeg) $(meson_use webp image-webp) -Dtools=debug,info,terminal - -Dsimple-dmabuf-drm=auto $(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 |