Added wayland scanner
This commit is contained in:
parent
661d5e435e
commit
0451cb8c8c
1
dev-util/wayland-scanner/Manifest
Normal file
1
dev-util/wayland-scanner/Manifest
Normal file
@ -0,0 +1 @@
|
|||||||
|
DIST wayland-1.19.0.tar.xz 456380 BLAKE2B 0f70bb02e890898c4763001884527067adb686abe9a2b9325badf1730d411d269c437037afc298eec8075eb1e3845f5b81b8ed3d702908388a54e7063cbea91a SHA512 d8a86f5e23e4a88e7c84b82fdb51eb350419086afe462ecb2f4d5c3ba9290ede310cbbcffd60215219ddccf5bad4adec21a5ebfbef6577200f66ac7a1b64a5ef
|
37
dev-util/wayland-scanner/wayland-scanner-1.19.0.ebuild
Normal file
37
dev-util/wayland-scanner/wayland-scanner-1.19.0.ebuild
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
# Copyright 1999-2021 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
|
||||||
|
|
||||||
|
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/wayland-${PV}
|
||||||
|
>=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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user