zulucrypt: add window-nonModal patch

This commit is contained in:
Piraty 2018-11-14 20:25:55 +01:00 committed by maxice8
parent 81011477cb
commit a99dbe8a98
2 changed files with 30 additions and 4 deletions

View file

@ -0,0 +1,25 @@
upstream: https://github.com/mhogomchungu/zuluCrypt/commit/f0f80bb50ddcbeaa8b15cd41610824c5b6425e33
reason: windows were floating in a tiling wm before
--- zuluCrypt-gui/zulucrypt.ui
+++ zuluCrypt-gui/zulucrypt.ui
@@ -3,7 +3,7 @@
<class>zuluCrypt</class>
<widget class="QMainWindow" name="zuluCrypt">
<property name="windowModality">
- <enum>Qt::WindowModal</enum>
+ <enum>Qt::NonModal</enum>
</property>
<property name="enabled">
<bool>true</bool>
--- zuluMount-gui/zulumount.ui
+++ zuluMount-gui/zulumount.ui
@@ -3,7 +3,7 @@
<class>zuluMount</class>
<widget class="QWidget" name="zuluMount">
<property name="windowModality">
- <enum>Qt::WindowModal</enum>
+ <enum>Qt::NonModal</enum>
</property>
<property name="geometry">
<rect>

View file

@ -1,7 +1,7 @@
# Template file for 'zulucrypt'
pkgname=zulucrypt
version=5.4.0
revision=2
revision=3
wrksrc="zuluCrypt-${version}"
build_style=cmake
configure_args="-DINTERNAL_ZULUPLAY=false -DQT5=true
@ -14,9 +14,9 @@ hostmakedepends="pkg-config"
makedepends="zuluplay-devel libblkid-devel cryptsetup-devel libgcrypt-devel
device-mapper-devel libuuid-devel qt5-devel $(vopt_if kde kwallet-devel)
$(vopt_if pwquality libpwquality-devel) $(vopt_if gnome libsecret-devel)"
short_desc="Front end to cryptsetup and tcplay, supports veracrypt"
short_desc="Frontend to cryptsetup and Veracrypt for harddrive and file encryption"
maintainer="Piraty <piraty1@inbox.ru>"
license="GPL-2"
license="GPL-2.0-or-later"
homepage="https://mhogomchungu.github.io/zuluCrypt"
distfiles="https://github.com/mhogomchungu/zuluCrypt/archive/${version}.tar.gz"
checksum=c22cd0c6e0d867d844c330ff9e33c3a807bbb5c23b07d4d6928d25a6092507b4
@ -42,7 +42,8 @@ post_install() {
zulucrypt-gui_package() {
short_desc+=" - GUI tools"
depends="${sourcepkg}>=${version}_${revision}"
# needs xdg-open
depends="${sourcepkg}>=${version}_${revision} xdg-utils"
pkg_install() {
vmove "usr/bin/*-gui"
vmove "usr/share/icons/*"