summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-libs/wayland/wayland-9999.ebuild')
-rw-r--r--dev-libs/wayland/wayland-9999.ebuild34
1 files changed, 3 insertions, 31 deletions
diff --git a/dev-libs/wayland/wayland-9999.ebuild b/dev-libs/wayland/wayland-9999.ebuild
index d069ea46340e..058e90a73824 100644
--- a/dev-libs/wayland/wayland-9999.ebuild
+++ b/dev-libs/wayland/wayland-9999.ebuild
@@ -10,7 +10,7 @@ else
SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
-inherit meson multilib-minimal
+inherit meson-multilib
DESCRIPTION="Wayland protocol libraries"
HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland"
@@ -35,40 +35,16 @@ DEPEND="
"
RDEPEND="${DEPEND}"
-meson_multilib() {
- if multilib_is_native_abi; then
- echo true
- else
- echo false
- fi
-}
-
-meson_multilib_native_use() {
- if multilib_is_native_abi && use "$1"; then
- echo true
- else
- echo false
- fi
-}
-
multilib_src_configure() {
local emesonargs=(
- -Ddocumentation=$(meson_multilib_native_use doc)
- -Ddtd_validation=$(meson_multilib)
+ $(meson_native_use_bool doc documentation)
+ $(meson_native_true dtd_validation)
-Dlibraries=true
-Dscanner=false
)
meson_src_configure
}
-multilib_src_compile() {
- meson_src_compile
-}
-
-multilib_src_test() {
- meson_src_test
-}
-
src_test() {
# We set it on purpose to only a short subdir name, as socket paths are
# created in there, which are 108 byte limited. With this it hopefully
@@ -79,7 +55,3 @@ src_test() {
multilib-minimal_src_test
}
-
-multilib_src_install() {
- meson_src_install
-}