# Copyright 2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # Autogenerated by pycargoebuild 0.13.1 EAPI=8 CRATES=" anstream@0.6.4 anstyle-parse@0.2.2 anstyle-query@1.0.0 anstyle-wincon@3.0.1 anstyle@1.0.4 anyhow@1.0.75 autocfg@1.1.0 bitflags@2.4.0 cfg-if@1.0.0 clap@4.4.6 clap_builder@4.4.6 clap_complete@4.4.3 clap_lex@0.5.1 colorchoice@1.0.0 futures-channel@0.3.28 futures-core@0.3.28 futures-executor@0.3.28 futures-io@0.3.28 futures-macro@0.3.28 futures-sink@0.3.28 futures-task@0.3.28 futures-util@0.3.28 futures@0.3.28 hermit-abi@0.3.3 indoc@2.0.4 io-lifetimes@1.0.11 itoa@1.0.9 libc@0.2.148 libudev-sys@0.1.4 memchr@2.6.4 nix@0.27.1 once_cell@1.18.0 pin-project-lite@0.2.13 pin-utils@0.1.0 pkg-config@0.3.27 proc-macro2@1.0.67 quote@1.0.33 ryu@1.0.15 serde@1.0.188 serde_derive@1.0.188 serde_json@1.0.107 slab@0.4.9 smallvec@1.11.1 strsim@0.10.0 syn@2.0.37 thiserror-impl@1.0.49 thiserror@1.0.49 tracing-attributes@0.1.26 tracing-core@0.1.31 tracing@0.1.37 udev@0.8.0 unicode-ident@1.0.12 utf8parse@0.2.1 windows-sys@0.48.0 windows-targets@0.48.5 windows_aarch64_gnullvm@0.48.5 windows_aarch64_msvc@0.48.5 windows_i686_gnu@0.48.5 windows_i686_msvc@0.48.5 windows_x86_64_gnu@0.48.5 windows_x86_64_gnullvm@0.48.5 windows_x86_64_msvc@0.48.5 " declare -A GIT_CRATES=( [sdtx]='https://github.com/linux-surface/libsurfacedtx;6da7c74d931808c86c515df3425d3112e40a2007;libsurfacedtx-%commit%/sdtx' ) inherit cargo DESCRIPTION="Control various aspects of Microsoft Surface devices on Linux from the Command-Line" HOMEPAGE="https://github.com/linux-surface/linux-surface" UV=$(ver_rs 3 '-') SRC_URI=" https://github.com/linux-surface/${PN}/archive/v${UV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS} " S="${WORKDIR}/${PN}-${UV}" LICENSE="MIT" # Dependent crate licenses LICENSE+=" MIT Unicode-DFS-2016 || ( Apache-2.0 Boost-1.0 ) " SLOT="0" KEYWORDS="~amd64"