Removed binary build of surface-dtx-daemon and added git source.
This commit is contained in:
parent
dfcd63dbd8
commit
9e52e7423f
4 changed files with 44 additions and 72 deletions
44
sys-apps/surface-dtx-daemon/surface-dtx-daemon-9999.ebuild
Normal file
44
sys-apps/surface-dtx-daemon/surface-dtx-daemon-9999.ebuild
Normal file
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_REPO_URI="https://github.com/linux-surface/surface-dtx-daemon.git"
|
||||
inherit git-r3 cargo
|
||||
|
||||
DESCRIPTION="Surface Detach (DTX) Daemon"
|
||||
HOMEPAGE="https://github.com/linux-surface/surface-dtx-daemon"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/libdbusmenu
|
||||
dev-libs/glib
|
||||
sys-apps/dbus
|
||||
"
|
||||
src_unpack(){
|
||||
git-r3_src_unpack
|
||||
cargo_live_src_unpack
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cargo_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cargo_src_compile --locked
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cargo_src_install --path surface-dtx-daemon
|
||||
cargo_src_install --path surface-dtx-userd
|
||||
insinto /etc
|
||||
doins -r etc/dtx
|
||||
doins -r etc/systemd
|
||||
doins -r etc/dbus
|
||||
doins -r etc/udev
|
||||
}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue