From 3b81008e33997fb0b33a1233b6ceb364ec3031c3 Mon Sep 17 00:00:00 2001 From: mac-a-r0ni <1995739+mac-a-r0ni@users.noreply.github.com> Date: Tue, 24 Dec 2024 02:35:54 -0500 Subject: [PATCH] lxqt-wallet: remove redundant deps/fix libdir --- lxqt-wallet/.footprint | 11 +++++------ lxqt-wallet/.signature | 6 +++--- lxqt-wallet/Pkgfile | 12 ++++++++---- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/lxqt-wallet/.footprint b/lxqt-wallet/.footprint index 58ef85b..1b5bc97 100644 --- a/lxqt-wallet/.footprint +++ b/lxqt-wallet/.footprint @@ -5,9 +5,8 @@ drwxr-xr-x root/root usr/include/ drwxr-xr-x root/root usr/include/lxqt/ -rw-r--r-- root/root usr/include/lxqt/lxqt-wallet.h -rw-r--r-- root/root usr/include/lxqt/lxqt_wallet.h -drwxr-xr-x root/root usr/lib64/ -lrwxrwxrwx root/root usr/lib64/liblxqt-wallet.so -> liblxqt-wallet.so.6.0.0 --rwxr-xr-x root/root usr/lib64/liblxqt-wallet.so.6.0.0 -drwxr-xr-x root/root usr/lib64/pkgconfig/ --rw-r--r-- root/root usr/lib64/pkgconfig/lxqt-wallet.pc -drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/lib/ +lrwxrwxrwx root/root usr/lib/liblxqt-wallet.so -> liblxqt-wallet.so.6.0.0 +-rwxr-xr-x root/root usr/lib/liblxqt-wallet.so.6.0.0 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/lxqt-wallet.pc diff --git a/lxqt-wallet/.signature b/lxqt-wallet/.signature index 1a86038..af95d7b 100644 --- a/lxqt-wallet/.signature +++ b/lxqt-wallet/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/lxqt.pub -RWSobSt/++EYD4d0oDUb7Trl2gkglu3d2R8DHCUyTWAoJGB2YhGSJDv6OwlDNmUcSgTyOml2pbN6o4jhWTdefewN2P8/dOOshQE= -SHA256 (Pkgfile) = 6045a0a1ab36c30c1c2e715e1e003ec9b6663f45ebe0f40cd548ec2c275d7876 -SHA256 (.footprint) = 6e7bb3be169ad2288a7db4f14cc272a8e65a5d8ef77db4af81b35b9c8e8edf44 +RWSobSt/++EYD66HBxZvzW26l+K2HCfgU/NE9/NUv8RmtOU//ffKaAFljVqdSuyBvaQzzTTPYlXvDx/XKgrP++vxRjhlpHpXmgg= +SHA256 (Pkgfile) = 2f54094c1a1354636562b1e2751e206465bc8c0e78bfad5f54f954f384aab323 +SHA256 (.footprint) = 32e7648b5cf06ada9406ff7526aa561620d4a256c40b1686bd8a2a59980d8332 SHA256 (lxqt-wallet-4.0.2.tar.xz) = 3dbfc24555e88f6dd8aa79c2bf22e455f82d6a332e95418b08788d7adc226e50 diff --git a/lxqt-wallet/Pkgfile b/lxqt-wallet/Pkgfile index 220334c..3a305b3 100644 --- a/lxqt-wallet/Pkgfile +++ b/lxqt-wallet/Pkgfile @@ -1,7 +1,8 @@ # Description: create a kwallet like functionality for lxqt # URL: https://github.com/lxqt/lxqt-wallet # Maintainer: Jay Lanagan, j at lngn dot net -# Depends on: kwallet libsecret qt6-tools +# Depends on: kwallet +# Optional: libsecret name=lxqt-wallet version=4.0.2 @@ -10,15 +11,18 @@ release=1 source=(https://github.com/lxqt/lxqt_wallet/releases/download/$version/$name-$version.tar.xz) build() { + prt-get isinst libsecret && PKGMK_LXWL+='-DNOSECRETSUPPORT=false ' || PKGMK_LXWL+='-DNOSECRETSUPPORT=true ' + mkdir -p build cd build - cmake "$SRC/$name-$version" \ + cmake "$SRC/$name-$version" $PKGMK_LXWL \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + -DCMAKE_BUILD_TYPE=RELEASE \ -Wno-dev make make DESTDIR="$PKG" install -rm -rf $PKG/usr/share/lxqt +rm -rf $PKG/usr/share/ }