[update] signon-ui -> 0.17+20231016

This commit is contained in:
Developer 2024-12-13 23:50:20 +00:00
parent 28abe17254
commit eacda6eb4e
3 changed files with 32 additions and 23 deletions

24
kde/signon-ui/.PKGINFO Normal file
View File

@ -0,0 +1,24 @@
# Generated by makepkg 7.0.0
# using fakeroot version 1.36
pkgname = signon-ui
pkgbase = signon-ui
xdata = pkgtype=pkg
pkgver = 0.17+20231016-3
pkgdesc = UI component responsible for handling the user interactions which can happen during the login process of an online account
url = https://launchpad.net/online-accounts-signon-ui
builddate = 1734133819
packager = Tuxcore <dev@tuxcore.org>
size = 256452
arch = x86_64
license = GPL-3.0-only
depend = gcc-libs
depend = glib2
depend = glibc
depend = libaccounts-qt
depend = libnotify
depend = libproxy
depend = qt6-base
depend = qt6-declarative
depend = qt6-webengine
depend = signond
makedepend = git

View File

@ -1,12 +1,12 @@
# Packager = Tuxcore <dev@tuxcore.org>
pkgname=signon-ui
pkgver=0.17+20231016
pkgrel=2
pkgrel=3
_commit=eef943f0edf3beee8ecb85d4a9dae3656002fc24
pkgdesc='UI component responsible for handling the user interactions which can happen during the login process of an online account'
arch=(x86_64)
url='https://launchpad.net/online-accounts-signon-ui'
license=(GPL)
license=(GPL-3.0-only)
depends=(gcc-libs
glib2
glibc
@ -17,22 +17,19 @@ depends=(gcc-libs
qt6-declarative
qt6-webengine
signond)
source=(https://gitlab.com/accounts-sso/signon-ui/-/archive/$_commit/$pkgname-$pkgver.tar.gz
fake-user-agent.patch)
sha256sums=('0906a1adee88e331e9dcf1f2d5978c24f8564fb734f5c114c88bddb63196d3d4'
'5eb7782c6472e51a8107a25324d1d30052bac5d8e9050907cd957c89568fa577')
makedepends=(git)
source=(git+https://gitlab.com/accounts-sso/signon-ui#commit=$_commit)
sha256sums=('f89a79a4a7619c8d415c39b6d377aebb92d898cfb126c211b756e5b8624c5ae7')
prepare() {
cd $pkgname-$_commit
cd $pkgname
# Do not install tests
sed -e 's|src \\|src|' -e '/tests/d' -i signon-ui.pro
# Fake user ID to bypass Google blacklist
patch -p1 -i ../fake-user-agent.patch
}
build() {
cd $pkgname-$_commit
cd $pkgname
qmake6 \
PREFIX=/usr \
@ -41,7 +38,7 @@ build() {
}
package() {
cd $pkgname-$_commit
cd $pkgname
make INSTALL_ROOT="$pkgdir" install
}

View File

@ -1,12 +0,0 @@
diff --git a/src/qml/WebView.qml b/src/qml/WebView.qml
index 33462b8..b720111 100644
--- a/src/qml/WebView.qml
+++ b/src/qml/WebView.qml
@@ -25,6 +25,7 @@ WebEngineView {
profile: WebEngineProfile {
cachePath: rootDir
persistentStoragePath: rootDir
+ httpUserAgent: "Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Firefox/77.0"
}
ProgressBar {