Postsync update gentoo
This commit is contained in:
parent
aab04a9e1e
commit
ae4154193d
@ -25,6 +25,7 @@ fi
|
||||
|
||||
BDEPEND="
|
||||
dev-libs/appstream
|
||||
app-text/poppler
|
||||
"
|
||||
|
||||
# LICENSE=""
|
||||
|
||||
48
media-sound/termusic/termusic-9999.ebuild
Normal file
48
media-sound/termusic/termusic-9999.ebuild
Normal file
@ -0,0 +1,48 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CRATES=""
|
||||
|
||||
inherit cargo git-r3 bash-completion-r1
|
||||
|
||||
DESCRIPTION=" Music Player TUI written in Rust"
|
||||
HOMEPAGE="https://github.com/tramhao/${PN}"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/tramhao/${PN}.git"
|
||||
|
||||
|
||||
# LICENSE=""
|
||||
SLOT="0"
|
||||
IUSE="gst"
|
||||
|
||||
BDEPEND="
|
||||
dev-libs/protobuf
|
||||
gst? (
|
||||
media-libs/gstreamer
|
||||
)
|
||||
"
|
||||
|
||||
|
||||
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
|
||||
# QA_FLAGS_IGNORED="usr/bin/btm"
|
||||
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cargo_src_configure --bin ${PN} --features "gst"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install
|
||||
newbashcomp ./target/${PN}.bash ${PN}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user