[arch-commits] Commit in konversation/repos (8 files)

Antonio Rojas arojas at archlinux.org
Mon Mar 16 22:23:47 UTC 2015


    Date: Monday, March 16, 2015 @ 23:23:47
  Author: arojas
Revision: 233961

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

Added:
  konversation/repos/kde-unstable-i686/
  konversation/repos/kde-unstable-i686/PKGBUILD
    (from rev 233960, konversation/kde-unstable/PKGBUILD)
  konversation/repos/kde-unstable-i686/konversation.install
    (from rev 233960, konversation/kde-unstable/konversation.install)
  konversation/repos/kde-unstable-i686/qca-qt5.patch
    (from rev 233960, konversation/kde-unstable/qca-qt5.patch)
  konversation/repos/kde-unstable-x86_64/
  konversation/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 233960, konversation/kde-unstable/PKGBUILD)
  konversation/repos/kde-unstable-x86_64/konversation.install
    (from rev 233960, konversation/kde-unstable/konversation.install)
  konversation/repos/kde-unstable-x86_64/qca-qt5.patch
    (from rev 233960, konversation/kde-unstable/qca-qt5.patch)

------------------------------------------+
 kde-unstable-i686/PKGBUILD               |   45 ++++++++++++++++++++
 kde-unstable-i686/konversation.install   |   12 +++++
 kde-unstable-i686/qca-qt5.patch          |   65 +++++++++++++++++++++++++++++
 kde-unstable-x86_64/PKGBUILD             |   45 ++++++++++++++++++++
 kde-unstable-x86_64/konversation.install |   12 +++++
 kde-unstable-x86_64/qca-qt5.patch        |   65 +++++++++++++++++++++++++++++
 6 files changed, 244 insertions(+)

