This commit is contained in:
Anton Bolshakov 2025-07-14 09:46:06 +08:00
parent 96b8cff38d
commit df4f822c9d
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
8 changed files with 199 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST lxqt_wallet-4.0.2.gh.tar.gz 289994 BLAKE2B d393e90dbc786142c0803bd8d23b681286295ca85a67df56896c64d1f460800873fd22509f8bbc82cdfeb515bacad63b3b44be238fceb8f5706b72b518df2917 SHA512 9d8075db92b57921bcc8ac61938e704cb4daee12fa40030691131c2e9deaeb5987615e1adbff95a33aac5024ca72e635c78688a7c469d9a4b7d7b0747c2d9ed8

View file

@ -0,0 +1,13 @@
--- a/frontend/lxqt_kwallet-dbus.cpp.orig 2024-11-02 03:52:06.000000000 +0800
+++ b/frontend/lxqt_kwallet-dbus.cpp 2025-07-14 00:51:09.017017550 +0800
@@ -31,8 +31,8 @@
#include "lxqt_kwallet-dbus.h"
#include "task.h"
-static auto _service = "org.kde.kwalletd5";
-static auto _path = "/modules/kwalletd5";
+static auto _service = "org.kde.kwalletd6";
+static auto _path = "/modules/kwalletd6";
static auto _interface = "org.kde.KWallet";
LXQt::Wallet::kwallet_dbus::kwallet_dbus() : m_dbus(_service, _path, _interface)

View file

@ -0,0 +1,39 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_BUILD_TYPE=RELEASE
inherit cmake
DESCRIPTION="A kwallet like functionality for lxqt"
HOMEPAGE="https://github.com/lxqt/lxqt_wallet"
SRC_URI="https://github.com/lxqt/lxqt_wallet/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64"
IUSE="+keyring kwallet test"
RESTRICT="!test? ( test )"
DEPEND="
dev-qt/qtbase:6[dbus,gui,network,widgets]
dev-libs/libgcrypt:0=
keyring? ( app-crypt/libsecret )
kwallet? ( kde-frameworks/kwallet )
"
PATCHES=("${FILESDIR}/kwallet6.patch")
src_configure() {
local mycmakeargs=(
-DNOSECRETSUPPORT=$(usex keyring false true)
-DNOKDESUPPORT=$(usex kwallet false true)
)
cmake_src_configure
}
pkg_postinst() {
if has_version 'kde-frameworks/kwallet:6'; then
ewarn "This software does not support kwallet6 yet"
fi
}

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<use>
<flag name="kwallet">Build with KWallet support</flag>
</use>
<upstream>
<remote-id type="github">lxqt/lxqt_wallet</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1 @@
DIST sirikali-1.8.2.gh.tar.gz 1940862 BLAKE2B a15628ff8e0134d7bfeaf71a29db55e0ed7a522e7a4f7fb757d522765098f24012b08eaecc5ff2d8ad547dde4dd566b9863b9c93865f883e5b9ef2bb0075647b SHA512 d5cf45251266a8d772d46eff409176d05c1218c9b2584df693a59a26f00826725cca2268d360525e3213fe2bda3bc9eda79accbbe51678efdb6e9a3368e96c06

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>unknown@pentoo.ch</email>
<name>Author Unknown</name>
</maintainer>
<use>
<flag name="kwallet">Build with KWallet support</flag>
<flag name="pwquality">Install password quality checking library</flag>
</use>
<upstream>
<remote-id type="github">mhogomchungu/sirikali</remote-id>
</upstream>
</pkgmetadata>

View file

@ -0,0 +1,59 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_BUILD_TYPE=RELEASE
inherit cmake
DESCRIPTION="A Qt/C++ GUI front end to some encrypted filesystems and sshfs"
HOMEPAGE="
https://mhogomchungu.github.io/sirikali/
https://github.com/mhogomchungu/sirikali
"
SRC_URI="https://github.com/mhogomchungu/sirikali/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
#FAILS: https://github.com/mhogomchungu/sirikali/issues/300
#KEYWORDS="amd64"
IUSE="debug +pwquality test"
RESTRICT="!test? ( test )"
DEPEND="
dev-qt/qtbase:6[dbus,gui,network,widgets]
dev-libs/libgcrypt:0=
pwquality? ( dev-libs/libpwquality )
app-crypt/lxqt_wallet
"
src_prepare() {
#NONETWORKSUPPORT is broken, see https://github.com/mhogomchungu/sirikali/issues/299
#sed -i '/HAS_NETWORK_SUPPORT/d' CMakeLists.txt || die "unable to sed"
# do not install compressed MAN files
sed -i 's/\.1\.gz/\.1/g' CMakeLists.txt
cd src
unpack ./sirikali.1.gz ./sirikali.pkexec.1.gz
cd ..
cmake_src_prepare
eapply_user
}
src_configure() {
local mycmakeargs=(
-DBUILD_WITH_QT6=true
-DINTERNAL_LXQT_WALLET=false
)
DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release) cmake_src_configure
}
pkg_postinst() {
if has_version 'kde-frameworks/kwallet:6'; then
ewarn "This software does not support kwallet6 yet"
fi
}

View file

@ -0,0 +1,57 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
CMAKE_BUILD_TYPE=RELEASE
inherit cmake
DESCRIPTION="A Qt/C++ GUI front end to some encrypted filesystems and sshfs"
HOMEPAGE="
https://mhogomchungu.github.io/sirikali/
https://github.com/mhogomchungu/sirikali
"
SRC_URI="https://github.com/mhogomchungu/sirikali/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64"
IUSE="debug +keyring kwallet +pwquality test"
RESTRICT="!test? ( test )"
DEPEND="
dev-qt/qtbase:6[dbus,gui,network,widgets]
dev-libs/libgcrypt:0=
pwquality? ( dev-libs/libpwquality )
"
src_prepare() {
#NONETWORKSUPPORT is broken, see https://github.com/mhogomchungu/sirikali/issues/299
#sed -i '/HAS_NETWORK_SUPPORT/d' CMakeLists.txt || die "unable to sed"
# do not install compressed MAN files
sed -i 's/\.1\.gz/\.1/g' CMakeLists.txt
cd src
unpack ./sirikali.1.gz ./sirikali.pkexec.1.gz
cd ..
cmake_src_prepare
eapply_user
}
src_configure() {
local mycmakeargs=(
-DBUILD_WITH_QT6=true
-DINTERNAL_LXQT_WALLET=true
-DNOSECRETSUPPORT=$(usex keyring false true)
-DNOKDESUPPORT=$(usex kwallet false true)
)
DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release) cmake_src_configure
}
pkg_postinst() {
if has_version 'kde-frameworks/kwallet:6'; then
ewarn "This software does not support kwallet6 yet"
fi
}