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

Antonio Rojas arojas at gemini.archlinux.org
Sat Mar 19 00:03:20 UTC 2022


    Date: Saturday, March 19, 2022 @ 00:03:20
  Author: arojas
Revision: 440134

archrelease: copy kde-unstable to kde-unstable-x86_64

Added:
  kget/repos/kde-unstable-x86_64/
  kget/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 440133, kget/kde-unstable/PKGBUILD)
  kget/repos/kde-unstable-x86_64/kget-sqlite.patch
    (from rev 440133, kget/kde-unstable/kget-sqlite.patch)

-------------------+
 PKGBUILD          |   38 ++++++++++++++++++++++++++++++++++++++
 kget-sqlite.patch |   24 ++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

Copied: kget/repos/kde-unstable-x86_64/PKGBUILD (from rev 440133, kget/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2022-03-19 00:03:20 UTC (rev 440134)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kget
+pkgver=22.03.80
+pkgrel=1
+pkgdesc='Download Manager'
+url='https://apps.kde.org/kget/'
+arch=(x86_64)
+license=(GPL LGPL FDL)
+groups=(kde-applications kde-network)
+depends=(qca-qt5 qgpgme plasma-workspace)
+makedepends=(extra-cmake-modules boost libktorrent libmms kdoctools)
+optdepends=('libktorrent: torrent support' 'libmms: MMS support')
+source=(https://download.kde.org/unstable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        kget-sqlite.patch)
+sha256sums=('bd77fcac40708681ce534c19c3a82f536142c4b5e7fa6ba92d5ab390a3c513d2'
+            'SKIP'
+            'c6f626869fcdd42b6ebe8453f4516368a653c8f5e29a4db2e9f0d93d4411b833')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid at kde.org>
+              F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck at kde.org>
+              D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker at kde.org>
+options=(debug)
+
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < kget-sqlite.patch # Fix sqlite detection
+}
+
+build() {
+  cmake -B build -S $pkgname-$pkgver \
+    -DBUILD_TESTING=OFF
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}

Copied: kget/repos/kde-unstable-x86_64/kget-sqlite.patch (from rev 440133, kget/kde-unstable/kget-sqlite.patch)
===================================================================
--- kde-unstable-x86_64/kget-sqlite.patch	                        (rev 0)
+++ kde-unstable-x86_64/kget-sqlite.patch	2022-03-19 00:03:20 UTC (rev 440134)
@@ -0,0 +1,24 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 64e57148..bd37d0ed 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -73,8 +73,8 @@ if(WIN32)
+    set(CMAKE_REQUIRED_INCLUDES  ${KDEWIN32_INCLUDES})
+ endif()
+ 
+-find_package(Sqlite)
+-set_package_properties(Sqlite PROPERTIES
++find_package(SQLite3)
++set_package_properties(SQLite3 PROPERTIES
+     DESCRIPTION "SQLite is a Binary-Database"
+     TYPE RECOMMENDED
+     PURPOSE "Needed for the SQLite-Backend of the KGet-History"
+@@ -161,7 +161,7 @@ include_directories(
+     ${CMAKE_CURRENT_BINARY_DIR}/core/
+ )
+ 
+-if(SQLITE_FOUND)
++if(SQLite3_FOUND)
+     add_definitions(-DHAVE_SQLITE)
+ endif()
+ 



More information about the arch-commits mailing list