2021-05-04 09:08:28 +03:00
|
|
|
# Copyright 1999-2021 Gentoo Authors
|
2016-03-13 23:42:20 +03:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2019-08-06 10:06:42 +03:00
|
|
|
EAPI=7
|
2016-07-24 22:46:35 +03:00
|
|
|
|
2021-05-04 09:08:28 +03:00
|
|
|
inherit meson
|
|
|
|
|
2016-03-13 23:42:20 +03:00
|
|
|
DESCRIPTION="Wayland protocol files"
|
2016-04-21 22:43:26 +03:00
|
|
|
HOMEPAGE="https://wayland.freedesktop.org/"
|
2016-03-13 23:42:20 +03:00
|
|
|
|
2019-08-06 10:06:42 +03:00
|
|
|
if [[ ${PV} = 9999* ]]; then
|
|
|
|
EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/"
|
2021-05-04 09:08:28 +03:00
|
|
|
inherit git-r3
|
2019-08-06 10:06:42 +03:00
|
|
|
else
|
2016-04-21 22:43:26 +03:00
|
|
|
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
|
2021-05-04 09:08:28 +03:00
|
|
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
2016-03-13 23:42:20 +03:00
|
|
|
fi
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
2021-05-04 09:08:28 +03:00
|
|
|
IUSE="test"
|
|
|
|
RESTRICT="!test? ( test )"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
test? ( dev-libs/wayland )
|
|
|
|
"
|
|
|
|
RDEPEND=""
|
|
|
|
BDEPEND="
|
|
|
|
dev-util/wayland-scanner
|
|
|
|
virtual/pkgconfig
|
|
|
|
"
|
|
|
|
|
|
|
|
src_configure() {
|
|
|
|
local emesonargs=(
|
|
|
|
$(meson_use test tests)
|
|
|
|
)
|
|
|
|
meson_src_configure
|
2016-03-13 23:42:20 +03:00
|
|
|
}
|