[arch-commits] Commit in qt5-gsettings/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed Mar 11 09:28:11 UTC 2020


    Date: Wednesday, March 11, 2020 @ 09:28:11
  Author: felixonmars
Revision: 594150

upgpkg: qt5-gsettings 1.3.0-1

Modified:
  qt5-gsettings/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-11 09:25:43 UTC (rev 594149)
+++ PKGBUILD	2020-03-11 09:28:11 UTC (rev 594150)
@@ -2,7 +2,7 @@
 # Contributor: Pier Luigi Fiorini <pierluigi.fiorini at gmail.com>
 
 pkgname=qt5-gsettings
-pkgver=1.2.0
+pkgver=1.3.0
 pkgrel=1
 pkgdesc="Qt-style wrapper for GSettings"
 arch=('x86_64')
@@ -9,21 +9,24 @@
 url="https://github.com/lirios/qtgsettings"
 license=('LGPL3')
 depends=('qt5-declarative' 'glib2')
-makedepends=('liri-qbs-shared')
+makedepends=('liri-cmake-shared')
 groups=('liri')
-source=("https://github.com/lirios/qtgsettings/releases/download/v${pkgver}/qtgsettings-${pkgver}.tar.xz")
-sha256sums=('0e66b2f2066e8e553abb3de069a3f76bf50382ed49b0790091341a8f3c5e15cb')
+source=("https://github.com/lirios/qtgsettings/releases/download/v${pkgver}/qtgsettings-${pkgver}.tar.xz"
+        qtgsettings-qt-5.14.patch::https://github.com/lirios/qtgsettings/commit/153d3a85cc797f225ab466ae7d4e9c48b8bbf1bd.patch)
+sha512sums=('943c6f58ca6876f1ea0991a6159dfea862c9f3292f7c63d86c8528bb2831c2df94931e5290016abc0fdf17f4805b5b893bb55d8a679e1ca68703b5d997a072e9'
+            '1331ef298efaa7d8269f4ad976aff1886603b1a634175b78de546605f312ccf8cce9f2eba0b111d2f4fb520ede01423f4a20ea44a51c3159017409b93dc629c9')
 
+prepare() {
+  patch -d qtgsettings-$pkgver -p1 -i ../qtgsettings-qt-5.14.patch
+  mkdir -p build
+}
+
 build() {
-  cd qtgsettings-$pkgver
-  qbs setup-toolchains --type gcc /usr/bin/g++ gcc
-  qbs setup-qt /usr/bin/qmake-qt5 qt5
-  qbs config profiles.qt5.baseProfile gcc
-  qbs build --no-install -d build profile:qt5 modules.lirideployment.prefix:/usr \
-                                              modules.lirideployment.qmlDir:/usr/lib/qt/qml
+  cd build
+  cmake -DCMAKE_INSTALL_PREFIX=/usr ../qtgsettings-$pkgver
 }
 
 package() {
-  cd qtgsettings-$pkgver
-  qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
+  cd build
+  make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list