[arch-commits] Commit in kwayland/trunk (PKGBUILD fix-pri.patch)
Antonio Rojas
arojas at gemini.archlinux.org
Sat May 14 16:29:06 UTC 2022
Date: Saturday, May 14, 2022 @ 16:29:05
Author: arojas
Revision: 445592
Fix include dir in the pri file
Added:
kwayland/trunk/fix-pri.patch
Modified:
kwayland/trunk/PKGBUILD
---------------+
PKGBUILD | 12 +++++++++---
fix-pri.patch | 12 ++++++++++++
2 files changed, 21 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-14 15:32:46 UTC (rev 445591)
+++ PKGBUILD 2022-05-14 16:29:05 UTC (rev 445592)
@@ -4,7 +4,7 @@
pkgname=kwayland
pkgver=5.94.0
-pkgrel=1
+pkgrel=2
pkgdesc='Qt-style Client and Server library wrapper for the Wayland libraries'
arch=(x86_64)
url='https://www.kde.org'
@@ -12,12 +12,18 @@
depends=(qt5-wayland)
makedepends=(extra-cmake-modules doxygen qt5-tools qt5-doc wayland-protocols plasma-wayland-protocols)
groups=(kf5)
-source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig}
+ fix-pri.patch)
sha256sums=('b2a4d8e1b4d81ce798c991cfb34210ba095f6406a37f4714ae3ab64abaca2636'
- 'SKIP')
+ 'SKIP'
+ 'ffb0188e44140a015b2a66a3d5ef230c1cada4cb640f80d9e0522855376d8e53')
validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <faure at kde.org>
options=(debug)
+prepare() {
+ patch -d $pkgname-$pkgver -p1 < fix-pri.patch # Fix include path in the pri file
+}
+
build() {
cmake -B build -S $pkgname-$pkgver \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
Added: fix-pri.patch
===================================================================
--- fix-pri.patch (rev 0)
+++ fix-pri.patch 2022-05-14 16:29:05 UTC (rev 445592)
@@ -0,0 +1,12 @@
+diff --git a/src/client/CMakeLists.txt b/src/client/CMakeLists.txt
+index 33d8c7e..ef6df30 100644
+--- a/src/client/CMakeLists.txt
++++ b/src/client/CMakeLists.txt
+@@ -332,6 +332,6 @@ set(KWaylandClient_APIDOX_SRCS ${CLIENT_LIB_HEADERS} PARENT_SCOPE)
+ set(KWaylandClient_APIDOX_BUILD_INCLUDE_DIRS ${CMAKE_CURRENT_BINARY_DIR} PARENT_SCOPE)
+
+ include(ECMGeneratePriFile)
+-ecm_generate_pri_file(BASE_NAME KWaylandClient LIB_NAME KF5WaylandClient DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF})
++ecm_generate_pri_file(BASE_NAME KWaylandClient LIB_NAME KF5WaylandClient DEPS "core" FILENAME_VAR PRI_FILENAME INCLUDE_INSTALL_DIR ${KDE_INSTALL_INCLUDEDIR_KF}/KWayland)
+ install(FILES ${PRI_FILENAME}
+ DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
More information about the arch-commits
mailing list