rebuild some rust-based packages for crt-static changes (#24342)
- rebuild packages that depended on gcc-libs but they shouldn't (was fixed by ) - change RUSTFLAGS assignment as follow-up to PR above
This commit is contained in:
parent
fbc4d54a3e
commit
524d78b2ca
@ -4,7 +4,7 @@ _realname=asm-lsp
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=0.10.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Language server for NASM/GAS/GO Assembly (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
|
||||
@ -42,7 +42,7 @@ build() {
|
||||
cd "${_realname}-${pkgver}"
|
||||
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
export RUSTFLAGS="-C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
cargo build --release --frozen --bin asm-lsp
|
||||
}
|
||||
|
||||
|
||||
@ -42,7 +42,7 @@ build() {
|
||||
extra_config+=("-DCMAKE_BUILD_TYPE=Debug")
|
||||
fi
|
||||
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
cargo build \
|
||||
--release \
|
||||
--frozen \
|
||||
|
||||
@ -44,7 +44,7 @@ build() {
|
||||
cd "${_realname}-${pkgver}"
|
||||
|
||||
_env
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
cargo build --frozen --profile release-strip
|
||||
}
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ prepare() {
|
||||
build() {
|
||||
cd "${_realname}-${pkgver}"
|
||||
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
cargo build --release --frozen
|
||||
}
|
||||
|
||||
|
||||
@ -36,7 +36,7 @@ prepare() {
|
||||
build() {
|
||||
cd "${_realname}-${pkgver}"
|
||||
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
cargo build \
|
||||
--bin krokiet \
|
||||
--bin czkawka_gui \
|
||||
|
||||
@ -42,7 +42,7 @@ build() {
|
||||
cd "${_realname}"
|
||||
|
||||
_env
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
cargo build --release --frozen
|
||||
}
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ _realname=gitoxide
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=0.44.0
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="An idiomatic, lean, fast & safe pure Rust implementation of Git (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
|
||||
|
||||
@ -2,7 +2,7 @@ _realname=powersession-rs
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
|
||||
pkgver=0.1.12
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="Asciinema-compatible terminal session recorder for Windows (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('ucrt64' 'clang64' 'clangarm64')
|
||||
@ -11,7 +11,6 @@ msys2_references=(
|
||||
'purl: pkg:cargo/PowerSession'
|
||||
)
|
||||
license=('spdx:MIT')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-rust")
|
||||
source=("${url}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
|
||||
sha256sums=('e2f6a08bbed401fbc8e423cb27f768d9f763cd572ca29bb0e547f0dd6a8429ef')
|
||||
|
||||
@ -27,6 +27,7 @@ prepare() {
|
||||
build() {
|
||||
cd "${_realname}"
|
||||
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
export CFG_RELEASE="${_pkgver} (Rev${pkgrel}, Built by MSYS2 project)"
|
||||
cargo build --frozen --release -p rust-analyzer
|
||||
}
|
||||
|
||||
@ -41,7 +41,7 @@ build() {
|
||||
extra_config+=("-DCMAKE_BUILD_TYPE=Debug")
|
||||
fi
|
||||
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
|
||||
MSYS2_ARG_CONV_EXCL="-DCMAKE_INSTALL_PREFIX=" \
|
||||
cmake \
|
||||
|
||||
@ -29,7 +29,7 @@ build() {
|
||||
cd "${_realname}-${pkgver}"
|
||||
|
||||
export RUSTONIG_DYNAMIC_LIBONIG=1
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
make PROFILE=release
|
||||
}
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
"${MINGW_PACKAGE_PREFIX}-lib${_realname}")
|
||||
pkgver=6.0.1
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="The leading Wasm Runtime supporting WASIX, WASI and Emscripten (mingw-w64)"
|
||||
arch=('any')
|
||||
mingw_arch=('ucrt64' 'clang64')
|
||||
|
||||
@ -49,7 +49,7 @@ END
|
||||
build() {
|
||||
export ZSTD_SYS_USE_PKG_CONFIG=1
|
||||
export WINAPI_NO_BUNDLED_LIBRARIES=1
|
||||
export RUSTFLAGS="$RUSTFLAGS -C target-feature=-crt-static"
|
||||
export RUSTFLAGS="${RUSTFLAGS/+crt-static/-crt-static}"
|
||||
|
||||
declare -a extra_config
|
||||
if check_option "debug" "n"; then
|
||||
|
||||
@ -2,7 +2,7 @@ _realname=watchexec
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=2.3.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
msys2_repository_url="https://github.com/watchexec/watchexec/"
|
||||
url="https://watchexec.github.io/"
|
||||
pkgdesc="Executes commands in response to file modifications (mingw-w64)"
|
||||
@ -13,7 +13,6 @@ msys2_references=(
|
||||
)
|
||||
arch=('any')
|
||||
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-rust")
|
||||
options=('!strip')
|
||||
source=("https://github.com/watchexec/watchexec/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user