diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-09 05:33:51 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-09 05:33:51 +0100 |
commit | 3e1b17a1a1b2bac1314c0ea171fbd05bb098f02b (patch) | |
tree | 894494ae2d3f739b3d903c4331c6ac82b57f14e4 /dev-util/wayland-scanner/wayland-scanner-1.22.0.ebuild | |
parent | 900dd293f8087dff1643b45d7b836702a9ea8fd9 (diff) |
gentoo auto-resync : 09:04:2023 - 05:33:50
Diffstat (limited to 'dev-util/wayland-scanner/wayland-scanner-1.22.0.ebuild')
-rw-r--r-- | dev-util/wayland-scanner/wayland-scanner-1.22.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-util/wayland-scanner/wayland-scanner-1.22.0.ebuild b/dev-util/wayland-scanner/wayland-scanner-1.22.0.ebuild new file mode 100644 index 000000000000..10efdab1bcfc --- /dev/null +++ b/dev-util/wayland-scanner/wayland-scanner-1.22.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} = *9999* ]]; then + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git" + inherit git-r3 +else + SRC_URI="https://gitlab.freedesktop.org/wayland/wayland/-/releases/${PV}/downloads/wayland-${PV}.tar.xz" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + S="${WORKDIR}/wayland-${PV}" +fi +inherit meson + +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 +" +DEPEND="${RDEPEND}" + +src_configure() { + local emesonargs=( + -Ddocumentation=false + -Ddtd_validation=false + -Dlibraries=false + -Dscanner=true + -Dtests=false + ) + meson_src_configure +} + +src_install() { + meson_src_install + + mv "${ED}"/usr/$(get_libdir)/pkgconfig "${ED}"/usr/share/pkgconfig +} |