Jan Alexander Steffens (heftig) pushed to branch main at Arch Linux / Packaging
/ Packages / rutabaga-ffi
Commits:
bf4f558c by Jan Alexander Steffens (heftig) at 2025-09-24T02:13:01+02:00
0.1.71-2: fix library symlinks and build mode
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = rutabaga-ffi
pkgdesc = Cross-platform, open-source, Rust-based GPU paravirtualization
pkgver = 0.1.71
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/magma-gpu/rutabaga_gfx
arch = x86_64
license = BSD-3-Clause
=====================================
PKGBUILD
=====================================
@@ -4,7 +4,7 @@
# shellcheck shell=bash disable=SC2034,SC2154
pkgname=rutabaga-ffi
pkgver=0.1.71
-pkgrel=1
+pkgrel=2
pkgdesc="Cross-platform, open-source, Rust-based GPU paravirtualization"
arch=("x86_64")
url="https://github.com/magma-gpu/rutabaga_gfx"
@@ -14,9 +14,15 @@ depends=(glibc gcc-libs virglrenderer gfxstream)
makedepends=(rust meson git)
sha256sums=('123e5e00417b8600a643b55145fe8a1bcdf3091df0249b5245a7777e85b65696')
+# Use debug
+export CARGO_PROFILE_RELEASE_DEBUG=2 CARGO_PROFILE_RELEASE_STRIP=false
+
+# Use LTO
+export CARGO_PROFILE_RELEASE_LTO=true CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+
build() {
cd rutabaga_gfx-$pkgver/ffi
- arch-meson . build -Dgfxstream=true
+ arch-meson . build -Dgfxstream=true --buildtype=release
meson compile -C build
}
@@ -24,5 +30,9 @@ package() {
cd rutabaga_gfx-$pkgver/ffi
meson install -C build --destdir "$pkgdir"
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+ # force symlinks to avoid warnings
+ cd "$pkgdir"/usr/lib
+ ln -sf librutabaga_gfx_ffi.so.0.1.6 librutabaga_gfx_ffi.so.0
+ ln -sf librutabaga_gfx_ffi.so.0 librutabaga_gfx_ffi.so
}
# vim:set ts=2 sw=2 et:
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rutabaga-ffi/-/commit/bf4f558cb5d24d72be542721e88723c7d3668f3a
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/rutabaga-ffi/-/commit/bf4f558cb5d24d72be542721e88723c7d3668f3a
You're receiving this email because of your account on gitlab.archlinux.org.