diff options
author | Tim Biermann <tbier@posteo.de> | 2020-10-31 14:50:52 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-10-31 14:50:52 +0000 |
commit | bff63b868bdfe2c6de4a610fb59d6271a97f6746 (patch) | |
tree | c9d767ca3488e5134e1b417f99c250990fb7cecb /i3status-rust | |
parent | 33b09aaca627ce418c353b585d1dfb0cd236c26b (diff) | |
download | contrib-bff63b868bdfe2c6de4a610fb59d6271a97f6746.tar.gz contrib-bff63b868bdfe2c6de4a610fb59d6271a97f6746.tar.xz |
i3status-rust: 0.14.1 -> 0.14.2
Diffstat (limited to 'i3status-rust')
-rw-r--r-- | i3status-rust/.signature | 6 | ||||
-rw-r--r-- | i3status-rust/Pkgfile | 16 |
2 files changed, 16 insertions, 6 deletions
diff --git a/i3status-rust/.signature b/i3status-rust/.signature index 93733d835..faab7ec76 100644 --- a/i3status-rust/.signature +++ b/i3status-rust/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF34cv4G3wqeMLSIAo7i6l28chgFR7+G3xmk4CULqMscpj0uZirUQqOlpwl70ljnGWHHIt/PNdOC5nMNs2yZLKNAs= -SHA256 (Pkgfile) = 13250502510d608a290138502dabe6ced7931be1d66e1fa954559ad0a5e53f5d +RWSagIOpLGJF36Z8nrBB7viV7aiRDxrwJDy7nYiRwPjLMBBLEXzzNyRSvnfFEPVBQnEhc45b8oCXURrMUHHIbkNTOjiralgObwE= +SHA256 (Pkgfile) = c6bcc6814c69f1bf0e88beaec34aa785a0722e8b531f79f1e6dc388f12527d59 SHA256 (.footprint) = 46e38c743630719fc5db8383d793d119a83726afb7568114366b2b9c2d3ed80b -SHA256 (i3status-rust-0.14.1.tar.gz) = bd22d28b8c3d35c93610b9f46a04fe49a92d62a466dbf0669ceb6b77943c5406 +SHA256 (i3status-rust-0.14.2.tar.gz) = 66a11cbcfa515c761701788edd573d408391c024086219d8b6641333129a6f87 diff --git a/i3status-rust/Pkgfile b/i3status-rust/Pkgfile index d8a187bb5..49bdcbd4d 100644 --- a/i3status-rust/Pkgfile +++ b/i3status-rust/Pkgfile @@ -1,19 +1,29 @@ # Description: i3status replacement written in rust # URL: https://github.com/greshake/i3status-rust # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: dbus pulseaudio rust +# Depends on: dbus rust +# Optional: notmuch pulseaudio name=i3status-rust -version=0.14.1 +version=0.14.2 release=1 source=(https://github.com/greshake/i3status-rust/archive/v$version/$name-$version.tar.gz) build() { cd $name-$version + + # configure optional dependencies + [[ -e /usr/lib/libnotmuch.so ]] && PKGMK_I3STATUS_RUST+=' notmuch' + [[ -e /usr/lib/pulseaudio/libpulsecommon-13.0.so ]] && PKGMK_I3STATUS_RUST+=' libpulse-binding' + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache mkdir "$PKGMK_SOURCE_DIR/rust" || true export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + cargo update cargo fetch - cargo build --release + [[ -n $PKGMK_I3STATUS_RUST ]] \ + && cargo build --release --features "$PKGMK_I3STATUS_RUST" \ + || cargo build --release --no-default-features install -Dt $PKG/usr/bin target/release/i3status-rs } |