commit:     3cc9daa02e28aea302c399e536d6343b3ed181e7
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Wed May  8 15:57:58 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Wed May  8 17:55:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3cc9daa0

gui-apps/eww: add missing crate licenses

remove redundant phase function and simplify src_install

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 gui-apps/eww/eww-0.5.0-r4.ebuild | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/gui-apps/eww/eww-0.5.0-r4.ebuild b/gui-apps/eww/eww-0.5.0-r4.ebuild
index 7db131a5ef..c7cdf486bc 100644
--- a/gui-apps/eww/eww-0.5.0-r4.ebuild
+++ b/gui-apps/eww/eww-0.5.0-r4.ebuild
@@ -311,8 +311,11 @@ else
        KEYWORDS="~amd64"
 fi
 
-LICENSE="
-       MIT
+LICENSE="MIT"
+# Dependent crate licenses
+LICENSE+="
+       Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD CC0-1.0 ISC
+       Unicode-DFS-2016
 "
 SLOT="0"
 IUSE="X wayland"
@@ -354,15 +357,9 @@ src_configure() {
        cargo_src_configure --no-default-features
 }
 
-src_compile() {
-       cargo_gen_config
-       cargo_src_compile
-}
-
 src_install() {
        dodoc README.md CHANGELOG.md
-       cd target/release || die
-       dobin eww
+       cargo_src_install --path crates/eww
        elog "Eww wont run without a config file (usually in ~/.config/eww)."
        elog "For example configs visit https://github.com/elkowar/eww#examples";
 }

Reply via email to