diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-02-09 01:21:32 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2015-02-09 01:21:32 +0000 |
commit | a5ff7ae8adbfffd4cf33a3e08c980714ee220d82 (patch) | |
tree | d3348c842dfd81716412286a9e52f4341d18401e /dev-libs/weston | |
parent | Version bump. Shut up repoman warning. (diff) | |
download | gentoo-2-a5ff7ae8adbfffd4cf33a3e08c980714ee220d82.tar.gz gentoo-2-a5ff7ae8adbfffd4cf33a3e08c980714ee220d82.tar.bz2 gentoo-2-a5ff7ae8adbfffd4cf33a3e08c980714ee220d82.zip |
Version bump. Shut up repoman warning.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x2324E7B566DF2611!)
Diffstat (limited to 'dev-libs/weston')
-rw-r--r-- | dev-libs/weston/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/weston/weston-1.6.1.ebuild | 159 |
2 files changed, 167 insertions, 2 deletions
diff --git a/dev-libs/weston/ChangeLog b/dev-libs/weston/ChangeLog index 38092b42de60..af1fefa1d6a1 100644 --- a/dev-libs/weston/ChangeLog +++ b/dev-libs/weston/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/weston -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.13 2014/09/27 23:00:35 mattst88 Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/ChangeLog,v 1.14 2015/02/09 01:21:32 chithanh Exp $ + +*weston-1.6.1 (09 Feb 2015) + + 09 Feb 2015; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + +weston-1.6.1.ebuild: + Version bump. Shut up repoman warning. 27 Sep 2014; Matt Turner <mattst88@gentoo.org> weston-1.6.0.ebuild: Depend on wayland-1.6.0, bug 523872. 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..47048823c0bc --- /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 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/weston/weston-1.6.1.ebuild,v 1.1 2015/02/09 01:21:32 chithanh Exp $ + +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 +} |