Felix Yan pushed to branch main at Arch Linux / Packaging / Packages / ncnn


Commits:
b8c8296f by Felix Yan at 2024-11-10T23:08:13+08:00
upgpkg: 20240820-6: backport workaround for 
https://gitlab.archlinux.org/archlinux/packaging/packages/waifu2x-ncnn-vulkan/-/issues/1

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = ncnn
        pkgdesc = High-performance neural network inference framework optimized 
for the mobile platform
        pkgver = 20240820
-       pkgrel = 5
+       pkgrel = 6
        url = https://github.com/Tencent/ncnn
        arch = x86_64
        license = BSD


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=ncnn
 pkgver=20240820
-pkgrel=5
+pkgrel=6
 pkgdesc='High-performance neural network inference framework optimized for the 
mobile platform'
 url='https://github.com/Tencent/ncnn'
 arch=('x86_64')
@@ -16,6 +16,11 @@ optdepends=('protobuf: for onnx2ncnn')
 source=("git+https://github.com/Tencent/ncnn.git#tag=$pkgver";)
 
b2sums=('f7771ab702ff9afacaf3e49a1812051ac1991140086383bf55b4b4df290aa635fe42e60a3f6da1936403e98e5b946ee71255746fcb0ac58263a69bae3bef054c')
 
+prepare() {
+    cd $pkgname
+    git cherry-pick -n bd1f39ed82b88e3a894b52fdfcbeeb64742a13d4
+}
+
 build() {
     cmake -B build -S $pkgname \
         -GNinja \



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/ncnn/-/commit/b8c8296fd75b05ed93c9e23deca33dc5d76a4375

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


Reply via email to