Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/waffle/
Date: Sat, 30 Jan 2021 17:47:10
Message-Id: 1612028815.9efd48cbc7ee283de208269aa714254db681a2bf.mattst88@gentoo
1 commit: 9efd48cbc7ee283de208269aa714254db681a2bf
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 30 17:38:37 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 30 17:46:55 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efd48cb
7
8 media-libs/waffle: Use tags instead of gitlab releases
9
10 And improve documentation generation.
11
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 media-libs/waffle/waffle-9999.ebuild | 11 +++++++----
15 1 file changed, 7 insertions(+), 4 deletions(-)
16
17 diff --git a/media-libs/waffle/waffle-9999.ebuild b/media-libs/waffle/waffle-9999.ebuild
18 index 1786f943ad9..43899a8515c 100644
19 --- a/media-libs/waffle/waffle-9999.ebuild
20 +++ b/media-libs/waffle/waffle-9999.ebuild
21 @@ -7,8 +7,9 @@ if [[ ${PV} = *9999* ]]; then
22 EGIT_REPO_URI="https://gitlab.freedesktop.org/mesa/${PN}"
23 GIT_ECLASS="git-r3"
24 else
25 - SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/raw/website/files/release/${P}/${P}.tar.xz"
26 - KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
27 + SRC_URI="https://gitlab.freedesktop.org/mesa/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2"
28 + KEYWORDS="amd64 arm ~arm64 ~ppc ~ppc64 x86"
29 + S="${WORKDIR}"/${PN}-v${PV}
30 fi
31 inherit meson multilib-minimal ${GIT_ECLASS}
32
33 @@ -47,7 +48,7 @@ multilib_src_configure() {
34 $(meson_feature X x11_egl)
35 $(meson_feature gbm)
36 $(meson_feature egl surfaceless_egl)
37 - -Dbuild-manpages=true
38 + -Dbuild-manpages=$(multilib_is_native_abi && echo true || echo false)
39 -Dbuild-tests=false
40 )
41 meson_src_configure
42 @@ -60,5 +61,7 @@ multilib_src_compile() {
43 multilib_src_install() {
44 meson_src_install
45
46 - ! use doc && rm -rf "${D}"/usr/share/doc/waffle1
47 + ! use doc && rm -rf \
48 + "${D}"/usr/share/doc/waffle1 \
49 + "${D}"/usr/share/man/man{3,7}
50 }