add polaris ebuild
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
|
||||
inherit cargo git-r3
|
||||
|
||||
DESCRIPTION="Polaris is a music streaming application, designed to let you enjoy your music collection from any computer or mobile device."
|
||||
HOMEPAGE="https://github.com/agersant/polaris"
|
||||
|
||||
EGIT_REPO_URI="https://github.com/agersant/polaris.git"
|
||||
|
||||
|
||||
# LICENSE=""
|
||||
SLOT="0"
|
||||
|
||||
BDEPEND="
|
||||
|| (
|
||||
dev-lang/rust
|
||||
dev-lang/rust-bin
|
||||
)
|
||||
"
|
||||
|
||||
|
||||
# Rust packages ignore CFLAGS and LDFLAGS so let's silence the QA warnings
|
||||
QA_FLAGS_IGNORED="usr/bin/polaris"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cargo_src_configure --frozen --no-default-features
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --offline
|
||||
}
|
||||
Reference in New Issue
Block a user