diff options
author | Daniel Bermond | 2024-02-09 08:53:33 -0300 |
---|---|---|
committer | Daniel Bermond | 2024-02-09 08:53:33 -0300 |
commit | 4485a435eb14a6bd3f327be43d343b072788ab75 (patch) | |
tree | 181ec797f4dc19393f56c33953bc355ae8e78866 | |
parent | ac504f8c49cbec2e4b6a4be4e053796191f23485 (diff) | |
download | aur-4485a435eb14a6bd3f327be43d343b072788ab75.tar.gz |
Update cmake commands
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 6 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = qt6-jpegxl-image-plugin-git pkgdesc = Qt6 plug-in to allow Qt6 and KDE based applications to read/write JXL images (git version) - pkgver = 0.4.1.r0.g0695db7 + pkgver = 0.5.0.r2.g8aa8282 pkgrel = 1 url = https://github.com/novomesk/qt-jpegxl-image-plugin/ arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Daniel Bermond <dbermond@archlinux.org> pkgname=qt6-jpegxl-image-plugin-git -pkgver=0.4.1.r0.g0695db7 +pkgver=0.5.0.r2.g8aa8282 pkgrel=1 pkgdesc='Qt6 plug-in to allow Qt6 and KDE based applications to read/write JXL images (git version)' arch=('x86_64') @@ -22,19 +22,20 @@ pkgver() { build() { cmake -B build -S qt-jpegxl-image-plugin \ + -G 'Unix Makefiles' \ -DCMAKE_BUILD_TYPE:STRING='None' \ -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ -DKDE_INSTALL_QTPLUGINDIR:PATH='lib/qt6/plugins' \ -DQT_MAJOR_VERSION:STRING='6' \ -DCMAKE_SKIP_INSTALL_RPATH:BOOL='YES' \ -Wno-dev - make -C build + cmake --build build } check() { - make -C build test + ctest --test-dir build --output-on-failure } package() { - make -C build DESTDIR="$pkgdir" install + DESTDIR="$pkgdir" cmake --install build } |