[arch-commits] Commit in kdenetwork-kopete/repos/kde-unstable-x86_64 (5 files)

2017-03-27 Thread Antonio Rojas
Date: Monday, March 27, 2017 @ 12:58:37
  Author: arojas
Revision: 291731

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

Added:
  kdenetwork-kopete/repos/kde-unstable-x86_64/PKGBUILD
(from rev 291730, kdenetwork-kopete/kde-unstable/PKGBUILD)
  kdenetwork-kopete/repos/kde-unstable-x86_64/kopete-mediastreamer2.14.patch
(from rev 291730, 
kdenetwork-kopete/kde-unstable/kopete-mediastreamer2.14.patch)
  kdenetwork-kopete/repos/kde-unstable-x86_64/kopete-pthread-link.patch
(from rev 291730, kdenetwork-kopete/kde-unstable/kopete-pthread-link.patch)
Deleted:
  kdenetwork-kopete/repos/kde-unstable-x86_64/PKGBUILD
  kdenetwork-kopete/repos/kde-unstable-x86_64/kopete-mediastreamer2.14.patch

+
 PKGBUILD   |  102 ---
 kopete-mediastreamer2.14.patch |  166 +++
 kopete-pthread-link.patch  |   12 ++
 3 files changed, 147 insertions(+), 133 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2017-03-27 12:57:50 UTC (rev 291730)
+++ PKGBUILD2017-03-27 12:58:37 UTC (rev 291731)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan 
-# Maintainer: Antonio Rojas 
-# Contributor: Andrea Scarpino 
-
-pkgname=kdenetwork-kopete
-pkgver=17.03.80
-pkgrel=1
-pkgdesc='Instant Messenger'
-url='https://kde.org/applications/internet/kopete/'
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-groups=('kde-applications' 'kdenetwork')
-depends=('kdebase-runtime' 'libotr' 'qimageblitz' 'kdepimlibs4')
-makedepends=('cmake' 'automoc4' 'boost' 'mediastreamer' 'libgadu' 'jsoncpp')
-optdepends=('mediastreamer: jingle support' 'libgadu: Gadu-Gadu protocol')
-source=("https://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz"{,.sig}
 
-kopete-mediastreamer2.14.patch)
-sha256sums=('c4037045790dc0bf5a153b553415d91851249d7a03661b16d3c379c500e659ef'
-'SKIP'
-'c34a268aaa058e563174581dbe37c15fed91e82326ec704d2a872463139865e0')
-validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 

-
-prepare() {
-  mkdir -p build
-
-# Fix build with mediastreamer 2.14
-  cd kopete-$pkgver
-  patch -p1 -i ../kopete-mediastreamer2.14.patch
-}
-
-build() {
-  cd build
-  cmake ../kopete-$pkgver \
--DCMAKE_BUILD_TYPE=Release \
--DKDE4_BUILD_TESTS=OFF \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_SKIP_RPATH=ON \
--DWITH_Libmsn=OFF \
--DWITH_libjingle=OFF
-#-DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
-#-DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \
-#-DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR="$pkgdir" install
-}

Copied: kdenetwork-kopete/repos/kde-unstable-x86_64/PKGBUILD (from rev 291730, 
kdenetwork-kopete/kde-unstable/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2017-03-27 12:58:37 UTC (rev 291731)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Maintainer: Antonio Rojas 
+# Contributor: Andrea Scarpino 
+
+pkgname=kdenetwork-kopete
+pkgver=17.03.80
+pkgrel=2
+pkgdesc='Instant Messenger'
+url='https://kde.org/applications/internet/kopete/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde-applications' 'kdenetwork')
+depends=('kdebase-runtime' 'libotr' 'qimageblitz' 'kdepimlibs4')
+makedepends=('cmake' 'automoc4' 'boost' 'mediastreamer' 'libgadu' 'jsoncpp')
+optdepends=('mediastreamer: jingle support' 'libgadu: Gadu-Gadu protocol')
+source=("https://download.kde.org/stable/applications/${pkgver}/src/kopete-${pkgver}.tar.xz"{,.sig}
 
+kopete-mediastreamer2.14.patch kopete-pthread-link.patch)
+sha256sums=('c4037045790dc0bf5a153b553415d91851249d7a03661b16d3c379c500e659ef'
+'SKIP'
+'c34a268aaa058e563174581dbe37c15fed91e82326ec704d2a872463139865e0'
+'a7ebdd8dd4336b7ec085ef254bf18040f473b73379a8cd84569b28441a6c71df')
+validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7) # Albert Astals Cid 

