blob: c44ffce7dfe0a9c400a800befa9ef3ae72e02b70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
EGIT_REPO_URI="git://anongit.freedesktop.org/git/wayland/${PN}"
if [[ ${PV} = 9999* ]]; then
GIT_ECLASS="git-2"
EXPERIMENTAL="true"
fi
inherit autotools toolchain-funcs $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="CCPL-Attribution-ShareAlike-3.0 MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="+clients +drm +simple-clients static-libs +tablet +wayland-compositor +x11"
RDEPEND="dev-libs/wayland
gnome-base/librsvg
(
|| ( ( >=media-libs/mesa-7.10[egl(+),gles] <media-libs/mesa-7.12[egl(+),gles] )
>=media-libs/mesa-7.12[egl(+),gles2] )
)
x11-libs/pixman
x11? ( x11-libs/libxcb x11-libs/libX11 )
drm? ( >=sys-fs/udev-136 >=x11-libs/libdrm-2.4.23 media-libs/mesa[gbm] )
clients? ( >=x11-libs/cairo-1.10.0 x11-libs/gdk-pixbuf dev-libs/glib:2
x11-libs/libxkbcommon media-libs/libpng app-text/poppler )"
DEPEND="${RDEPEND}"
src_prepare() {
if [[ ${PV} = 9999* ]]; then
eautoreconf
fi
}
src_configure() {
econf --disable-setuid-install
$(use_enable static-libs static) \
$(use_enable drm drm-compositor) \
$(use_enable wayland-compositor) \
$(use_enable x11 x11-compositor) \
$(use_enable tablet tablet-shell) \
$(use_enable clients) \
$(use_enable simple-clients)
}
|