Sven-Hendrik Haase pushed to branch main at Arch Linux / Packaging / Packages / 
libkrun


Commits:
65136913 by Sven-Hendrik Haase at 2025-06-07T03:17:17+02:00
upgpkg: 1.13.0-3: Remove hack and properly link zstd

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = libkrun
        pkgdesc = A dynamic library providing Virtualization-based process 
isolation capabilities
        pkgver = 1.13.0
-       pkgrel = 2
+       pkgrel = 3
        url = https://github.com/containers/libkrun
        arch = x86_64
        license = Apache-2.0


=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
 # Contributor: hexchain <arch at hexchain.org>
 pkgname=libkrun
 pkgver=1.13.0
-pkgrel=2
+pkgrel=3
 pkgdesc="A dynamic library providing Virtualization-based process isolation 
capabilities"
 url='https://github.com/containers/libkrun'
 arch=('x86_64')
@@ -21,6 +21,7 @@ prepare() {
 build() {
   cd "$pkgname-$pkgver"
 
+  export ZSTD_SYS_USE_PKG_CONFIG=1
   make GPU=1 BLK=1 NET=1 SND=1 VERBOSE=1
 }
 
@@ -30,9 +31,4 @@ package() {
   make DESTDIR="$pkgdir" PREFIX=/usr LIBDIR_Linux=lib install
 
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-
-  # Hack, we shouldn't require this but somehow we do.
-  # It works fine if I build this package outside of a clean chroot but I can't
-  # figure out what build deps the package is missing.
-  patchelf --add-needed libzstd.so "$pkgdir"/usr/lib/libkrun.so.${pkgver}
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libkrun/-/commit/65136913e12b74d816008c799efcd4c4de6741c3

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libkrun/-/commit/65136913e12b74d816008c799efcd4c4de6741c3
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to