mirror of
https://github.com/Cheviiot/Nivora.git
synced 2026-08-03 15:51:12 +00:00
Rename msvc-go-wine package to vintner, bump to 0.2.0
Upstream rebranded to vintner (github.com/Cheviiot/vintner) and cut a new release with WDK driver-build support, short command aliases, and English/Russian CLI localization. Updates the package directory, Staplerfile (name, urls, checksums, replaces), catalog entry in README.md, and the two tools/ scripts that hardcode the package name list.
This commit is contained in:
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
|
||||
package_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
repo_root="$(cd "${package_dir}/.." && pwd)"
|
||||
exec "${repo_root}/tools/package_updates.sh" check "$(basename "$package_dir")"
|
||||
@@ -0,0 +1,25 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2026 Cheviiot
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
This license covers vintner's own source code. It does not cover the
|
||||
Microsoft Visual C++ Build Tools / Windows SDK that `vintner download`
|
||||
fetches and unpacks, which remain governed by Microsoft's own license terms.
|
||||
@@ -0,0 +1,68 @@
|
||||
name='vintner'
|
||||
version=0.2.0
|
||||
release=1
|
||||
summary='Cross compile with MSVC on Linux via Wine'
|
||||
summary_ru='Кросс-компиляция с MSVC на Linux через Wine'
|
||||
group='Development/Tools'
|
||||
desc='vintner is a single-binary tool for cross compiling with the real MSVC toolchain on Linux via Wine. Once you run its download/install subcommands, cl, link, lib, rc, midl, mc, mt, dumpbin, msbuild, nmake, ml, ml64, armasm, armasm64, cmd and findstr all work as drop-in commands, exactly like on Windows. Supports building real KMDF/UMDF drivers via the Windows Driver Kit (--with-wdk), and its own CLI is available in English and Russian.'
|
||||
desc_ru='vintner — однобинарный инструмент для кросс-компиляции с реальным MSVC на Linux через Wine. После выполнения его подкоманд download/install команды cl, link, lib, rc, midl, mc, mt, dumpbin, msbuild, nmake, ml, ml64, armasm, armasm64, cmd и findstr работают как обычные команды, точно как в Windows. Поддерживает сборку настоящих KMDF/UMDF-драйверов через Windows Driver Kit (--with-wdk), а сам CLI доступен на английском и русском.'
|
||||
homepage='https://github.com/Cheviiot/vintner'
|
||||
maintainer='Cheviiot <https://github.com/Cheviiot>'
|
||||
|
||||
architectures=('amd64' 'arm64')
|
||||
|
||||
license=('MIT')
|
||||
|
||||
provides=()
|
||||
replaces=('vintner')
|
||||
conflicts=()
|
||||
|
||||
auto_reqprov_method="dirty"
|
||||
auto_req=0
|
||||
auto_prov=0
|
||||
|
||||
# wine/msitools/git are needed at runtime by `vintner download`/`install`
|
||||
# and by the tool wrappers themselves, not just at build time.
|
||||
deps=()
|
||||
deps_debian=('wine' 'msitools' 'git')
|
||||
deps_ubuntu=("${deps_debian[@]}")
|
||||
deps_fedora=('wine' 'msitools' 'git')
|
||||
deps_arch=('wine' 'msitools' 'git')
|
||||
deps_opensuse=('wine' 'msitools' 'git')
|
||||
deps_altlinux=('wine' 'msitools' 'git')
|
||||
|
||||
build_deps=('binutils')
|
||||
|
||||
# Prebuilt by vintner's own CI (.github/workflows/release.yml) and
|
||||
# published to its GitHub Releases; renamed to a common local name so
|
||||
# package() doesn't need to branch on architecture.
|
||||
sources=(
|
||||
"https://github.com/Cheviiot/vintner/releases/download/v${version}/vintner-linux-amd64?~archive=false&~name=vintner"
|
||||
'local:///LICENSE'
|
||||
)
|
||||
|
||||
sources_arm64=(
|
||||
"https://github.com/Cheviiot/vintner/releases/download/v${version}/vintner-linux-arm64?~archive=false&~name=vintner"
|
||||
'local:///LICENSE'
|
||||
)
|
||||
|
||||
checksums=(
|
||||
'sha256:8b8d318c2dcebf46078c4619515839945f36597950581fd221c0c37b7b8c413e'
|
||||
'sha256:e377b84adc5315cf372c3d80ecbd3008402d8b07f248e711c7553784e0c33168'
|
||||
)
|
||||
|
||||
checksums_arm64=(
|
||||
'sha256:739a1681492320af8ce98e043dd3a150c1b5f2734abc40ab21bdfb8b0eefa165'
|
||||
'sha256:e377b84adc5315cf372c3d80ecbd3008402d8b07f248e711c7553784e0c33168'
|
||||
)
|
||||
|
||||
package() {
|
||||
cd "${srcdir}"
|
||||
install-binary "${srcdir}/vintner"
|
||||
install-license "${srcdir}/LICENSE" "vintner/LICENSE"
|
||||
}
|
||||
|
||||
files() {
|
||||
files-find-binary
|
||||
files-find-license
|
||||
}
|
||||
Reference in New Issue
Block a user