commit: 9efd48cbc7ee283de208269aa714254db681a2bf
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 30 17:38:37 2021 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Jan 30 17:46:55 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efd48cb
media-libs/waffle: Use tags instead of gitlab releases
And improve documentation generation.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
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 1786f943ad9..43899a8515c 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}
}