+
+prepare() {
+  mkdir -p build
+
+# Fix build with mediastreamer 2.14
+  cd kopete-$pkgver
+  patch -p1 -i ../kopete-mediastreamer2.14.patch
+# Fix linking to pthread in libjingle-call
+  patch -p1 -i ../kopete-pthread-link.patch
+}
+
+build() {
+  cd build
+  cmake ../kopete-$pkgver \
+-DCMAKE_BUILD_TYPE=Release \
+-DKDE4_BUILD_TESTS=OFF \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON \
+-DWITH_Libmsn=OFF \
+-DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
+-DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \
+-DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so
+  make
+}
+
+package() {
+  cd build
+  make 

[arch-commits] Commit in kdenetwork-kopete/repos/kde-unstable-x86_64 (5 files)

2013-06-15 Thread Andrea Scarpino
Date: Saturday, June 15, 2013 @ 18:16:46
  Author: andrea
Revision: 188570

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

Added:
  kdenetwork-kopete/repos/kde-unstable-x86_64/PKGBUILD
(from rev 188569, kdenetwork-kopete/kde-unstable/PKGBUILD)
  kdenetwork-kopete/repos/kde-unstable-x86_64/kdenetwork-kopete.install
(from rev 188569, kdenetwork-kopete/kde-unstable/kdenetwork-kopete.install)
  kdenetwork-kopete/repos/kde-unstable-x86_64/libotr3.patch
(from rev 188569, kdenetwork-kopete/kde-unstable/libotr3.patch)
  kdenetwork-kopete/repos/kde-unstable-x86_64/mediastreamer29.patch
(from rev 188569, kdenetwork-kopete/kde-unstable/mediastreamer29.patch)
Deleted:
  kdenetwork-kopete/repos/kde-unstable-x86_64/mediastreamer29.patch

---+
 PKGBUILD  |   43 ++
 kdenetwork-kopete.install |   12 +++
 libotr3.patch |   71 
 mediastreamer29.patch |   44 +--
 4 files changed, 148 insertions(+), 22 deletions(-)

Copied: kdenetwork-kopete/repos/kde-unstable-x86_64/PKGBUILD (from rev 188569, 
kdenetwork-kopete/kde-unstable/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2013-06-15 16:16:46 UTC (rev 188570)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Andrea Scarpino and...@archlinux.org
+
+pkgname=kdenetwork-kopete
+pkgver=4.10.80
+pkgrel=2
+pkgdesc='Instant Messenger'
+url='http://kde.org/applications/internet/kopete/'
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+groups=('kde' 'kdenetwork')
+depends=('kdebase-runtime' 'kdepimlibs' 'qca-ossl' 'libotr3' 'libmsn' 'libidn'
+ 'qimageblitz' 'libgadu' 'mediastreamer' 'jsoncpp')
+makedepends=('cmake' 'automoc4' 'boost')
+install=${pkgname}.install
+source=(http://download.kde.org/unstable/${pkgver}/src/kopete-${pkgver}.tar.xz;
+'libotr3.patch'
+'mediastreamer29.patch')
+sha1sums=('ee9fccbd612f821f5c1a02a0ec107b4faf4cc94c'
+  '9c3b0ee15538fbfa36aa0a4748b1f6b5a7905384'
+  '317683a5c2acd0a0058c5ab42f6006e9db511ef3')
+
+prepare() {
+  cd kopete-${pkgver}
+  patch -p2 -i ${srcdir}/libotr3.patch
+  patch -p1 -i ${srcdir}/mediastreamer29.patch
+}
+
+build() {
+  mkdir build
+  cd build
+  cmake ../kopete-${pkgver} \
+-DCMAKE_BUILD_TYPE=Release \
+-DKDE4_BUILD_TESTS=OFF \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_SKIP_RPATH=ON
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR=$pkgdir install
+}

Copied: kdenetwork-kopete/repos/kde-unstable-x86_64/kdenetwork-kopete.install 
(from rev 188569, kdenetwork-kopete/kde-unstable/kdenetwork-kopete.install)
===
--- kdenetwork-kopete.install   (rev 0)
+++ kdenetwork-kopete.install   2013-06-15 16:16:46 UTC (rev 188570)
@@ -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: kdenetwork-kopete/repos/kde-unstable-x86_64/libotr3.patch (from rev 
188569, kdenetwork-kopete/kde-unstable/libotr3.patch)
===
--- libotr3.patch   (rev 0)
+++ libotr3.patch   2013-06-15 16:16:46 UTC (rev 188570)
@@ -0,0 +1,71 @@
+diff -urN a/kopete/cmake/modules/FindLibOTR.cmake 
b/kopete/cmake/modules/FindLibOTR.cmake
+--- a/kopete/cmake/modules/FindLibOTR.cmake2012-08-12 18:08:59.0 
-0600
 b/kopete/cmake/modules/FindLibOTR.cmake2012-11-09 12:14:24.251450904 
-0700
+@@ -13,13 +13,13 @@
+ SET(LIBOTR_FIND_QUIETLY TRUE)
+ ENDIF (LIBOTR_INCLUDE_DIR AND LIBOTR_LIBRARY)
+ 
+-FIND_PATH(LIBOTR_INCLUDE_DIR libotr/version.h)
++FIND_PATH(LIBOTR_INCLUDE_DIR libotr3/version.h)
+ 
+-FIND_LIBRARY(LIBOTR_LIBRARY NAMES otr libotr)
++FIND_LIBRARY(LIBOTR_LIBRARY NAMES otr3 libotr3)
+ 
+-# Determine version information from libotr/version.h
++# Determine version information from libotr3/version.h
+ IF( LIBOTR_INCLUDE_DIR AND LIBOTR_LIBRARY )
+-  EXECUTE_PROCESS(COMMAND grep OTRL_VERSION 
${LIBOTR_INCLUDE_DIR}/libotr/version.h OUTPUT_VARIABLE output)
++  EXECUTE_PROCESS(COMMAND grep OTRL_VERSION 
${LIBOTR_INCLUDE_DIR}/libotr3/version.h OUTPUT_VARIABLE output)
+   STRING(REGEX MATCH OTRL_VERSION \[0-9]+\\.[0-9]+\\.[0-9]+ LIBOTR_VERSION 
${output})
+   STRING(REGEX REPLACE ^OTRL_VERSION \  LIBOTR_VERSION 
${LIBOTR_VERSION})
+   # Check if version is at least 3.2.0
+diff -urN a/kopete/plugins/otr/authenticationwizard.h 
b/kopete/plugins/otr/authenticationwizard.h
+--- a/kopete/plugins/otr/authenticationwizard.h2012-08-12 
18:09:00.0 -0600
 b/kopete/plugins/otr/authenticationwizard.h2012-11-09 
12:15:11.181265336 -0700
+@@ -26,7 +26,7 @@
+   */
+ 
+ extern C{
+-#include