media-gfx/czkawka: enable tests
Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
parent
e3ccf7c7e8
commit
678831c8d0
@ -694,7 +694,7 @@ CRATES="
|
|||||||
zvariant_utils@1.0.1
|
zvariant_utils@1.0.1
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit cargo desktop xdg
|
inherit cargo desktop xdg virtualx
|
||||||
|
|
||||||
DESCRIPTION="App to find duplicates, empty folders and similar images"
|
DESCRIPTION="App to find duplicates, empty folders and similar images"
|
||||||
HOMEPAGE="https://github.com/qarmin/czkawka"
|
HOMEPAGE="https://github.com/qarmin/czkawka"
|
||||||
@ -730,7 +730,6 @@ IUSE="gui gtk raw heif"
|
|||||||
REQUIRED_USE="
|
REQUIRED_USE="
|
||||||
gui? ( gtk )
|
gui? ( gtk )
|
||||||
"
|
"
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
DEPEND="
|
||||||
gtk? (
|
gtk? (
|
||||||
@ -766,6 +765,10 @@ src_configure() {
|
|||||||
cargo_src_configure --no-default-features --bin czkawka_cli $(usev gui "--bin czkawka_gui")
|
cargo_src_configure --no-default-features --bin czkawka_cli $(usev gui "--bin czkawka_gui")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
virtx cargo_src_test
|
||||||
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin $(cargo_target_dir)/czkawka_cli
|
dobin $(cargo_target_dir)/czkawka_cli
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user