summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorConor Anderson (bot)2019-05-12 17:48:03 +0000
committerConor Anderson (bot)2019-05-12 17:48:03 +0000
commit390ac6773a19b4da61dac522b7b1d2a319f8584c (patch)
tree378d6f5457edc15d3704a1b667d5e6b83fbd9fc7
parenta2c45873b2d59f1227adb04896ba77154f2821e4 (diff)
downloadaur-390ac6773a19b4da61dac522b7b1d2a319f8584c.tar.gz
Make lxqt_wallet option in sirikali-git build 🤖
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD13
2 files changed, 11 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4d500fd63a4..fe21bc176c9 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 5fc3d55325f..ee0342f7955 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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 \