diff options
author | Matt Turner <mattst88@gentoo.org> | 2021-01-30 12:38:37 -0500 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2021-01-30 12:46:55 -0500 |
commit | 9efd48cbc7ee283de208269aa714254db681a2bf (patch) | |
tree | 5648966db4790f33baf297aeb9beb2cde40690e2 /media-libs/waffle | |
parent | sys-kernel/gentoo-sources: 5.10.12 (diff) | |
download | gentoo-9efd48cbc7ee283de208269aa714254db681a2bf.tar.gz gentoo-9efd48cbc7ee283de208269aa714254db681a2bf.tar.bz2 gentoo-9efd48cbc7ee283de208269aa714254db681a2bf.zip |
media-libs/waffle: Use tags instead of gitlab releases
And improve documentation generation.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'media-libs/waffle')
-rw-r--r-- | media-libs/waffle/waffle-9999.ebuild | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/media-libs/waffle/waffle-9999.ebuild b/media-libs/waffle/waffle-9999.ebuild index 1786f943ad96..43899a8515c6 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} } |