[arch-commits] Commit in solid/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Sat Apr 14 10:00:00 UTC 2018


    Date: Saturday, April 14, 2018 @ 09:59:58
  Author: arojas
Revision: 321729

archrelease: copy trunk to testing-x86_64

Added:
  solid/repos/testing-x86_64/
  solid/repos/testing-x86_64/PKGBUILD
    (from rev 321728, solid/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: solid/repos/testing-x86_64/PKGBUILD (from rev 321728, solid/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-04-14 09:59:58 UTC (rev 321729)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=solid
+pkgver=5.45.0
+pkgrel=1
+pkgdesc='Hardware integration and detection'
+arch=(x86_64)
+url='https://community.kde.org/Frameworks'
+license=(LGPL)
+depends=(qt5-base media-player-info upower udisks2)
+makedepends=(extra-cmake-modules qt5-tools doxygen qt5-declarative)
+optdepends=('qt5-declarative: QML bindings')
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+        kdebug-391706.patch::"https://cgit.kde.org/solid.git/patch/?id=122a6cd8")
+sha256sums=('ade2068f5d0affeff3599ef12b67b016a4518e3085863739f9b6e90685d4b09c'
+            'SKIP'
+            '72219ab1071975698b31f6992adedc3f0e5f8228c0a38a33d50d73df167a4463')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  mkdir -p build
+
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kdebug-391706.patch # Fix automonting of removable devices
+}
+
+build() {
+  cd build
+  cmake ../$pkgname-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_LIBDIR=lib \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list