Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages /
signon-ui
Commits:
08f253b8 by Antonio Rojas at 2024-11-18T11:49:13+01:00
upgpkg: 0.17+20231016-3: Drop no longer relevant patch
- - - - -
3 changed files:
- .SRCINFO
- PKGBUILD
- − fake-user-agent.patch
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,10 +1,11 @@
pkgbase = signon-ui
pkgdesc = UI component responsible for handling the user interactions
which can happen during the login process of an online account
pkgver = 0.17+20231016
- pkgrel = 2
+ pkgrel = 3
url = https://launchpad.net/online-accounts-signon-ui
arch = x86_64
- license = GPL
+ license = GPL-3.0-only
+ makedepends = git
depends = gcc-libs
depends = glib2
depends = glibc
@@ -15,9 +16,7 @@ pkgbase = signon-ui
depends = qt6-declarative
depends = qt6-webengine
depends = signond
- source =
https://gitlab.com/accounts-sso/signon-ui/-/archive/eef943f0edf3beee8ecb85d4a9dae3656002fc24/signon-ui-0.17+20231016.tar.gz
- source = fake-user-agent.patch
- sha256sums =
0906a1adee88e331e9dcf1f2d5978c24f8564fb734f5c114c88bddb63196d3d4
- sha256sums =
5eb7782c6472e51a8107a25324d1d30052bac5d8e9050907cd957c89568fa577
+ source =
git+https://gitlab.com/accounts-sso/signon-ui#commit=eef943f0edf3beee8ecb85d4a9dae3656002fc24
+ sha256sums =
f89a79a4a7619c8d415c39b6d377aebb92d898cfb126c211b756e5b8624c5ae7
pkgname = signon-ui
=====================================
PKGBUILD
=====================================
@@ -4,12 +4,12 @@
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
@@ -20,22 +20,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 \
@@ -44,7 +41,7 @@ build() {
}
package() {
- cd $pkgname-$_commit
+ cd $pkgname
make INSTALL_ROOT="$pkgdir" install
}
=====================================
fake-user-agent.patch deleted
=====================================
@@ -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 {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/signon-ui/-/commit/08f253b8619ffecb6e82716ba08a64ba620f54f7
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/signon-ui/-/commit/08f253b8619ffecb6e82716ba08a64ba620f54f7
You're receiving this email because of your account on gitlab.archlinux.org.