1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 if [[ ${PV} = 9999* ]]; then
7 EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/wayland-protocols.git"
10 inherit git-r3 autotools
15 DESCRIPTION="Wayland protocol files"
16 HOMEPAGE="https://wayland.freedesktop.org/"
18 if [[ $PV != 9999* ]]; then
19 SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
20 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
27 RDEPEND="dev-libs/wayland"
34 [[ ${PV} == 9999 ]] && eautoreconf
38 export XDG_RUNTIME_DIR="${T}/runtime-dir"
39 mkdir "${XDG_RUNTIME_DIR}" || die
40 chmod 0700 "${XDG_RUNTIME_DIR}" || die