Copied: konversation/repos/kde-unstable-i686/PKGBUILD (from rev 233960, konversation/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2015-03-16 22:23:47 UTC (rev 233961)
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 225717 2014-11-07 02:03:06Z foutrelis $
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: James Rayner <iphitus at gmail.com>
+# Contributor: Sergio Jovani Guzman <moret at paretux.org>
+
+pkgname=konversation
+pkgver=1.6beta1
+_pkgver=1.6-beta1
+pkgrel=1
+pkgdesc="A user friendly IRC client for KDE"
+arch=('i686' 'x86_64')
+url="http://konversation.kde.org"
+depends=('knotifyconfig' 'kemoticons' 'kparts' 'kidletime' 'qca-qt5' 'hicolor-icon-theme')
+optdepends=('python: python scripting support')
+makedepends=('git' 'extra-cmake-modules' 'kdoctools' 'python')
+license=('GPL2' 'FDL')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgname}/${_pkgver}/src/${pkgname}-${_pkgver}.tar.xz" 'qca-qt5.patch')
+sha1sums=('564bdc092cbdce1c0a9cf1e5362d4956c059c6f3'
+          '500739fc7d66aa812909e3fc805b363f50c971dd')
+
+prepare() {
+  mkdir -p build
+
+# fix linking to Qca
+  cd $pkgname-$_pkgver
+  patch -p1 -i "$srcdir"/qca-qt5.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${_pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: konversation/repos/kde-unstable-i686/konversation.install (from rev 233960, konversation/kde-unstable/konversation.install)
===================================================================
--- kde-unstable-i686/konversation.install	                        (rev 0)
+++ kde-unstable-i686/konversation.install	2015-03-16 22:23:47 UTC (rev 233961)
@@ -0,0 +1,12 @@
+post_install() {
+   xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+   update-desktop-database -q
+}
+
+post_upgrade() {
+   post_install
+}
+
+post_remove() {
+   post_install
+}

Copied: konversation/repos/kde-unstable-i686/qca-qt5.patch (from rev 233960, konversation/kde-unstable/qca-qt5.patch)
===================================================================
--- kde-unstable-i686/qca-qt5.patch	                        (rev 0)
+++ kde-unstable-i686/qca-qt5.patch	2015-03-16 22:23:47 UTC (rev 233961)
@@ -0,0 +1,65 @@
+From: Harald Sitter <sitter at kde.org>
+Date: Tue, 13 Jan 2015 12:45:02 +0000
+Subject: use co-installable qca-qt5 version
+X-Git-Url: http://quickgit.kde.org/?p=konversation.git&a=commitdiff&h=3aa918b5e3ac0f90a76d55c2bab12fafcbb1279b
+---
+use co-installable qca-qt5 version
+
+REVIEW: 122031
+---
+
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -44,9 +44,9 @@
+ find_package(Phonon4Qt5 4.6.60 REQUIRED)
+ include_directories(${PHONON_INCLUDES})
+ 
+-find_package(Qca 2.1.0)
+-set_package_properties(Qca PROPERTIES DESCRIPTION "Support for encryption"
+-                       URL "http://delta.affinix.com/qca"
++find_package(Qca-qt5 2.1.0)
++set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Support for encryption"
++                       URL "http://download.kde.org/stable/qca-qt5/"
+                        TYPE OPTIONAL)
+ check_include_file("stropts.h" HAVE_STROPTS_H)
+ check_include_file("byteswap.h" HAVE_BYTESWAP_H)
+@@ -55,7 +55,7 @@
+ configure_file(config-konversation.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-konversation.h )
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ 
+-set(HAVE_QCA2 ${Qca_FOUND})
++set(HAVE_QCA2 ${Qca-qt5_FOUND})
+ 
+ add_definitions(
+   -DQT_USE_QSTRINGBUILDER
+
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -185,10 +185,10 @@
+      dcc/whiteboardfontchooserui.ui
+ )
+ 
+-if (Qca_FOUND)
++if (Qca-qt5_FOUND)
+     set(cipher_SRCS
+         cipher.cpp)
+-endif (Qca_FOUND)
++endif (Qca-qt5_FOUND)
+ 
+ set(upnp_SRCS
+     upnp/soap.cpp
+@@ -235,9 +235,9 @@
+     KF5::ItemViews
+     Phonon::phonon4qt5)
+ 
+-if (Qca_FOUND)
+-    target_link_libraries(konversation qca)
+-endif (Qca_FOUND)
++if (Qca-qt5_FOUND)
++    target_link_libraries(konversation qca-qt5)
++endif ()
+ 
+ install(TARGETS konversation ${INSTALL_TARGETS_DEFAULT_ARGS})
+ 
+

Copied: konversation/repos/kde-unstable-x86_64/PKGBUILD (from rev 233960, konversation/kde-unstable/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2015-03-16 22:23:47 UTC (rev 233961)
@@ -0,0 +1,45 @@
+# $Id: PKGBUILD 225717 2014-11-07 02:03:06Z foutrelis $
+# Maintainer: Tom Gundersen <teg at jklm.no>
+# Contributor: Stéphane Gaudreault <stephane at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: James Rayner <iphitus at gmail.com>
+# Contributor: Sergio Jovani Guzman <moret at paretux.org>
+
+pkgname=konversation
+pkgver=1.6beta1
+_pkgver=1.6-beta1
+pkgrel=1
+pkgdesc="A user friendly IRC client for KDE"
+arch=('i686' 'x86_64')
+url="http://konversation.kde.org"
+depends=('knotifyconfig' 'kemoticons' 'kparts' 'kidletime' 'qca-qt5' 'hicolor-icon-theme')
+optdepends=('python: python scripting support')
+makedepends=('git' 'extra-cmake-modules' 'kdoctools' 'python')
+license=('GPL2' 'FDL')
+install=${pkgname}.install
+source=("http://download.kde.org/unstable/${pkgname}/${_pkgver}/src/${pkgname}-${_pkgver}.tar.xz" 'qca-qt5.patch')
+sha1sums=('564bdc092cbdce1c0a9cf1e5362d4956c059c6f3'
+          '500739fc7d66aa812909e3fc805b363f50c971dd')
+
+prepare() {
+  mkdir -p build
+
+# fix linking to Qca
+  cd $pkgname-$_pkgver
+  patch -p1 -i "$srcdir"/qca-qt5.patch
+}
+
+build() {
+  cd build
+  cmake ../${pkgname}-${_pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DLIB_INSTALL_DIR=lib \
+    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR="${pkgdir}" install
+}

Copied: konversation/repos/kde-unstable-x86_64/konversation.install (from rev 233960, konversation/kde-unstable/konversation.install)
===================================================================
--- kde-unstable-x86_64/konversation.install	                        (rev 0)
+++ kde-unstable-x86_64/konversation.install	2015-03-16 22:23:47 UTC (rev 233961)
@@ -0,0 +1,12 @@
+post_install() {
+   xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+   update-desktop-database -q
+}
+
+post_upgrade() {
+   post_install
+}
+
+post_remove() {
+   post_install
+}

Copied: konversation/repos/kde-unstable-x86_64/qca-qt5.patch (from rev 233960, konversation/kde-unstable/qca-qt5.patch)
===================================================================
--- kde-unstable-x86_64/qca-qt5.patch	                        (rev 0)
+++ kde-unstable-x86_64/qca-qt5.patch	2015-03-16 22:23:47 UTC (rev 233961)
@@ -0,0 +1,65 @@
+From: Harald Sitter <sitter at kde.org>
+Date: Tue, 13 Jan 2015 12:45:02 +0000
+Subject: use co-installable qca-qt5 version
+X-Git-Url: http://quickgit.kde.org/?p=konversation.git&a=commitdiff&h=3aa918b5e3ac0f90a76d55c2bab12fafcbb1279b
+---
+use co-installable qca-qt5 version
+
+REVIEW: 122031
+---
+
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -44,9 +44,9 @@
+ find_package(Phonon4Qt5 4.6.60 REQUIRED)
+ include_directories(${PHONON_INCLUDES})
+ 
+-find_package(Qca 2.1.0)
+-set_package_properties(Qca PROPERTIES DESCRIPTION "Support for encryption"
+-                       URL "http://delta.affinix.com/qca"
++find_package(Qca-qt5 2.1.0)
++set_package_properties(Qca-qt5 PROPERTIES DESCRIPTION "Support for encryption"
++                       URL "http://download.kde.org/stable/qca-qt5/"
+                        TYPE OPTIONAL)
+ check_include_file("stropts.h" HAVE_STROPTS_H)
+ check_include_file("byteswap.h" HAVE_BYTESWAP_H)
+@@ -55,7 +55,7 @@
+ configure_file(config-konversation.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-konversation.h )
+ include_directories(${CMAKE_CURRENT_BINARY_DIR})
+ 
+-set(HAVE_QCA2 ${Qca_FOUND})
++set(HAVE_QCA2 ${Qca-qt5_FOUND})
+ 
+ add_definitions(
+   -DQT_USE_QSTRINGBUILDER
+
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -185,10 +185,10 @@
+      dcc/whiteboardfontchooserui.ui
+ )
+ 
+-if (Qca_FOUND)
++if (Qca-qt5_FOUND)
+     set(cipher_SRCS
+         cipher.cpp)
+-endif (Qca_FOUND)
++endif (Qca-qt5_FOUND)
+ 
+ set(upnp_SRCS
+     upnp/soap.cpp
+@@ -235,9 +235,9 @@
+     KF5::ItemViews
+     Phonon::phonon4qt5)
+ 
+-if (Qca_FOUND)
+-    target_link_libraries(konversation qca)
+-endif (Qca_FOUND)
++if (Qca-qt5_FOUND)
++    target_link_libraries(konversation qca-qt5)
++endif ()
+ 
+ install(TARGETS konversation ${INSTALL_TARGETS_DEFAULT_ARGS})
+ 
+



More information about the arch-commits mailing list