Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / 
libaccounts-qt


Commits:
8cb36219 by Antonio Rojas at 2023-12-22T08:35:01+01:00
upgpkg: 1.16-4: Build with Qt6 in kde-unstable

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,18 @@
+pkgbase = libaccounts-qt
+       pkgdesc = Qt-based client library for accessing the online accounts 
database
+       pkgver = 1.16
+       pkgrel = 4
+       url = https://gitlab.com/accounts-sso/libaccounts-qt
+       arch = x86_64
+       license = LGPL
+       makedepends = doxygen
+       makedepends = git
+       depends = gcc-libs
+       depends = glib2
+       depends = glibc
+       depends = libaccounts-glib
+       depends = qt6-base
+       source = 
git+https://gitlab.com/nicolasfella/libaccounts-qt#commit=18557f7def9af8f4a9e0e93e9f575ae11e5066aa
+       sha256sums = SKIP
+
+pkgname = libaccounts-qt


=====================================
PKGBUILD
=====================================
@@ -5,31 +5,35 @@
 pkgname=libaccounts-qt
 pkgdesc='Qt-based client library for accessing the online accounts database'
 pkgver=1.16
-pkgrel=3
+pkgrel=4
 arch=(x86_64)
 url='https://gitlab.com/accounts-sso/libaccounts-qt'
 license=(LGPL)
-depends=(libaccounts-glib qt5-base)
-makedepends=(doxygen)
-conflicts=(libaccounts-qt5)
-provides=(libaccounts-qt5)
-replaces=(libaccounts-qt5)
-source=(https://gitlab.com/accounts-sso/libaccounts-qt/-/archive/VERSION_$pkgver/libaccounts-qt-VERSION_$pkgver.tar.gz)
-sha256sums=('3e527b151ee87e851b0f027214bda1353d8e48e10a5b54109f1e4b7d422a7de3')
+depends=(gcc-libs
+         glib2
+         glibc
+         libaccounts-glib
+         qt6-base)
+makedepends=(doxygen
+             git)
+# 
source=(https://gitlab.com/accounts-sso/libaccounts-qt/-/archive/VERSION_$pkgver/libaccounts-qt-VERSION_$pkgver.tar.gz)
+_commit=18557f7def9af8f4a9e0e93e9f575ae11e5066aa
+source=(git+https://gitlab.com/nicolasfella/libaccounts-qt#commit=$_commit)
+sha256sums=('SKIP')
 
 prepare() {
-  cd $pkgname-VERSION_$pkgver
+  cd $pkgname
   sed -i 's|SUBDIRS  += Accounts tests|SUBDIRS += Accounts|' accounts-qt.pro
 }
 
 build() {
-  cd $pkgname-VERSION_$pkgver
-  qmake PREFIX=/usr LIBDIR=/usr/lib
+  cd $pkgname
+  qmake6 PREFIX=/usr LIBDIR=/usr/lib
   make
 }
 
 package() {
-  cd $pkgname-VERSION_$pkgver
+  cd $pkgname
   make INSTALL_ROOT="$pkgdir" install
 
 # Remove docs



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libaccounts-qt/-/commit/8cb3621928c4790a17c2b24d862d30f5e42e6c62

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libaccounts-qt/-/commit/8cb3621928c4790a17c2b24d862d30f5e42e6c62
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to