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

Jonas Witschel diabonas at gemini.archlinux.org
Thu Apr 7 08:49:07 UTC 2022


    Date: Thursday, April 7, 2022 @ 08:49:06
  Author: diabonas
Revision: 1182771

qpwgraph: depend on qt6-svg

The program uses an SVG application and tray icon which can only be displayed
correctly if qt6-svg is installed at runtime.

Also use cmake instead of make everywhere to keep closer to the template in the
current CMake package guidelines.

Modified:
  qpwgraph/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-07 07:10:24 UTC (rev 1182770)
+++ PKGBUILD	2022-04-07 08:49:06 UTC (rev 1182771)
@@ -6,7 +6,7 @@
 arch=('x86_64')
 url='https://gitlab.freedesktop.org/rncbc/qpwgraph'
 license=('GPL')
-depends=('alsa-lib' 'pipewire' 'qt6-base')
+depends=('alsa-lib' 'pipewire' 'qt6-base' 'qt6-svg')
 makedepends=('cmake')
 options=('debug')
 source=("$url/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
@@ -14,9 +14,9 @@
 
 build() {
 	cmake -B build -S "$pkgname-v$pkgver" -DCMAKE_INSTALL_PREFIX=/usr -DCONFIG_WAYLAND=ON
-	make -C build
+	cmake --build build
 }
 
 package() {
-	make -C build DESTDIR="$pkgdir" install
+	DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list