summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gentoo.org>2015-08-29 17:33:52 -0700
committerMatt Turner <mattst88@gentoo.org>2015-08-29 17:46:42 -0700
commit6bb20c0472e7436cfde5bfe52b618a317ccf6f07 (patch)
tree77de186f6cb52245f9bdc8955923bdf26d63f18e /dev-libs/weston
parentdev-libs/wayland: Add git ebuild. (diff)
downloadgentoo-6bb20c0472e7436cfde5bfe52b618a317ccf6f07.tar.gz
gentoo-6bb20c0472e7436cfde5bfe52b618a317ccf6f07.tar.bz2
gentoo-6bb20c0472e7436cfde5bfe52b618a317ccf6f07.zip
dev-libs/weston: Version bump to 1.8.1.
Bug: https://bugs.gentoo.org/557940
Diffstat (limited to 'dev-libs/weston')
-rw-r--r--dev-libs/weston/Manifest6
-rw-r--r--dev-libs/weston/weston-1.8.0.ebuild161
2 files changed, 162 insertions, 5 deletions
diff --git a/dev-libs/weston/Manifest b/dev-libs/weston/Manifest
index dc3ec286a73a..dd3926a0c89f 100644
--- a/dev-libs/weston/Manifest
+++ b/dev-libs/weston/Manifest
@@ -1,7 +1,3 @@
-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
+DIST weston-1.8.0.tar.xz 1317032 SHA256 8963e69f328e815cec42c58046c4af721476c7541bb7d9edc71740fada5ad312 SHA512 3ad527259d17f67f48796be6c378a8958dffbe8668d1e7079253c2d52420523ea1cef81e82ff02403fde81cf33c7b93a9702ef077bdb07762df904e368541039 WHIRLPOOL d3b2d4846bca176078d535f7ba2d26d177988f7d1d0f38163d0177534c112dfb54aef928a7608ecb531a69b4d55709c6ab72949d5a6f7a85baa1e9ec37ba368f
diff --git a/dev-libs/weston/weston-1.8.0.ebuild b/dev-libs/weston/weston-1.8.0.ebuild
new file mode 100644
index 000000000000..51191e0660bd
--- /dev/null
+++ b/dev-libs/weston/weston-1.8.0.ebuild
@@ -0,0 +1,161 @@
+# 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}"
+ 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 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.8.1
+ 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
+}