[arch-commits] Commit in bigsh0t/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Mon Jun 13 08:15:52 UTC 2022


    Date: Monday, June 13, 2022 @ 08:15:51
  Author: arojas
Revision: 1237319

Don't use -march=native (FS#75054)

Modified:
  bigsh0t/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-13 08:08:33 UTC (rev 1237318)
+++ PKGBUILD	2022-06-13 08:15:51 UTC (rev 1237319)
@@ -2,7 +2,7 @@
 
 pkgname=bigsh0t
 pkgver=2.5.1
-pkgrel=1
+pkgrel=2
 pkgdesc='A collection of frei0r plugins for VR video, with support for Shotcut'
 arch=(x86_64)
 url='https://bitbucket.org/leo_sutic/bigsh0t'
@@ -12,6 +12,10 @@
 source=($pkgname-$pkgver::https://bitbucket.org/leo_sutic/bigsh0t/get/$pkgver.tar.gz)
 sha256sums=('7808e1ebd6329f3f52f66c76f3db65571f2422247a1e654f1617efcad3aaa484')
 
+prepare() {
+  sed -e 's|-march=native||' -i leo_sutic-$pkgname-*/CMakeLists.txt # Don't use -march=native
+}
+
 build() {
   cmake -B build -S leo_sutic-$pkgname-* \
     -DCMAKE_INSTALL_PREFIX=/usr



More information about the arch-commits mailing list