From 07384e980bd1d08ebf59c4ed43a5676c7455cec1 Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Sun, 15 Feb 2015 22:41:09 +0200 Subject: weston: Update to 1.6.1 for sync with gentoo tree --- dev-libs/weston/Manifest | 2 +- dev-libs/weston/weston-1.6.0.ebuild | 166 ------------------------------------ dev-libs/weston/weston-1.6.1.ebuild | 166 ++++++++++++++++++++++++++++++++++++ 3 files changed, 167 insertions(+), 167 deletions(-) delete mode 100644 dev-libs/weston/weston-1.6.0.ebuild create mode 100644 dev-libs/weston/weston-1.6.1.ebuild diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest index 8460c3c..013ae1c 100644 --- a/dev-libs/weston/Manifest +++ b/dev-libs/weston/Manifest @@ -1 +1 @@ -DIST weston-1.6.0.tar.xz 733112 SHA256 dc3ea5d13bbf025fabc006216c5ddc0d80d5f4ebe778912b8c4d1d4acaaa614d SHA512 24220a60ee599cd5cf90258f0ce284370162a78bb8aca513a0372220ccfd67b8bbc72efd1123824dcefacea66c0f053a9ee2a73a16f1f00563bed0b83b774de2 WHIRLPOOL 5cf2f06feca4c8469f2ef58e3adeb9df99c68d2a686eff80cc38d66ee96ec41b302f619edf3aff76255196c5900be8174987d19965958f561bfec5c202e50a1f +DIST weston-1.6.1.tar.xz 734968 SHA256 e9ef779fda4008b7081ee6c64df7971c50954c5cf0d166d8a2fcb104ec1042fd SHA512 837c632d47dc496d7daf488e9887e6ff3d6baf9d954c3a283640722f068165955c22677c26abb9f8c0142352084d6a22054edf0963deb9a62b0f7e84e1c0e6cf WHIRLPOOL 6dc60bb64841fb77af30aca532ad069a169ebdababeaa3a14b3974ff3b32e04159157b0c270f333fcc5ac97c5061a44fb1387be358bcf1ded45f6dc55f366445 diff --git a/dev-libs/weston/weston-1.6.0.ebuild b/dev-libs/weston/weston-1.6.0.ebuild deleted file mode 100644 index 4183b2a..0000000 --- a/dev-libs/weston/weston-1.6.0.ebuild +++ /dev/null @@ -1,166 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=5 - -if [[ ${PV} = 9999* ]]; then - EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}" - GIT_ECLASS="git-r3" - EXPERIMENTAL="true" -fi -VIRTUALX_REQUIRED="test" -RESTRICT="test" - -inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS - -DESCRIPTION="Wayland reference compositor" -HOMEPAGE="http://wayland.freedesktop.org/" - -if [[ $PV = 9999* ]]; then - SRC_URI="${SRC_PATCHES}" -else - SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz" -fi - -LICENSE="MIT CC-BY-SA-3.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86 ~arm-linux" -IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland" - -REQUIRED_USE=" - drm? ( egl ) - egl? ( !rpi? ( || ( gles2 opengl ) ) ) - gles2? ( !opengl ) - rpi? ( !opengl ) - screen-sharing? ( rdp ) - test? ( X ) - wayland-compositor? ( egl ) -" - -RDEPEND=" - >=dev-libs/wayland-1.6.0 - media-libs/lcms:2 - media-libs/libpng:0= - media-libs/libwebp:0= - virtual/jpeg - >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?] - >=x11-libs/libdrm-2.4.30 - x11-libs/libxkbcommon - x11-libs/pixman - 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 ) - drm? ( - media-libs/mesa[gbm] - >=sys-libs/mtdev-1.1.0 - >=virtual/udev-136 - ) - egl? ( - rpi? ( media-libs/raspberrypi-userland ) - !rpi? ( media-libs/glu media-libs/mesa[gles2,wayland] ) - ) - editor? ( x11-libs/pango ) - gles2? ( - rpi? ( media-libs/raspberrypi-userland ) - !rpi? ( media-libs/mesa[wayland] ) - ) - opengl? ( - media-libs/mesa[wayland] - ) - rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) - rpi? ( - >=sys-libs/mtdev-1.1.0 - >=virtual/udev-136 - ) - systemd? ( - sys-auth/pambase[systemd] - sys-apps/systemd[pam] - ) - launch? ( sys-auth/pambase ) - unwind? ( sys-libs/libunwind ) - X? ( - x11-libs/libxcb - x11-libs/libX11 - ) - xwayland? ( - x11-base/xorg-server[wayland] - x11-libs/cairo[xcb] - x11-libs/libxcb - x11-libs/libXcursor - ) -" -DEPEND="${RDEPEND} - virtual/pkgconfig -" - -src_prepare() { - if [[ ${PV} = 9999* ]]; then - eautoreconf - fi -} - -src_configure() { - local myconf - if use examples || use egl || use test; then - myconf="--enable-simple-clients - $(use_enable egl simple-egl-clients)" - else - myconf="--disable-simple-clients - --disable-simple-egl-clients" - fi - - if use gles2; then - myconf+=" --with-cairo=glesv2" - elif use opengl; then - myconf+=" --with-cairo=gl" - else - myconf+=" --with-cairo=image" - fi - - if use rpi; then - # Set the default backend to probably desired RPi one, to work without a weston.ini - export WESTON_NATIVE_BACKEND="rpi-backend.so" - 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 rdp rdp-compositor) \ - $(use_enable rpi rpi-compositor) \ - $(use_enable wayland-compositor) \ - $(use_enable X x11-compositor) \ - $(use_enable launch weston-launch) \ - $(use_enable colord) \ - $(use_enable egl) \ - $(use_enable unwind libunwind) \ - $(use_enable resize-optimization) \ - $(use_enable screen-sharing) \ - $(use_enable suid setuid-install) \ - $(use_enable xwayland) \ - $(use_enable xwayland xwayland-test) \ - --disable-libinput-backend \ - ${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 - Xemake check -} - -src_install() { - default - - readme.gentoo_src_install -} diff --git a/dev-libs/weston/weston-1.6.1.ebuild b/dev-libs/weston/weston-1.6.1.ebuild new file mode 100644 index 0000000..4183b2a --- /dev/null +++ b/dev-libs/weston/weston-1.6.1.ebuild @@ -0,0 +1,166 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}" + GIT_ECLASS="git-r3" + EXPERIMENTAL="true" +fi +VIRTUALX_REQUIRED="test" +RESTRICT="test" + +inherit autotools readme.gentoo toolchain-funcs virtualx $GIT_ECLASS + +DESCRIPTION="Wayland reference compositor" +HOMEPAGE="http://wayland.freedesktop.org/" + +if [[ $PV = 9999* ]]; then + SRC_URI="${SRC_PATCHES}" +else + SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz" +fi + +LICENSE="MIT CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86 ~arm-linux" +IUSE="colord dbus +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch screen-sharing static-libs +suid systemd test unwind wayland-compositor +X xwayland" + +REQUIRED_USE=" + drm? ( egl ) + egl? ( !rpi? ( || ( gles2 opengl ) ) ) + gles2? ( !opengl ) + rpi? ( !opengl ) + screen-sharing? ( rdp ) + test? ( X ) + wayland-compositor? ( egl ) +" + +RDEPEND=" + >=dev-libs/wayland-1.6.0 + media-libs/lcms:2 + media-libs/libpng:0= + media-libs/libwebp:0= + virtual/jpeg + >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?] + >=x11-libs/libdrm-2.4.30 + x11-libs/libxkbcommon + x11-libs/pixman + 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 ) + drm? ( + media-libs/mesa[gbm] + >=sys-libs/mtdev-1.1.0 + >=virtual/udev-136 + ) + egl? ( + rpi? ( media-libs/raspberrypi-userland ) + !rpi? ( media-libs/glu media-libs/mesa[gles2,wayland] ) + ) + editor? ( x11-libs/pango ) + gles2? ( + rpi? ( media-libs/raspberrypi-userland ) + !rpi? ( media-libs/mesa[wayland] ) + ) + opengl? ( + media-libs/mesa[wayland] + ) + rdp? ( >=net-misc/freerdp-1.1.0_beta1_p20130710 ) + rpi? ( + >=sys-libs/mtdev-1.1.0 + >=virtual/udev-136 + ) + systemd? ( + sys-auth/pambase[systemd] + sys-apps/systemd[pam] + ) + launch? ( sys-auth/pambase ) + unwind? ( sys-libs/libunwind ) + X? ( + x11-libs/libxcb + x11-libs/libX11 + ) + xwayland? ( + x11-base/xorg-server[wayland] + x11-libs/cairo[xcb] + x11-libs/libxcb + x11-libs/libXcursor + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + if [[ ${PV} = 9999* ]]; then + eautoreconf + fi +} + +src_configure() { + local myconf + if use examples || use egl || use test; then + myconf="--enable-simple-clients + $(use_enable egl simple-egl-clients)" + else + myconf="--disable-simple-clients + --disable-simple-egl-clients" + fi + + if use gles2; then + myconf+=" --with-cairo=glesv2" + elif use opengl; then + myconf+=" --with-cairo=gl" + else + myconf+=" --with-cairo=image" + fi + + if use rpi; then + # Set the default backend to probably desired RPi one, to work without a weston.ini + export WESTON_NATIVE_BACKEND="rpi-backend.so" + 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 rdp rdp-compositor) \ + $(use_enable rpi rpi-compositor) \ + $(use_enable wayland-compositor) \ + $(use_enable X x11-compositor) \ + $(use_enable launch weston-launch) \ + $(use_enable colord) \ + $(use_enable egl) \ + $(use_enable unwind libunwind) \ + $(use_enable resize-optimization) \ + $(use_enable screen-sharing) \ + $(use_enable suid setuid-install) \ + $(use_enable xwayland) \ + $(use_enable xwayland xwayland-test) \ + --disable-libinput-backend \ + ${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 + Xemake check +} + +src_install() { + default + + readme.gentoo_src_install +} -- cgit v1.2.3-65-gdbad