Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
scantailor-advanced


Commits:
889ebd2d by Antonio Rojas at 2023-09-15T08:34:50+02:00
upgpkg: 1.0.19-2: Don't build with native instruction set (FS#79694)

- - - - -


1 changed file:

- PKGBUILD


Changes:

=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=scantailor-advanced
 pkgver=1.0.19
-pkgrel=1
+pkgrel=2
 pkgdesc="An interactive post-processing tool for scanned pages."
 arch=("x86_64")
 url="https://github.com/ScanTailor-Advanced/scantailor-advanced";
@@ -15,6 +15,11 @@ replaces=("scantailor")
 
source=("https://github.com/ScanTailor-Advanced/scantailor-advanced/archive/v$pkgver/$pkgname-$pkgver.tar.gz";)
 sha256sums=('db41c3a1ba0ecfc00a40a4efe2bcc9d2abb71ecb77fdc873ae6553b07a228370')
 
+prepare() {
+# Don't build with march=native
+  sed -e '/native/d' -i $pkgname-$pkgver/CMakeLists.txt
+}
+
 build() {
     cmake -B build -S $pkgname-$pkgver \
      -DCMAKE_INSTALL_PREFIX=/usr



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/scantailor-advanced/-/commit/889ebd2d8cca5930aea98eedd474c828abc10249

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


Reply via email to