From 129160ec854dca4c3fedb5bcfbcb56930371da0f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 1 Jan 2021 21:06:00 +0000 Subject: gentoo new year resync : 01.01.2021 --- .../wayland-scanner/wayland-scanner-9999.ebuild | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 dev-util/wayland-scanner/wayland-scanner-9999.ebuild (limited to 'dev-util/wayland-scanner/wayland-scanner-9999.ebuild') diff --git a/dev-util/wayland-scanner/wayland-scanner-9999.ebuild b/dev-util/wayland-scanner/wayland-scanner-9999.ebuild new file mode 100644 index 000000000000..eeb424d9d3c1 --- /dev/null +++ b/dev-util/wayland-scanner/wayland-scanner-9999.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" + inherit git-r3 +else + SRC_URI="https://wayland.freedesktop.org/releases/wayland-${PV}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/wayland-${PV}" +fi +inherit meson multilib-minimal + +DESCRIPTION="wayland-scanner tool" +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland" + +LICENSE="MIT" +SLOT="0" + +BDEPEND="virtual/pkgconfig" +RDEPEND=" + !=dev-libs/expat-2.1.0-r3:=[$MULTILIB_USEDEP] +" +DEPEND="${RDEPEND}" + +multilib_src_configure() { + local emesonargs=( + -Ddocumentation=false + -Ddtd_validation=false + -Dlibraries=false + -Dscanner=true + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} -- cgit v1.2.3