summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2015-08-29 17:11:46 -0700
committerMatt Turner <mattst88@gentoo.org>2015-08-29 17:11:46 -0700
commit1dabbf4b0210af0495a70f5b81ba0219b0ff65f4 (patch)
tree6dfafe382276feea51bf3f49ad73e7c42ae3a298 /dev-libs/weston
parentdev-python/doublex-expects: add version 0.7.0_rc1 (diff)
downloadgentoo-1dabbf4b0210af0495a70f5b81ba0219b0ff65f4.tar.gz
gentoo-1dabbf4b0210af0495a70f5b81ba0219b0ff65f4.tar.bz2
gentoo-1dabbf4b0210af0495a70f5b81ba0219b0ff65f4.zip
dev-libs/weston: Delete old versions.
Diffstat (limited to 'dev-libs/weston')
-rw-r--r--dev-libs/weston/weston-1.2.0-r1.ebuild162
-rw-r--r--dev-libs/weston/weston-1.2.1.ebuild183
-rw-r--r--dev-libs/weston/weston-1.4.0.ebuild191
-rw-r--r--dev-libs/weston/weston-1.5.0.ebuild159
-rw-r--r--dev-libs/weston/weston-1.6.0.ebuild159
5 files changed, 0 insertions, 854 deletions
diff --git a/dev-libs/weston/weston-1.2.0-r1.ebuild b/dev-libs/weston/weston-1.2.0-r1.ebuild
deleted file mode 100644
index acf51dc007bb..000000000000
--- a/dev-libs/weston/weston-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,162 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-if [[ ${PV} = 9999* ]]; then
- EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
- GIT_ECLASS="git-2"
- EXPERIMENTAL="true"
-fi
-VIRTUALX_REQUIRED="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}"
- KEYWORDS=""
-else
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
- KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-fi
-
-LICENSE="MIT CC-BY-SA-3.0"
-SLOT="0"
-IUSE="colord +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind view wayland-compositor +X xwayland"
-
-REQUIRED_USE="
- drm? ( egl )
- editor? ( examples )
- egl? ( || ( gles2 opengl ) )
- fbdev? ( drm )
- gles2? ( !opengl )
- test? ( X )
- view? ( examples )
- wayland-compositor? ( egl )
-"
-
-RDEPEND="
- >=dev-libs/wayland-1.1.90
- media-libs/mesa[egl?,wayland]
- media-libs/lcms:2
- media-libs/libpng:=
- media-libs/libwebp
- virtual/jpeg
- sys-libs/pam
- >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?]
- >=x11-libs/libdrm-2.4.30
- x11-libs/libxkbcommon
- x11-libs/pixman
- fbdev? (
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- colord? ( >=x11-misc/colord-0.1.27 )
- drm? (
- media-libs/mesa[gbm]
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- egl? (
- media-libs/glu
- media-libs/mesa[gles2]
- )
- examples? (
- editor? ( x11-libs/pango )
- view? (
- app-text/poppler:=[cairo]
- dev-libs/glib:2
- )
- )
- 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]
- )
- unwind? ( sys-libs/libunwind )
- X? (
- x11-libs/libxcb
- x11-libs/libX11
- )
- xwayland? (
- x11-libs/cairo[xcb]
- x11-libs/libxcb
- x11-libs/libXcursor
- )
-"
-DEPEND="${RDEPEND}
- gnome-base/librsvg
- virtual/pkgconfig
-"
-
-src_prepare() {
- if [[ ${PV} = 9999* ]]; then
- eautoreconf
- fi
-}
-
-src_configure() {
- local myconf
- if use examples || use gles2 || use test; then
- myconf="--enable-simple-clients
- $(use_enable egl simple-egl-clients)"
- else
- myconf="--disable-simple-clients
- --disable-simple-egl-clients"
- fi
- econf \
- $(use_enable fbdev fbdev-compositor) \
- $(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 colord) \
- $(use_enable egl) \
- $(use_enable unwind libunwind) \
- $(use_with gles2 cairo-glesv2) \
- $(use_enable resize-optimization) \
- $(use_enable suid setuid-install) \
- $(use_enable tablet tablet-shell) \
- $(use_enable xwayland) \
- $(use_enable xwayland xwayland-test) \
- ${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
-
- cd "${BUILD_DIR}" || die
- if use opengl && use egl; then
- newbin clients/gears weston-gears
- fi
- if use examples; then
- use egl && newbin clients/simple-egl weston-simple-egl
- use editor && newbin clients/editor weston-editor
- use view && newbin clients/view weston-view
- local i
- for i in calibrator clickdot cliptest dnd eventdemo flower fullscreen image resizor simple-shm simple-touch smoke transformed; do
- newbin "clients/${i}" "weston-${i}"
- done
- fi
-}
diff --git a/dev-libs/weston/weston-1.2.1.ebuild b/dev-libs/weston/weston-1.2.1.ebuild
deleted file mode 100644
index 0160df50a24a..000000000000
--- a/dev-libs/weston/weston-1.2.1.ebuild
+++ /dev/null
@@ -1,183 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-if [[ ${PV} = 9999* ]]; then
- EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
- GIT_ECLASS="git-2"
- EXPERIMENTAL="true"
-fi
-VIRTUALX_REQUIRED="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}"
- KEYWORDS=""
-else
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
- KEYWORDS="~arm ~amd64 ~x86 ~arm-linux"
-fi
-
-LICENSE="MIT CC-BY-SA-3.0"
-SLOT="0"
-IUSE="colord +drm +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi static-libs +suid systemd tablet test unwind view wayland-compositor +X xwayland"
-
-REQUIRED_USE="
- drm? ( egl )
- egl? ( || ( gles2 opengl ) )
- fbdev? ( drm )
- gles2? ( !opengl )
- test? ( X )
- wayland-compositor? ( egl )
-"
-
-RDEPEND="
- >=dev-libs/wayland-1.1.90
- media-libs/mesa[egl?,wayland]
- media-libs/lcms:2
- media-libs/libpng:=
- media-libs/libwebp
- virtual/jpeg
- sys-libs/pam
- >=x11-libs/cairo-1.11.3[gles2(-)?,opengl?]
- >=x11-libs/libdrm-2.4.30
- x11-libs/libxkbcommon
- x11-libs/pixman
- fbdev? (
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- colord? ( >=x11-misc/colord-0.1.27 )
- drm? (
- media-libs/mesa[gbm]
- >=sys-libs/mtdev-1.1.0
- >=virtual/udev-136
- )
- egl? (
- media-libs/glu
- media-libs/mesa[gles2]
- )
- editor? ( x11-libs/pango )
- view? (
- app-text/poppler:=[cairo]
- dev-libs/glib:2
- )
- 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]
- )
- unwind? ( sys-libs/libunwind )
- X? (
- x11-libs/libxcb
- x11-libs/libX11
- )
- xwayland? (
- x11-libs/cairo[xcb]
- x11-libs/libxcb
- x11-libs/libXcursor
- )
-"
-DEPEND="${RDEPEND}
- gnome-base/librsvg
- virtual/pkgconfig
-"
-
-src_prepare() {
- if [[ ${PV} = 9999* ]]; then
- eautoreconf
- fi
-}
-
-src_configure() {
- local myconf
- if use examples || use gles2 || 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
-
- econf \
- $(use_enable fbdev fbdev-compositor) \
- $(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 colord) \
- $(use_enable egl) \
- $(use_enable unwind libunwind) \
- $(use_enable resize-optimization) \
- $(use_enable suid setuid-install) \
- $(use_enable tablet tablet-shell) \
- $(use_enable xwayland) \
- $(use_enable xwayland xwayland-test) \
- ${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
-
- pushd clients || die
-
- if use opengl && use egl && use !gles2; then
- dobin weston-gears
- fi
- if use editor; then
- dobin weston-editor
- fi
- if use view; then
- dobin weston-view
- fi
- if use examples; then
- use egl && dobin weston-simple-egl
- dobin \
- weston-calibrator \
- weston-clickdot \
- weston-cliptest \
- weston-dnd \
- weston-eventdemo \
- weston-flower \
- weston-fullscreen \
- weston-image \
- weston-resizor \
- weston-simple-shm \
- weston-simple-touch \
- weston-smoke \
- weston-transformed
- fi
- popd
-
-}
diff --git a/dev-libs/weston/weston-1.4.0.ebuild b/dev-libs/weston/weston-1.4.0.ebuild
deleted file mode 100644
index 90c5aa2b0fd9..000000000000
--- a/dev-libs/weston/weston-1.4.0.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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}"
- KEYWORDS=""
-else
- SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
- KEYWORDS="amd64 arm x86 ~arm-linux"
-fi
-
-LICENSE="MIT CC-BY-SA-3.0"
-SLOT="0"
-IUSE="colord +drm dbus +egl editor examples fbdev gles2 headless +opengl rdp +resize-optimization rpi +launch static-libs +suid systemd test unwind view wayland-compositor +X xwayland"
-
-REQUIRED_USE="
- drm? ( egl )
- egl? ( || ( gles2 opengl ) )
- gles2? ( !opengl )
- test? ( X )
- wayland-compositor? ( egl )
-"
-
-RDEPEND="
- >=dev-libs/wayland-1.4.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? (
- media-libs/glu
- media-libs/mesa[gles2,wayland]
- )
- editor? ( x11-libs/pango )
- gles2? (
- media-libs/mesa[wayland]
- )
- opengl? (
- media-libs/mesa[wayland]
- )
- view? (
- app-text/poppler:=[cairo]
- dev-libs/glib:2
- )
- 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-libs/cairo[xcb]
- x11-libs/libxcb
- x11-libs/libXcursor
- )
-"
-DEPEND="${RDEPEND}
- gnome-base/librsvg
- virtual/pkgconfig
-"
-
-src_prepare() {
- if [[ ${PV} = 9999* ]]; then
- eautoreconf
- fi
-}
-
-src_configure() {
- local myconf
- if use examples || use gles2 || 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
-
- econf \
- $(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 suid setuid-install) \
- $(use_enable xwayland) \
- $(use_enable xwayland xwayland-test) \
- ${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
-
- pushd clients || die
-
- if use opengl && use egl && use !gles2; then
- dobin weston-gears
- fi
- if use editor; then
- dobin weston-editor
- fi
- if use view; then
- dobin weston-view
- fi
- if use examples; then
- use egl && dobin weston-simple-egl
- dobin \
- weston-calibrator \
- weston-clickdot \
- weston-cliptest \
- weston-dnd \
- weston-eventdemo \
- weston-flower \
- weston-fullscreen \
- weston-image \
- weston-resizor \
- weston-simple-shm \
- weston-simple-touch \
- weston-smoke \
- weston-transformed
- fi
- popd
-
-}
diff --git a/dev-libs/weston/weston-1.5.0.ebuild b/dev-libs/weston/weston-1.5.0.ebuild
deleted file mode 100644
index e396bf404ed8..000000000000
--- a/dev-libs/weston/weston-1.5.0.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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? ( || ( gles2 opengl ) )
- gles2? ( !opengl )
- screen-sharing? ( rdp )
- test? ( X )
- wayland-compositor? ( egl )
-"
-
-RDEPEND="
- >=dev-libs/wayland-1.4.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? (
- media-libs/glu
- media-libs/mesa[gles2,wayland]
- )
- editor? ( x11-libs/pango )
- gles2? (
- 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 gles2 || 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
-
- 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.0.ebuild b/dev-libs/weston/weston-1.6.0.ebuild
deleted file mode 100644
index 01fa93ccc1c7..000000000000
--- a/dev-libs/weston/weston-1.6.0.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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? ( || ( gles2 opengl ) )
- gles2? ( !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? (
- media-libs/glu
- media-libs/mesa[gles2,wayland]
- )
- editor? ( x11-libs/pango )
- gles2? (
- 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 gles2 || 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
-
- 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
-}