Christian Heusel pushed to branch main at Arch Linux / Packaging / Packages / 
pulseview


Commits:
da94642a by Christian Heusel at 2025-01-24T14:57:33+01:00
upgpkg: 0.4.2-14: Rebuild for boost 1.87.0

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = pulseview
        pkgdesc = A Qt based logic analyzer GUI for sigrok
        pkgver = 0.4.2
-       pkgrel = 13
+       pkgrel = 14
        url = https://sigrok.org/wiki/Main_Page
        arch = x86_64
        license = GPL-3.0-or-later


=====================================
PKGBUILD
=====================================
@@ -5,7 +5,7 @@
 
 pkgname=pulseview
 pkgver=0.4.2
-pkgrel=13
+pkgrel=14
 pkgdesc='A Qt based logic analyzer GUI for sigrok'
 arch=('x86_64')
 url='https://sigrok.org/wiki/Main_Page'
@@ -41,23 +41,28 @@ prepare() {
 }
 
 build() {
-  cd $pkgname
-  cmake -S . -B build \
-       -DCMAKE_INSTALL_PREFIX=/usr \
+  local cmake_options=(
+    -S $pkgname \
+    -B build \
+    -DCMAKE_INSTALL_PREFIX=/usr \
     -DCMAKE_BUILD_TYPE=None \
     -Wno-dev \
-       -DCMAKE_CXX_FLAGS=-fext-numeric-literals \
-       -DDISABLE_WERROR=ON \
-    -DENABLE_TESTS=ON
+    -DCMAKE_CXX_FLAGS=-fext-numeric-literals \
+    -DDISABLE_WERROR=ON \
+    -DENABLE_TESTS=ON \
+    -DCMAKE_CXX_STANDARD=17
+  )
+
+  sed -i "s/-std=c++11/-std=c++17/" "$pkgname/CMakeLists.txt"
+
+  cmake "${cmake_options[@]}"
   cmake --build build
 }
 
 check() {
-  cd $pkgname
   ctest --test-dir build --output-on-failure
 }
 
 package() {
-  cd $pkgname
   DESTDIR="$pkgdir" cmake --install build
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pulseview/-/commit/da94642ad7e6e1104e98f250cecd9982d143b281

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


Reply via email to