Search Criteria
Package Details: surface-control 0.4.7-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/surface-control.git (read-only, click to copy) |
---|---|
Package Base: | surface-control |
Description: | Control various aspects of Microsoft Surface devices from the Command-Line |
Upstream URL: | https://github.com/linux-surface/surface-control |
Licenses: | MIT |
Submitter: | qzed |
Maintainer: | qzed |
Last Packager: | qzed |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2019-09-08 21:41 (UTC) |
Last Updated: | 2024-09-14 16:04 (UTC) |
Dependencies (5)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR)
- cargo (rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rust, rustup) (make)
- rust (rust-nightlyAUR, rustup-gitAUR, rust-nightly-binAUR, rust-gitAUR, rustup) (make)
- systemd (systemd-chromiumosAUR, systemd-gitAUR, systemd-fmlAUR, systemd-selinuxAUR) (make)
Latest Comments
qzed commented on 2022-04-26 03:14 (UTC)
@QuaverFace Sorry for the delay. I think adding the
RUSTUP_TOOLCHAIN="stable"
makes sense to ensure we don't run into any issues with new nightly/beta changes, so I've done that now.QuaverFace commented on 2021-11-01 13:13 (UTC) (edited on 2021-11-01 13:15 (UTC) by QuaverFace)
I had to change this:
env CARGO_TARGET_DIR="target" CARGO_INCREMENTAL=0 cargo build --release --locked
to this:
env CARGO_TARGET_DIR="target" CARGO_INCREMENTAL=0 RUSTUP_TOOLCHAIN="stable" cargo build --release --locked
qzed commented on 2021-10-10 23:14 (UTC) (edited on 2021-10-10 23:44 (UTC) by qzed)
Thanks for the bug-report and suggestions! I've applied them.
And1G commented on 2021-10-10 22:16 (UTC)
Building in a clean chroot fails with:
Adding 'git' to the makedepends (bit I think this is not the best solution for this, see end of the comment) leads to:
The library file
libudev.so
is part of the packagesystemd-libs
, but the pkgconf file/usr/lib/pkgconfig/libudev.pc
needed for building is provided by the packagesystemd
. Somakedepends
needssystemd
instead ofsystemd-libs
:or if you really need git:
I have also replaced downloading the git repository with downloading a snapshot. It looks like it downloads the entire repository and checks out to the selected tag. This is not neccessary, as Github provides snapshot archives of each tag. From what I see, this is the usual way to download sources from Github with PKGBUILD files. Here is the diff to your PKGBUILD: https://pastebin.com/M3hcVAsD I hope this helps!