[arch-commits] Commit in solid/repos (3 files)

Antonio Rojas arojas at archlinux.org
Sat Nov 14 10:38:06 UTC 2020


    Date: Saturday, November 14, 2020 @ 10:38:05
  Author: arojas
Revision: 401042

archrelease: copy trunk to testing-x86_64

Added:
  solid/repos/testing-x86_64/
  solid/repos/testing-x86_64/PKGBUILD
    (from rev 401041, solid/trunk/PKGBUILD)
  solid/repos/testing-x86_64/solid-find-imobiledevice.patch
    (from rev 401041, solid/trunk/solid-find-imobiledevice.patch)

--------------------------------+
 PKGBUILD                       |   39 +++++++++++++++++++++++++++++++++++++++
 solid-find-imobiledevice.patch |   26 ++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)

Copied: solid/repos/testing-x86_64/PKGBUILD (from rev 401041, solid/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-11-14 10:38:05 UTC (rev 401042)
@@ -0,0 +1,39 @@
+# 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.76.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 qt5-doc doxygen qt5-declarative)
+optdepends=('qt5-declarative: QML bindings')
+groups=(kf5)
+source=("https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"{,.sig}
+         solid-find-imobiledevice.patch)
+sha256sums=('7958d047c8bd7622f91541acbe2d554c222218419ee18f395059a09fb90d264d'
+            'SKIP'
+            '0209d2415cc1c43c789878284b95d5e6d9e45ec59dc20193adcdf9e444cdb65b')
+validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 -i ../solid-find-imobiledevice.patch # Fix plist and imobiledevice detection
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DBUILD_TESTING=OFF \
+    -DBUILD_QCH=ON \
+    -DWITH_NEW_POWER_ASYNC_API=ON \
+    -DWITH_NEW_POWER_ASYNC_FREEDESKTOP=ON \
+    -DWITH_NEW_SOLID_JOB=ON # https://bugs.archlinux.org/task/64093
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: solid/repos/testing-x86_64/solid-find-imobiledevice.patch (from rev 401041, solid/trunk/solid-find-imobiledevice.patch)
===================================================================
--- testing-x86_64/solid-find-imobiledevice.patch	                        (rev 0)
+++ testing-x86_64/solid-find-imobiledevice.patch	2020-11-14 10:38:05 UTC (rev 401042)
@@ -0,0 +1,26 @@
+diff --git a/cmake/FindIMobileDevice.cmake b/cmake/FindIMobileDevice.cmake
+index 5168fc4..d86fd95 100644
+--- a/cmake/FindIMobileDevice.cmake
++++ b/cmake/FindIMobileDevice.cmake
+@@ -33,7 +33,7 @@ find_package(PkgConfig QUIET)
+ pkg_check_modules(PC_libimobiledevice QUIET libimobiledevice-1.0)
+ 
+ find_path(IMobileDevice_INCLUDE_DIRS NAMES libimobiledevice/libimobiledevice.h HINTS ${PC_libimobiledevice_INCLUDE_DIRS})
+-find_library(IMobileDevice_LIBRARIES NAMES imobiledevice HINTS ${PC_libimobiledevice_LIBRARY_DIRS})
++find_library(IMobileDevice_LIBRARIES NAMES imobiledevice-1.0 imobiledevice HINTS ${PC_libimobiledevice_LIBRARY_DIRS})
+ 
+ set(IMobileDevice_VERSION ${PC_libimobiledevice_VERSION})
+ 
+diff --git a/cmake/FindPList.cmake b/cmake/FindPList.cmake
+index 363981e..e13db6b 100644
+--- a/cmake/FindPList.cmake
++++ b/cmake/FindPList.cmake
+@@ -33,7 +33,7 @@ find_package(PkgConfig QUIET)
+ pkg_search_module(PC_libplist QUIET libplist-2.0 libplist)
+ 
+ find_path(PList_INCLUDE_DIRS NAMES plist/plist.h HINTS ${PC_libplist_INCLUDE_DIRS})
+-find_library(PList_LIBRARIES NAMES plist HINTS ${PC_libplist_LIBRARY_DIRS})
++find_library(PList_LIBRARIES NAMES plist-2.0 plist HINTS ${PC_libplist_LIBRARY_DIRS})
+ 
+ set(PList_VERSION ${PC_libplist_VERSION})
+ 



More information about the arch-commits mailing list