Date: Tuesday, February 14, 2023 @ 17:03:00
  Author: yan12125
Revision: 1400464

upgpkg: lxqt-config 1.2.0-2; rebuild for libkscreen 5.27

* Backport a fix for building [1]
* Update maintainership. I'm the only maintainer on archweb now.
* Add missing deps reported by namcap-git an reorganize them
* Remove no longer used GPG keys
* Add -DCMAKE_BUILD_TYPE=None like other packages using CMake

[1] https://github.com/lxqt/lxqt-config/pull/915

Modified:
  lxqt-config/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++--------
 1 file changed, 19 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-14 16:54:45 UTC (rev 1400463)
+++ PKGBUILD    2023-02-14 17:03:00 UTC (rev 1400464)
@@ -1,15 +1,19 @@
-# Maintainer: Jerome Leclanche <[email protected]>
 # Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: Jerome Leclanche <[email protected]>
 
 pkgname=lxqt-config
 pkgver=1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="LXQt system configuration."
 arch=("x86_64")
 groups=("lxqt")
 url="https://github.com/lxqt/$pkgname";
 license=("LGPL2.1")
-depends=("lxqt-themes" "liblxqt" "libkscreen" "libxcursor" 
"xf86-input-libinput" "qt5-svg" "libQt5Xdg.so")
+depends=("glibc" "gcc-libs"
+         "qt5-base" "qt5-svg" "qt5-x11extras" "libkscreen"
+         "libQt5Xdg.so" "liblxqt" "lxqt-themes"
+         "libx11" "libxcb" "libxcursor" "libxfixes" "libxi" 
"xf86-input-libinput"
+         "libudev.so" "zlib")
 makedepends=("lxqt-build-tools")
 optdepends=(
        'xsettingsd: help GTK applications apply themes on the fly'
@@ -17,20 +21,27 @@
 source=(
        
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz";
        
"https://github.com/lxqt/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz.asc";
+       
"$pkgname-pr915.patch"::"https://github.com/lxqt/lxqt-config/commit/6add4e4f0040693e7c4242fbae48c9d32007686c.patch";
 )
 sha256sums=('3e1c4edd6c3099aa9a15623d43ea81da6a0a7cf5bd894b1e2873dc1bac2a1640'
-            'SKIP')
+            'SKIP'
+            '3acb08d235e5e029b3c5c0286d4da63d0f188c6df0c097866eb57d4f7fdc8b07')
 validpgpkeys=(
-       "169704C6FB490C6892C7F23C37E0AF1FDA48F373"  # Jerome Leclanche 
<[email protected]>
-       "7C733BA5F585AAD669E4D23A42C9C8D3AF5EA5E3"  # Alf Gaida 
<[email protected]>
-       "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # Pedram Pourang 
<[email protected]>
+       "19DFDF3A579BD509DBB572D8BE793007AD22DF7E"  # 
https://github.com/tsujan.gpg
 )
 
+prepare() {
+       cd $pkgname-$pkgver
+       # Backport https://github.com/lxqt/lxqt-config/pull/915 (merged)
+       patch -Np1 -i ../$pkgname-pr915.patch
+}
+
 build() {
        mkdir -p build
        cd build
        cmake "$srcdir/$pkgname-$pkgver" \
-               -DCMAKE_INSTALL_PREFIX=/usr
+               -DCMAKE_INSTALL_PREFIX=/usr \
+               -DCMAKE_BUILD_TYPE=None
        make
 }
 

Reply via email to