commit:     2630ef2dcf0761e92efc82e7a1f79b92b26692ed
Author:     Ben Buhse <me <AT> benbuhse <DOT> com>
AuthorDate: Thu Dec  5 04:00:24 2024 +0000
Commit:     Ben Buhse <gentoo <AT> benbuhse <DOT> com>
CommitDate: Thu Dec  5 04:01:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2630ef2d

gui-apps/wlopm: add 1.0.0, drop 0.1.0-r1

Signed-off-by: Ben Buhse <me <AT> benbuhse.com>

 gui-apps/wlopm/Manifest                                      | 2 +-
 gui-apps/wlopm/{wlopm-0.1.0-r1.ebuild => wlopm-1.0.0.ebuild} | 7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/gui-apps/wlopm/Manifest b/gui-apps/wlopm/Manifest
index 6a2395cfe..dc2230c61 100644
--- a/gui-apps/wlopm/Manifest
+++ b/gui-apps/wlopm/Manifest
@@ -1 +1 @@
-DIST wlopm-0.1.0.tar.gz 19004 BLAKE2B 
bbe69423c70e9a88fc63458011fbb36faef95a162a1444dc22cbd47a15a5b83439737b2610a085a3471b8571237c74203bb1a12048e457874406ba023c14e03c
 SHA512 
a9690051786cfef1f96b574c8afaf35a7e234c0fa3b35b210be1fc1a963304c94f77d60935b32030cc641e87279d58b74f55dd3a6a4fcef905fb9432dd58ecab
+DIST wlopm-1.0.0.tar.gz 19451 BLAKE2B 
9e7c63ce161172a68cf201aee63e923e64b19a77506bb20d042eda6dfe60c07dc0f68b0277281b8bd9da71bbbe212f5efc00423f7d73a142ae2a43cf0d2d3f80
 SHA512 
6765f4abd46013c4b887972633798956cae8b60c3abd039aa74f3f70ae76696ea015a39dac68898950a939fe808d77e06a4b050b18b38b42eab1402d81926abd

diff --git a/gui-apps/wlopm/wlopm-0.1.0-r1.ebuild 
b/gui-apps/wlopm/wlopm-1.0.0.ebuild
similarity index 73%
rename from gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
rename to gui-apps/wlopm/wlopm-1.0.0.ebuild
index 3a2d611aa..b44f1781a 100644
--- a/gui-apps/wlopm/wlopm-0.1.0-r1.ebuild
+++ b/gui-apps/wlopm/wlopm-1.0.0.ebuild
@@ -6,7 +6,7 @@ EAPI=8
 DESCRIPTION="wlr-output-power-management-v1 client"
 HOMEPAGE="https://git.sr.ht/~leon_plickat/wlopm/";
 
-inherit toolchain-funcs
+inherit bash-completion-r1 toolchain-funcs
 
 if [[ ${PV} == *9999* ]]; then
        inherit git-r3
@@ -34,5 +34,8 @@ src_compile() {
 }
 
 src_install() {
-       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+       # Makefile doesn't make sure this directory exists
+       # which is a problem when using PREFIX
+       install -d "${D}$(get_bashcompdir)"
+       emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" 
BASHCOMPDIR="$(get_bashcompdir)" install
 }

Reply via email to