pijul: update to 0.12.2.

This commit is contained in:
Duncaen 2019-09-05 14:48:34 +02:00
parent 506caa3ba7
commit 227acfb01d
2 changed files with 4 additions and 21 deletions

View file

@ -1,10 +0,0 @@
patch bindgen to use BINDGEN_EXTRA_CLANG_ARGS variable to set sysroot for cross builds
https://github.com/jnbr/rust-bindgen/tree/0.43.2-clang_args
--- Cargo.toml.orig 2019-06-15 02:33:02.105715462 +0200
+++ Cargo.toml 2019-06-15 02:36:33.905701785 +0200
@@ -6,3 +6,4 @@
"libpijul:0.12.0" = { path = "libpijul" }
"line:0.1.15" = { path = "line" }
"diffs:0.3.0" = { path = "diffs" }
+"bindgen:0.43.2" = {git = 'https://github.com/jnbr/rust-bindgen', rev = "1467ac97c669c1ddda8117ccf1d398609b0e6fa9"}

View file

@ -1,7 +1,7 @@
# Template file for 'pijul'
pkgname=pijul
version=0.12.0
revision=3
version=0.12.2
revision=1
build_style=cargo
hostmakedepends="pkg-config clang"
makedepends="libsodium-devel libressl-devel nettle-devel"
@ -9,10 +9,8 @@ short_desc="Distributed version control system based on patches"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://pijul.org/"
distfiles="https://pijul.org/releases/pijul-${version}.tar.gz"
checksum=987820fa2a6fe92a9f516f5e9b41ad59a597973e72cb0c7a44ca0f38e741a7e6
broken="broken until I fix it"
distfiles="https://crates.io/api/v1/crates/pijul/${version}/download>pijul-${version}.tar.gz"
checksum=f92a3f4063e780ca45c161ceb0f42baf34dfeddf3359ebf6c2e0442d9abb5889
if [ "$CROSS_BUILD" ]; then
export HOST_CC="$BUILD_CC"
@ -20,11 +18,6 @@ if [ "$CROSS_BUILD" ]; then
export BINDGEN_EXTRA_CLANG_ARGS="--sysroot=$XBPS_CROSS_BASE"
fi
pre_build() {
cargo update --package openssl-sys --precise 0.9.46
cargo update --package openssl --precise 0.10.22
}
# We only want to install the binary, so don't run cargo install
do_install() {
vbin target/${RUST_TARGET}/release/pijul