diff options
author | Conor Anderson (bot) | 2019-05-12 17:48:03 +0000 |
---|---|---|
committer | Conor Anderson (bot) | 2019-05-12 17:48:03 +0000 |
commit | 390ac6773a19b4da61dac522b7b1d2a319f8584c (patch) | |
tree | 378d6f5457edc15d3704a1b667d5e6b83fbd9fc7 | |
parent | a2c45873b2d59f1227adb04896ba77154f2821e4 (diff) | |
download | aur-390ac6773a19b4da61dac522b7b1d2a319f8584c.tar.gz |
Make lxqt_wallet option in sirikali-git build 🤖
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 4 deletions
@@ -9,11 +9,11 @@ pkgbase = sirikali-git makedepends = git makedepends = cmake makedepends = libgcrypt - makedepends = lxqt_wallet makedepends = gcc-libs depends = qt5-base depends = libpwquality depends = hicolor-icon-theme + optdepends = lxqt_wallet: use an external lxqt_wallet (must recompile) optdepends = libsecret: support for Gnome libsecret password storage (must recompile) optdepends = kwallet: support for KDE wallet storage (must recompile) optdepends = cryfs: for CryFS support @@ -9,8 +9,9 @@ arch=('i686' 'x86_64') url="https://mhogomchungu.github.io/sirikali/" license=('GPL') depends=('qt5-base' 'libpwquality' 'hicolor-icon-theme') -makedepends=('git' 'cmake' 'libgcrypt' 'lxqt_wallet' 'gcc-libs') -optdepends=('libsecret: support for Gnome libsecret password storage (must recompile)' +makedepends=('git' 'cmake' 'libgcrypt' 'gcc-libs') +optdepends=('lxqt_wallet: use an external lxqt_wallet (must recompile)' + 'libsecret: support for Gnome libsecret password storage (must recompile)' 'kwallet: support for KDE wallet storage (must recompile)' 'cryfs: for CryFS support' 'gocryptfs: for gocryptfs support' @@ -31,6 +32,12 @@ prepare() { cd "$srcdir/${_pkgname}" mkdir -p build + if pacman -Qs "lxqt_wallet" > /dev/null ; then + intwallet="false" + else + intwallet="true" + fi + if pacman -Qs "kwallet" > /dev/null ; then kdeopt="false" else @@ -49,7 +56,7 @@ build() { cmake \ -DCMAKE_BUILD_TYPE=RELEASE \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DINTERNAL_LXQT_WALLET=false \ + -DINTERNAL_LXQT_WALLET=$intwallet \ -DNOKDESUPPORT=$kdeopt \ -DNOSECRETSUPPORT=$gnomeopt \ -DQT5=true \ |