[arch-commits] Commit in kadu/trunk (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Jan 18 17:54:25 UTC 2015


    Date: Sunday, January 18, 2015 @ 18:54:25
  Author: bpiotrowski
Revision: 126114

upgpkg: kadu 1.5-1

new upstream release

Added:
  kadu/trunk/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch
Modified:
  kadu/trunk/PKGBUILD

-------------------------------------------------------------+
 PKGBUILD                                                    |   13 ++
 kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch |   48 ++++++++++
 2 files changed, 58 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-01-18 16:30:28 UTC (rev 126113)
+++ PKGBUILD	2015-01-18 17:54:25 UTC (rev 126114)
@@ -4,7 +4,7 @@
 # Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
 
 pkgname=kadu
-pkgver=1.3
+pkgver=1.5
 pkgrel=1
 pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
 arch=('i686' 'x86_64')
@@ -14,9 +14,16 @@
          'libmpdclient' 'qtwebkit' 'xdg-utils' 'libotr' 'libarchive')
 makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja')
 install=kadu.install
-source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
-md5sums=('2ec969746c5ff90f922a0fd3bddf9f22')
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2
+        kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch)
+md5sums=('bfc653bc3a5b542877a299209db6adaf'
+         'd706ee1839c629bc8cb06153211b2630')
 
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch
+}
+
 build() {
   mkdir build
   cd build

Added: kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch
===================================================================
--- kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch	                        (rev 0)
+++ kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch	2015-01-18 17:54:25 UTC (rev 126114)
@@ -0,0 +1,48 @@
+From bb925f636a8a3f662ef2a5f2826a7e0138dba266 Mon Sep 17 00:00:00 2001
+From: Raphael Kubo da Costa <rakuco at FreeBSD.org>
+Date: Wed, 31 Dec 2014 01:15:28 +0200
+Subject: [PATCH] Rename INSTALL_PREFIX to KADU_INSTALL_PREFIX.
+
+In CMake 3.1.0, INSTALL_PREFIX is now an optional argument to
+configure_package_config_file(), so our call was confusing the
+function's argument parsing code.
+
+Fix it by renaming INSTALL_PREFIX to KADU_INSTALL_PREFIX.
+
+Signed-off-by: Raphael Kubo da Costa <rakuco at FreeBSD.org>
+---
+ CMakeLists.txt            |    4 ++--
+ cmake/KaduConfig.cmake.in |    2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index ef624a9..3f23c71 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -195,8 +195,8 @@ foreach (install_var ${install_vars})
+ 	endif ()
+ endforeach ()
+ 
+-set (INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
+-set (path_vars INSTALL_PREFIX)
++set (KADU_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
++set (path_vars KADU_INSTALL_PREFIX)
+ if (UNIX AND NOT APPLE)
+ 	list (APPEND path_vars DESKTOP_FILE_DIR)
+ endif ()
+diff --git a/cmake/KaduConfig.cmake.in b/cmake/KaduConfig.cmake.in
+index 2e22aa4..6a3c683 100644
+--- a/cmake/KaduConfig.cmake.in
++++ b/cmake/KaduConfig.cmake.in
+@@ -20,7 +20,7 @@ endif ()
+ set (KADU_INCLUDE_DIR "@PACKAGE_INCLUDE_DIR@")
+ set (KADU_INCLUDE_DIRS "@PACKAGE_INCLUDE_DIR@" "@PACKAGE_INCLUDE_DIR@/kadu-core")
+ set (KADU_SDK_DIR "@PACKAGE_SDK_DIR@")
+-set (KADU_INSTALL_PREFIX "@PACKAGE_INSTALL_PREFIX@")
++set (KADU_INSTALL_PREFIX "@PACKAGE_KADU_INSTALL_PREFIX@")
+ 
+ set (KADU_INSTALL_SDK "@INSTALL_SDK@")
+ 
+-- 
+1.7.1
+



More information about the arch-commits mailing list