commit:     eb733a28123a671d54a63883dfc694ae30c0798d
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 14 08:21:01 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Wed Apr 14 08:24:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb733a28

media-sound/lmms: Reliably set bash-completion dir via eclass

Thanks-to: Samuel Bauer <samuel.bauer <AT> yahoo.fr>
Bug: https://bugs.gentoo.org/670722
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 media-sound/lmms/lmms-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-sound/lmms/lmms-9999.ebuild 
b/media-sound/lmms/lmms-9999.ebuild
index a92a923b07b..a09420e7e36 100644
--- a/media-sound/lmms/lmms-9999.ebuild
+++ b/media-sound/lmms/lmms-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 # The order is important here! Both, cmake and xdg define src_prepare.
 # We need the one from cmake
-inherit xdg cmake
+inherit bash-completion-r1 xdg cmake
 
 DESCRIPTION="Cross-platform music production software"
 HOMEPAGE="https://lmms.io";
@@ -70,6 +70,7 @@ DOCS=( README.md doc/AUTHORS )
 
 src_configure() {
        local mycmakeargs+=(
+               -DBASHCOMP_PKG_PATH="$(get_bashcompdir)"
                -DUSE_WERROR=FALSE
                -DWANT_CAPS=FALSE
                -DWANT_TAP=FALSE

Reply via email to