From 9efd48cbc7ee283de208269aa714254db681a2bf Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 30 Jan 2021 12:38:37 -0500 Subject: [PATCH] media-libs/waffle: Use tags instead of gitlab releases And improve documentation generation. Signed-off-by: Matt Turner --- media-libs/waffle/waffle-9999.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/media-libs/waffle/waffle-9999.ebuild b/media-libs/waffle/waffle-9999.ebuild index 1786f943ad96c..43899a8515c69 100644 --- a/media-libs/waffle/waffle-9999.ebuild +++ b/media-libs/waffle/waffle-9999.ebuild @@ -7,8 +7,9 @@ if [[ ${PV} = *9999* ]]; then EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/${PN}" GIT_ECLASS="git-r3" else - SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/raw/website/files/release/${P}/${P}.tar.xz" - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" + SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" + KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86" + S="${WORKDIR}"/${PN}-v${PV} fi inherit meson multilib-minimal ${GIT_ECLASS} @@ -47,7 +48,7 @@ multilib_src_configure() { $(meson_feature X x11_egl) $(meson_feature gbm) $(meson_feature egl surfaceless_egl) - -Dbuild-manpages=true + -Dbuild-manpages=$(multilib_is_native_abi && echo true || echo false) -Dbuild-tests=false ) meson_src_configure @@ -60,5 +61,7 @@ multilib_src_compile() { multilib_src_install() { meson_src_install - ! use doc && rm -rf "${D}"/usr/share/doc/waffle1 + ! use doc && rm -rf \ + "${D}"/usr/share/doc/waffle1 \ + "${D}"/usr/share/man/man{3,7} }