-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[new package] add rio terminal #22012
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
_realname=rio | ||
pkgbase=mingw-w64-${_realname} | ||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" | ||
pkgver=0.1.15 | ||
pkgrel=1 | ||
pkgdesc="A hardware-accelerated GPU terminal emulator powered by WebGPU (mingw-w64)" | ||
arch=('any') | ||
mingw_arch=('mingw64' 'ucrt64' 'clang64') | ||
url="https://github.com/raphamorim/rio" | ||
license=('spdx:MIT') | ||
makedepends=("${MINGW_PACKAGE_PREFIX}-rust" | ||
"${MINGW_PACKAGE_PREFIX}-cc" | ||
"${MINGW_PACKAGE_PREFIX}-pkgconf" | ||
"${MINGW_PACKAGE_PREFIX}-cmake" | ||
"${MINGW_PACKAGE_PREFIX}-freetype" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Are you sure fontconfig and freetype dependencies are required in this build? Those are not shown in the runtime libraries list in CI log. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. rust only can be left. cmake is usually used for libz-ng-sys, which is not used for package, freetype and fontconfig are probably used for Linux/macos, I didn't find them all in build logs |
||
"${MINGW_PACKAGE_PREFIX}-python" | ||
"${MINGW_PACKAGE_PREFIX}-fontconfig") | ||
source=("${url}/archive/refs/tags/v${pkgver}.tar.gz") | ||
sha256sums=('2e06774a23f9f3def6c4abb3d29ada88ee2f96e88235929251b4e7dd7cd5dcf1') | ||
|
||
prepare() { | ||
cd "${_realname}-${pkgver}" | ||
|
||
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" | ||
} | ||
|
||
build() { | ||
cd "${_realname}-${pkgver}" | ||
|
||
cargo build --frozen --release --all-features | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. is |
||
} | ||
|
||
package() { | ||
cd "${_realname}-${pkgver}" | ||
|
||
install -Dm0755 -t "${pkgdir}${MINGW_PREFIX}/bin/" "target/release/${_realname}" | ||
install -Dm0644 -t "${pkgdir}${MINGW_PREFIX}/share/licenses/${_realname}/" "LICENSE" | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.