[arch-commits] Commit in qt5-gsettings/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Mar 11 09:28:27 UTC 2020
Date: Wednesday, March 11, 2020 @ 09:28:26
Author: felixonmars
Revision: 594151
archrelease: copy trunk to community-x86_64
Added:
qt5-gsettings/repos/community-x86_64/PKGBUILD
(from rev 594150, qt5-gsettings/trunk/PKGBUILD)
Deleted:
qt5-gsettings/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 62 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 32 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-11 09:28:11 UTC (rev 594150)
+++ PKGBUILD 2020-03-11 09:28:26 UTC (rev 594151)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Pier Luigi Fiorini <pierluigi.fiorini at gmail.com>
-
-pkgname=qt5-gsettings
-pkgver=1.2.0
-pkgrel=1
-pkgdesc="Qt-style wrapper for GSettings"
-arch=('x86_64')
-url="https://github.com/lirios/qtgsettings"
-license=('LGPL3')
-depends=('qt5-declarative' 'glib2')
-makedepends=('liri-qbs-shared')
-groups=('liri')
-source=("https://github.com/lirios/qtgsettings/releases/download/v${pkgver}/qtgsettings-${pkgver}.tar.xz")
-sha256sums=('0e66b2f2066e8e553abb3de069a3f76bf50382ed49b0790091341a8f3c5e15cb')
-
-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
-}
-
-package() {
- cd qtgsettings-$pkgver
- qbs install -d build --no-build -v --install-root "$pkgdir" profile:qt5
-}
Copied: qt5-gsettings/repos/community-x86_64/PKGBUILD (from rev 594150, qt5-gsettings/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-11 09:28:26 UTC (rev 594151)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Pier Luigi Fiorini <pierluigi.fiorini at gmail.com>
+
+pkgname=qt5-gsettings
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="Qt-style wrapper for GSettings"
+arch=('x86_64')
+url="https://github.com/lirios/qtgsettings"
+license=('LGPL3')
+depends=('qt5-declarative' 'glib2')
+makedepends=('liri-cmake-shared')
+groups=('liri')
+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 build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr ../qtgsettings-$pkgver
+}
+
+package() {
+ cd build
+ make DESTDIR="$pkgdir" install
+}
More information about the arch-commits
mailing list