Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/ncmpc/
Date: Sat, 09 Feb 2019 18:17:20
Message-Id: 1549735818.4d9c2013be1131a1e3998b086aaea010a8a50ad5.asturm@gentoo
1 commit: 4d9c2013be1131a1e3998b086aaea010a8a50ad5
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 9 17:47:39 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 9 18:10:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d9c2013
7
8 media-sound/ncmpc: Fix html docdir
9
10 Closes: https://bugs.gentoo.org/676084
11 Package-Manager: Portage-2.3.59, Repoman-2.3.12
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 media-sound/ncmpc/ncmpc-0.33-r1.ebuild | 7 +++++--
15 1 file changed, 5 insertions(+), 2 deletions(-)
16
17 diff --git a/media-sound/ncmpc/ncmpc-0.33-r1.ebuild b/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
18 index d1eff94cb12..73b2c26e51a 100644
19 --- a/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
20 +++ b/media-sound/ncmpc/ncmpc-0.33-r1.ebuild
21 @@ -34,10 +34,13 @@ src_prepare() {
22 default
23
24 # use correct docdir and don't install license file
25 - sed \
26 - -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
27 + sed -e "/^docdir =/s/meson.project_name()/'${PF}'/" \
28 -e "s/'COPYING', //" \
29 -i meson.build || die
30 +
31 + # use correct (html) docdir
32 + sed -e "/install_dir:.*doc/s/meson.project_name()/'${PF}'/" \
33 + -i doc/meson.build || die
34 }
35
36 src_configure() {