diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-libs/weston | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-libs/weston')
-rw-r--r-- | dev-libs/weston/Manifest | 7 | ||||
-rw-r--r-- | dev-libs/weston/files/README.gentoo | 9 | ||||
-rw-r--r-- | dev-libs/weston/metadata.xml | 25 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.2.0-r1.ebuild | 162 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.2.1.ebuild | 183 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.4.0.ebuild | 191 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.5.0.ebuild | 159 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.6.0.ebuild | 159 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.6.1.ebuild | 159 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.7.0.ebuild | 160 |
10 files changed, 1214 insertions, 0 deletions
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest new file mode 100644 index 000000000000..dc3ec286a73a --- /dev/null +++ b/dev-libs/weston/Manifest @@ -0,0 +1,7 @@ +DIST weston-1.2.0.tar.xz 654068 SHA256 122e12ae8e4ec4618780465c0cc31d70d67054900a2aac458f82ed6eb5d397b7 SHA512 57e826058cb8b30250864c77029b21ccbec1969a94d7f0473697cd71a5dfaa937726646b0a536c84f3e92291b20de6fdee1c22c90e3d227636b8cf4533ba7900 WHIRLPOOL 7504c9c7c4bee9860577f2005376494ccb1a32755a15b4f513f9b7be6ccdf60fe6f738a35a9053bd31acd8ad78346a22c0faa36595db4f9076b0de3bcc19c6f1 +DIST weston-1.2.1.tar.xz 658140 SHA256 f2d40d15bfad267c58ed8de25593a69d4cb08a7f3178be13f4d11af99a8360ad SHA512 81fea5ed4b0a485b919756f4238415766ad64565484560fb8032d2215576f98cb84ec2a3d513ed3cddb1ba72927226624f1cb768793e98fa904cc189a45f098a WHIRLPOOL 86ac4ebb4fa8e6105a6e84316a67401eb6205ab119a7f989925b3cc807523b3548d7677fc69d9a73e588af37f1d2ef8d67343c8a743c68d6225b642f43fef5bb +DIST weston-1.4.0.tar.xz 709808 SHA256 74a2319d98e9cdb1acf24659699719aa89ac268cf549759271e326edc5f9ed64 SHA512 19842f2b85ce74dc70ce20349942ce13cd5c9d763ae67c86027e584dd564ea5171457f52119127940b75833042c5582d131c0596a0c7356439e2c52c2cd051f2 WHIRLPOOL 2fadf6eeb8304021cb1ae5bad96bbe8282008d115523a5b024f949a0bf879f8f8779be00a237acf6bd641ac7f92691d3befd3ab55d1e63ddaf7b62b67aab0051 +DIST weston-1.5.0.tar.xz 722616 SHA256 06388ba04ac79aa72d685cc1a8e646ddb2b8cfe11fcc742294f9addac48b7684 SHA512 25230a2d2d0242fecfb35426d538ffe65bec1c984ef3529569d5aa97afd47058785227567ee80bd46cfaa2e914191eee24351a7fe5442f72d1cc32ff646c50e9 WHIRLPOOL 487f8e8d31ea6ceeca13e89bc0da227f9d88b48c3b0aff25763fa869e661cd32dc91a2a0eec416f726222b2c057f843137c7c3a4856727573e9e02844bb70aa0 +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 +DIST weston-1.7.0.tar.xz 1286904 SHA256 1c4511945f3f476c24af712e82a7b500ae91a99cbc0fe2e381da1449125166cd SHA512 2ba9c7cfd2a18354af8996bf8d78bbccd12bff1ee99102d5057758cdc54311632f7e7583ffcb075efb75e702a8fa210ea0c4f0f8bb8b18e9df39a9db77d03d19 WHIRLPOOL 48ee5e4b8676cc84fbeef019034b9961fe1be51f31af11d3df24ba1d5d446133b747ac1494ef080647d8b845492125fbb453a037d0b552b43a5167bbba8c36aa diff --git a/dev-libs/weston/files/README.gentoo b/dev-libs/weston/files/README.gentoo new file mode 100644 index 000000000000..ed8c5c3bae40 --- /dev/null +++ b/dev-libs/weston/files/README.gentoo @@ -0,0 +1,9 @@ +For running Weston you need to have $XDG_RUNTIME_DIR in your environment, +directory must exist and have correct permissions. If you are not using systemd, +it will not be created automatically, you can create it using your shell, +add these lines to ~/.bash_profile: + +# wayland +export XDG_RUNTIME_DIR=/tmp/.runtime-${USER} +mkdir -p "${XDG_RUNTIME_DIR}" +chmod 0700 "${XDG_RUNTIME_DIR}" diff --git a/dev-libs/weston/metadata.xml b/dev-libs/weston/metadata.xml new file mode 100644 index 000000000000..be0b9a074f74 --- /dev/null +++ b/dev-libs/weston/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>x11</herd> +<use> + <flag name='colord'>Allow setting color managment</flag> + <flag name='drm'>Enable drm compositor support</flag> + <flag name='editor'>Install wayland-editor example application</flag> + <flag name='egl'>Enable egl acceleration</flag> + <flag name='fbdev'>Enable fbdev compositor support</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='launch'>Install weston-launch utility</flag> + <flag name='rdp'>Enable Remote Desktop Protocol compositor support</flag> + <flag name='resize-optimization'>Increase performance, allocate more RAM. Recommended to disable on Raspberry Pi</flag> + <flag name='rpi'>Raspberry Pi GPU support</flag> + <flag name='screen-sharing'>Enable screen-sharing through RDP</flag> + <flag name='tablet'>Enable interface for tablets</flag> + <flag name='unwind'>Enable libunwind usage for backtraces</flag> + <flag name='view'>Install wayland-view example application</flag> + <flag name='wayland-compositor'>Enable Wayland compositor support</flag> + <flag name='xwayland'>Enable ability support native X11 applications</flag> +</use> +</pkgmetadata> diff --git a/dev-libs/weston/weston-1.2.0-r1.ebuild b/dev-libs/weston/weston-1.2.0-r1.ebuild new file mode 100644 index 000000000000..acf51dc007bb --- /dev/null +++ b/dev-libs/weston/weston-1.2.0-r1.ebuild @@ -0,0 +1,162 @@ +# 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 new file mode 100644 index 000000000000..0160df50a24a --- /dev/null +++ b/dev-libs/weston/weston-1.2.1.ebuild @@ -0,0 +1,183 @@ +# 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 new file mode 100644 index 000000000000..90c5aa2b0fd9 --- /dev/null +++ b/dev-libs/weston/weston-1.4.0.ebuild @@ -0,0 +1,191 @@ +# 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 new file mode 100644 index 000000000000..e396bf404ed8 --- /dev/null +++ b/dev-libs/weston/weston-1.5.0.ebuild @@ -0,0 +1,159 @@ +# 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 new file mode 100644 index 000000000000..01fa93ccc1c7 --- /dev/null +++ b/dev-libs/weston/weston-1.6.0.ebuild @@ -0,0 +1,159 @@ +# 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 +} 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 000000000000..75414a3d7792 --- /dev/null +++ b/dev-libs/weston/weston-1.6.1.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2015 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 +} diff --git a/dev-libs/weston/weston-1.7.0.ebuild b/dev-libs/weston/weston-1.7.0.ebuild new file mode 100644 index 000000000000..06fe4daef0f9 --- /dev/null +++ b/dev-libs/weston/weston-1.7.0.ebuild @@ -0,0 +1,160 @@ +# Copyright 1999-2015 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 ivi +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/libinput-0.8.0 + >=dev-libs/wayland-1.7.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 ivi ivi-shell) \ + $(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) \ + ${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 +} |