[arch-commits] Commit in kadu/repos (10 files)

2015-12-07 Thread Felix Yan
Date: Monday, December 7, 2015 @ 09:27:54
  Author: fyan
Revision: 149759

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  kadu/repos/community-staging-i686/
  kadu/repos/community-staging-i686/PKGBUILD
(from rev 149756, kadu/trunk/PKGBUILD)
  kadu/repos/community-staging-i686/kadu.install
(from rev 149756, kadu/trunk/kadu.install)
  kadu/repos/community-staging-i686/qdatastream.patch
(from rev 149756, kadu/trunk/qdatastream.patch)
  kadu/repos/community-staging-i686/qt_dock_icon.patch
(from rev 149756, kadu/trunk/qt_dock_icon.patch)
  kadu/repos/community-staging-x86_64/
  kadu/repos/community-staging-x86_64/PKGBUILD
(from rev 149758, kadu/trunk/PKGBUILD)
  kadu/repos/community-staging-x86_64/kadu.install
(from rev 149758, kadu/trunk/kadu.install)
  kadu/repos/community-staging-x86_64/qdatastream.patch
(from rev 149758, kadu/trunk/qdatastream.patch)
  kadu/repos/community-staging-x86_64/qt_dock_icon.patch
(from rev 149758, kadu/trunk/qt_dock_icon.patch)

-+
 community-staging-i686/PKGBUILD |   55 ++
 community-staging-i686/kadu.install |   12 +
 community-staging-i686/qdatastream.patch|   11 +
 community-staging-i686/qt_dock_icon.patch   |   31 ++
 community-staging-x86_64/PKGBUILD   |   55 ++
 community-staging-x86_64/kadu.install   |   12 +
 community-staging-x86_64/qdatastream.patch  |   11 +
 community-staging-x86_64/qt_dock_icon.patch |   31 ++
 8 files changed, 218 insertions(+)

Copied: kadu/repos/community-staging-i686/PKGBUILD (from rev 149756, 
kadu/trunk/PKGBUILD)
===
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-12-07 08:27:54 UTC (rev 149759)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski 
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski 
+
+pkgname=kadu
+pkgver=2.1
+pkgrel=3
+pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
+arch=('i686' 'x86_64')
+url='http://www.kadu.net/'
+license=('GPL')
+depends=('libgadu' 'libxss' 'enchant' 'phonon-qt5' 'qca-qt5' 'libidn'
+ 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 
'qt5-multimedia'
+ 'qt5-quick1' 'qt5-x11extras' 'qt5-svg' 'hicolor-icon-theme')
+makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja'
+ 'qt5-tools')
+install=kadu.install
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2 
qdatastream.patch qt_dock_icon.patch)
+md5sums=('b40f95123b1167c51c26bee8d56577d2'
+ '289814966b21db02efab4125eec41b74'
+ '961d79dbbf5ec5827b8cda424773b9c8')
+
+prepare() {
+  sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake
+  sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake
+
+# Fix build with coinstallable Qca-qt5
+  sed -i 's|||g' 
$pkgname-$pkgver/kadu-core/main.cpp
+
+# Fix build with Qt 5.5
+  cd $pkgname-$pkgver
+  patch -p1 -i "$srcdir"/qdatastream.patch
+
+# Fix tray icon in Plasma 5 http://www.kadu.im/redmine/issues/3020
+  patch -p2 -i "$srcdir"/qt_dock_icon.patch
+}
+
+build() {
+  mkdir build
+  cd build
+
+  cmake ../$pkgname-$pkgver \
+-GNinja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DQT_QMAKE_EXECUTABLE=qmake-qt4
+  ninja
+}
+
+package() {
+  DESTDIR="$pkgdir" LIBDIR=/usr/lib ninja -C build install
+  chrpath -d "$pkgdir"/usr/lib/kadu/plugins/*.so
+}

Copied: kadu/repos/community-staging-i686/kadu.install (from rev 149756, 
kadu/trunk/kadu.install)
===
--- community-staging-i686/kadu.install (rev 0)
+++ community-staging-i686/kadu.install 2015-12-07 08:27:54 UTC (rev 149759)
@@ -0,0 +1,12 @@
+post_install() {
+xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}
+

Copied: kadu/repos/community-staging-i686/qdatastream.patch (from rev 149756, 
kadu/trunk/qdatastream.patch)
===
--- community-staging-i686/qdatastream.patch(rev 0)
+++ community-staging-i686/qdatastream.patch2015-12-07 08:27:54 UTC (rev 
149759)
@@ -0,0 +1,11 @@
+diff -ru kadu-2.1.orig/kadu-core/os/single-application/single-application.cpp 
kadu-2.1/kadu-core/os/single-application/single-application.cpp
+--- kadu-2.1.orig/kadu-core/os/single-application/single-application.cpp   
2015-07-11 11:49:28.020701056 +0200
 kadu-2.1/kadu-core/os/single-application/single-application.cpp
2015-07-11 11:50:30.834040618 +0200
+@@ -26,6 +26,7 @@
+ #include 

[arch-commits] Commit in kadu/repos (10 files)

2015-07-11 Thread Antonio Rojas
Date: Saturday, July 11, 2015 @ 12:11:40
  Author: arojas
Revision: 136693

archrelease: copy trunk to community-i686, community-x86_64

Added:
  kadu/repos/community-i686/PKGBUILD
(from rev 136692, kadu/trunk/PKGBUILD)
  kadu/repos/community-i686/kadu.install
(from rev 136692, kadu/trunk/kadu.install)
  kadu/repos/community-i686/qdatastream.patch
(from rev 136692, kadu/trunk/qdatastream.patch)
  kadu/repos/community-x86_64/PKGBUILD
(from rev 136692, kadu/trunk/PKGBUILD)
  kadu/repos/community-x86_64/kadu.install
(from rev 136692, kadu/trunk/kadu.install)
  kadu/repos/community-x86_64/qdatastream.patch
(from rev 136692, kadu/trunk/qdatastream.patch)
Deleted:
  kadu/repos/community-i686/PKGBUILD
  kadu/repos/community-i686/kadu.install
  kadu/repos/community-x86_64/PKGBUILD
  kadu/repos/community-x86_64/kadu.install

+
 /PKGBUILD  |  102 +++
 /kadu.install  |   24 
 community-i686/PKGBUILD|   46 ---
 community-i686/kadu.install|   12 
 community-i686/qdatastream.patch   |   11 +++
 community-x86_64/PKGBUILD  |   46 ---
 community-x86_64/kadu.install  |   12 
 community-x86_64/qdatastream.patch |   11 +++
 8 files changed, 148 insertions(+), 116 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-07-11 10:10:15 UTC (rev 136692)
+++ community-i686/PKGBUILD 2015-07-11 10:11:40 UTC (rev 136693)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
-# Contributor: Mateusz Herych
-# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
-
-pkgname=kadu
-pkgver=2.1
-pkgrel=1
-pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
-arch=('i686' 'x86_64')
-url='http://www.kadu.net/'
-license=('GPL')
-depends=('libgadu' 'libxss' 'enchant' 'phonon-qt5' 'qca-qt5' 'libidn'
- 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 
'qt5-multimedia'
- 'qt5-quick1' 'qt5-x11extras' 'qt5-svg' 'hicolor-icon-theme')
-makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja'
- 'qt5-tools')
-install=kadu.install
-source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
-md5sums=('b40f95123b1167c51c26bee8d56577d2')
-
-prepare() {
-  sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake
-  sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake
-
-# Fix build with coinstallable Qca-qt5
-  sed -i 's|QtCrypto/QtCrypto|Qca-qt5/QtCrypto/QtCrypto|g' 
$pkgname-$pkgver/kadu-core/main.cpp
-}
-
-build() {
-  mkdir build
-  cd build
-
-  cmake ../$pkgname-$pkgver \
--GNinja \
--DCMAKE_BUILD_TYPE=Release \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=/usr/lib \
--DQT_QMAKE_EXECUTABLE=qmake-qt4
-  ninja
-}
-
-package() {
-  DESTDIR=$pkgdir LIBDIR=/usr/lib ninja -C build install
-  chrpath -d $pkgdir/usr/lib/kadu/plugins/*.so
-}

Copied: kadu/repos/community-i686/PKGBUILD (from rev 136692, 
kadu/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-07-11 10:11:40 UTC (rev 136693)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
+
+pkgname=kadu
+pkgver=2.1
+pkgrel=1
+pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
+arch=('i686' 'x86_64')
+url='http://www.kadu.net/'
+license=('GPL')
+depends=('libgadu' 'libxss' 'enchant' 'phonon-qt5' 'qca-qt5' 'libidn'
+ 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 
'qt5-multimedia'
+ 'qt5-quick1' 'qt5-x11extras' 'qt5-svg' 'hicolor-icon-theme')
+makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja'
+ 'qt5-tools')
+install=kadu.install
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2 
qdatastream.patch)
+md5sums=('b40f95123b1167c51c26bee8d56577d2'
+ '289814966b21db02efab4125eec41b74')
+
+prepare() {
+  sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake
+  sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake
+
+# Fix build with coinstallable Qca-qt5
+  sed -i 's|QtCrypto/QtCrypto|Qca-qt5/QtCrypto/QtCrypto|g' 
$pkgname-$pkgver/kadu-core/main.cpp
+
+# Fix build with Qt 5.5
+  cd $pkgname-$pkgver
+  patch -p1 -i $srcdir/qdatastream.patch
+}
+
+build() {
+  mkdir build
+  cd build
+
+  cmake ../$pkgname-$pkgver \
+-GNinja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DQT_QMAKE_EXECUTABLE=qmake-qt4
+  ninja
+}
+
+package() {
+  DESTDIR=$pkgdir LIBDIR=/usr/lib ninja -C build install
+  chrpath -d 

[arch-commits] Commit in kadu/repos (10 files)

2015-07-11 Thread Antonio Rojas
Date: Saturday, July 11, 2015 @ 15:49:15
  Author: arojas
Revision: 136700

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  kadu/repos/community-testing-i686/
  kadu/repos/community-testing-i686/PKGBUILD
(from rev 136699, kadu/trunk/PKGBUILD)
  kadu/repos/community-testing-i686/kadu.install
(from rev 136699, kadu/trunk/kadu.install)
  kadu/repos/community-testing-i686/qdatastream.patch
(from rev 136699, kadu/trunk/qdatastream.patch)
  kadu/repos/community-testing-i686/qt_dock_icon.patch
(from rev 136699, kadu/trunk/qt_dock_icon.patch)
  kadu/repos/community-testing-x86_64/
  kadu/repos/community-testing-x86_64/PKGBUILD
(from rev 136699, kadu/trunk/PKGBUILD)
  kadu/repos/community-testing-x86_64/kadu.install
(from rev 136699, kadu/trunk/kadu.install)
  kadu/repos/community-testing-x86_64/qdatastream.patch
(from rev 136699, kadu/trunk/qdatastream.patch)
  kadu/repos/community-testing-x86_64/qt_dock_icon.patch
(from rev 136699, kadu/trunk/qt_dock_icon.patch)

-+
 community-testing-i686/PKGBUILD |   55 ++
 community-testing-i686/kadu.install |   12 +
 community-testing-i686/qdatastream.patch|   11 +
 community-testing-i686/qt_dock_icon.patch   |   31 ++
 community-testing-x86_64/PKGBUILD   |   55 ++
 community-testing-x86_64/kadu.install   |   12 +
 community-testing-x86_64/qdatastream.patch  |   11 +
 community-testing-x86_64/qt_dock_icon.patch |   31 ++
 8 files changed, 218 insertions(+)

Copied: kadu/repos/community-testing-i686/PKGBUILD (from rev 136699, 
kadu/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-07-11 13:49:15 UTC (rev 136700)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
+
+pkgname=kadu
+pkgver=2.1
+pkgrel=2
+pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
+arch=('i686' 'x86_64')
+url='http://www.kadu.net/'
+license=('GPL')
+depends=('libgadu' 'libxss' 'enchant' 'phonon-qt5' 'qca-qt5' 'libidn'
+ 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 
'qt5-multimedia'
+ 'qt5-quick1' 'qt5-x11extras' 'qt5-svg' 'hicolor-icon-theme')
+makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja'
+ 'qt5-tools')
+install=kadu.install
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2 
qdatastream.patch qt_dock_icon.patch)
+md5sums=('b40f95123b1167c51c26bee8d56577d2'
+ '289814966b21db02efab4125eec41b74'
+ '961d79dbbf5ec5827b8cda424773b9c8')
+
+prepare() {
+  sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake
+  sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake
+
+# Fix build with coinstallable Qca-qt5
+  sed -i 's|QtCrypto/QtCrypto|Qca-qt5/QtCrypto/QtCrypto|g' 
$pkgname-$pkgver/kadu-core/main.cpp
+
+# Fix build with Qt 5.5
+  cd $pkgname-$pkgver
+  patch -p1 -i $srcdir/qdatastream.patch
+
+# Fix tray icon in Plasma 5 http://www.kadu.im/redmine/issues/3020
+  patch -p2 -i $srcdir/qt_dock_icon.patch
+}
+
+build() {
+  mkdir build
+  cd build
+
+  cmake ../$pkgname-$pkgver \
+-GNinja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DQT_QMAKE_EXECUTABLE=qmake-qt4
+  ninja
+}
+
+package() {
+  DESTDIR=$pkgdir LIBDIR=/usr/lib ninja -C build install
+  chrpath -d $pkgdir/usr/lib/kadu/plugins/*.so
+}

Copied: kadu/repos/community-testing-i686/kadu.install (from rev 136699, 
kadu/trunk/kadu.install)
===
--- community-testing-i686/kadu.install (rev 0)
+++ community-testing-i686/kadu.install 2015-07-11 13:49:15 UTC (rev 136700)
@@ -0,0 +1,12 @@
+post_install() {
+xdg-icon-resource forceupdate --theme hicolor  /dev/null
+}
+
+post_upgrade() {
+post_install
+}
+
+post_remove() {
+post_install
+}
+

Copied: kadu/repos/community-testing-i686/qdatastream.patch (from rev 136699, 
kadu/trunk/qdatastream.patch)
===
--- community-testing-i686/qdatastream.patch(rev 0)
+++ community-testing-i686/qdatastream.patch2015-07-11 13:49:15 UTC (rev 
136700)
@@ -0,0 +1,11 @@
+diff -ru kadu-2.1.orig/kadu-core/os/single-application/single-application.cpp 
kadu-2.1/kadu-core/os/single-application/single-application.cpp
+--- kadu-2.1.orig/kadu-core/os/single-application/single-application.cpp   
2015-07-11 11:49:28.020701056 +0200
 kadu-2.1/kadu-core/os/single-application/single-application.cpp
2015-07-11 11:50:30.834040618 +0200
+@@ 

[arch-commits] Commit in kadu/repos (10 files)

2015-01-18 Thread Bartłomiej Piotrowski
Date: Sunday, January 18, 2015 @ 18:54:40
  Author: bpiotrowski
Revision: 126115

archrelease: copy trunk to community-i686, community-x86_64

Added:
  kadu/repos/community-i686/PKGBUILD
(from rev 126114, kadu/trunk/PKGBUILD)
  
kadu/repos/community-i686/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch
(from rev 126114, 
kadu/trunk/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch)
  kadu/repos/community-i686/kadu.install
(from rev 126114, kadu/trunk/kadu.install)
  kadu/repos/community-x86_64/PKGBUILD
(from rev 126114, kadu/trunk/PKGBUILD)
  
kadu/repos/community-x86_64/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch
(from rev 126114, 
kadu/trunk/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch)
  kadu/repos/community-x86_64/kadu.install
(from rev 126114, kadu/trunk/kadu.install)
Deleted:
  kadu/repos/community-i686/PKGBUILD
  kadu/repos/community-i686/kadu.install
  kadu/repos/community-x86_64/PKGBUILD
  kadu/repos/community-x86_64/kadu.install

--+
 /PKGBUILD| 
  86 ++
 /kadu.install| 
  24 ++
 community-i686/PKGBUILD  | 
  36 
 community-i686/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch   | 
  48 +
 community-i686/kadu.install  | 
  12 -
 community-x86_64/PKGBUILD| 
  36 
 community-x86_64/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch | 
  48 +
 community-x86_64/kadu.install| 
  12 -
 8 files changed, 206 insertions(+), 96 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2015-01-18 17:54:25 UTC (rev 126114)
+++ community-i686/PKGBUILD 2015-01-18 17:54:40 UTC (rev 126115)
@@ -1,36 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
-# Contributor: Mateusz Herych
-# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
-
-pkgname=kadu
-pkgver=1.3
-pkgrel=1
-pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
-arch=('i686' 'x86_64')
-url='http://www.kadu.net/'
-license=('GPL')
-depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl' 'libidn'
- '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')
-
-build() {
-  mkdir build
-  cd build
-
-  cmake ../$pkgname-$pkgver \
--GNinja \
--DCMAKE_BUILD_TYPE=Release \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=/usr/lib \
--DQT_QMAKE_EXECUTABLE=qmake-qt4
-  ninja
-}
-
-package() {
-  DESTDIR=$pkgdir LIBDIR=/usr/lib ninja -C build install
-  chrpath -d $pkgdir/usr/lib/kadu/plugins/*.so
-}

Copied: kadu/repos/community-i686/PKGBUILD (from rev 126114, 
kadu/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-01-18 17:54:40 UTC (rev 126115)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
+
+pkgname=kadu
+pkgver=1.5
+pkgrel=1
+pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
+arch=('i686' 'x86_64')
+url='http://www.kadu.net/'
+license=('GPL')
+depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl' 'libidn'
+ '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
+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
+
+  cmake ../$pkgname-$pkgver \
+-GNinja \
+-DCMAKE_BUILD_TYPE=Release \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DQT_QMAKE_EXECUTABLE=qmake-qt4
+  ninja
+}
+
+package() {
+  DESTDIR=$pkgdir LIBDIR=/usr/lib ninja -C build install
+  chrpath -d $pkgdir/usr/lib/kadu/plugins/*.so
+}

Copied: 
kadu/repos/community-i686/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch
 (from rev 126114, 
kadu/trunk/kadu-1.5-Rename-INSTALL-PREFIX-to-KADU_INSTALL_PREFIX.patch)

[arch-commits] Commit in kadu/repos (10 files)

2014-02-24 Thread Bartłomiej Piotrowski
Date: Monday, February 24, 2014 @ 19:01:27
  Author: bpiotrowski
Revision: 106173

archrelease: copy trunk to community-i686, community-x86_64

Added:
  kadu/repos/community-i686/PKGBUILD
(from rev 106172, kadu/trunk/PKGBUILD)
  kadu/repos/community-i686/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch
(from rev 106172, kadu/trunk/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch)
  kadu/repos/community-i686/kadu.install
(from rev 106172, kadu/trunk/kadu.install)
  kadu/repos/community-x86_64/PKGBUILD
(from rev 106172, kadu/trunk/PKGBUILD)
  kadu/repos/community-x86_64/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch
(from rev 106172, kadu/trunk/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch)
  kadu/repos/community-x86_64/kadu.install
(from rev 106172, kadu/trunk/kadu.install)
Deleted:
  kadu/repos/community-i686/PKGBUILD
  kadu/repos/community-i686/kadu.install
  kadu/repos/community-x86_64/PKGBUILD
  kadu/repos/community-x86_64/kadu.install

---+
 /PKGBUILD |   90 
 /kadu.install |   24 +++
 community-i686/PKGBUILD   |   40 -
 community-i686/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch   |   12 +
 community-i686/kadu.install   |   12 -
 community-x86_64/PKGBUILD |   40 -
 community-x86_64/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch |   12 +
 community-x86_64/kadu.install |   12 -
 8 files changed, 138 insertions(+), 104 deletions(-)

Deleted: community-i686/PKGBUILD
===
--- community-i686/PKGBUILD 2014-02-24 18:01:17 UTC (rev 106172)
+++ community-i686/PKGBUILD 2014-02-24 18:01:27 UTC (rev 106173)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer:  Bartłomiej Piotrowski nos...@bpiotrowski.pl
-# Contributor: Mateusz Herych
-# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
-
-pkgname=kadu
-pkgver=0.12.3
-pkgrel=3
-pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
-arch=('i686' 'x86_64')
-url='http://www.kadu.net/'
-license=('GPL')
-depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl'
- 'libidn' 'libmpdclient' 'qtwebkit' 'xdg-utils')
-makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'optipng')
-install=kadu.install
-source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
-sha256sums=('d607bbd0d00b01bfb70dd15f15c8be4076896a935041651e67a3887ad12ab8a8')
-
-prepare() {
-  find -name '*.png' -exec optipng -quiet -force -fix {} +
-}
-
-build() {
-  mkdir build
-  cd build
-
-  cmake ../$pkgname-$pkgver \
--DCMAKE_INSTALL_PREFIX=/usr \
--DCMAKE_INSTALL_LIBDIR=/usr/lib
-  make
-}
-
-package() {
-  cd build
-  make DESTDIR=$pkgdir LIBDIR=/usr/lib install
-
-  mv $pkgdir/usr/sdk $pkgdir/usr/share/kadu/sdk
-  rm -rf $pkgdir/usr/{lib,include}/{libgadu*,pkgconfig}
-}

Copied: kadu/repos/community-i686/PKGBUILD (from rev 106172, 
kadu/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-02-24 18:01:27 UTC (rev 106173)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski bpiotrow...@archlinux.org
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski swier...@aur.archlinux.org
+
+pkgname=kadu
+pkgver=0.12.3
+pkgrel=4
+pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
+arch=('i686' 'x86_64')
+url='http://www.kadu.net/'
+license=('GPL')
+depends=('libgadu' 'libxss' 'enchant' 'phonon' 'qca-ossl' 'libidn'
+ 'libmpdclient' 'qtwebkit' 'xdg-utils')
+makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'optipng')
+install=kadu.install
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2
+kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch)
+md5sums=('c5d6f0bd384cd96090819ea018eb8ad8'
+ '76e53a1f77699ba81c076f9254bb28c5')
+
+prepare() {
+  cd $pkgname-$pkgver
+  patch -p1 -i ../kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch
+  find -name '*.png' -exec optipng -quiet -force -fix {} +
+}
+
+build() {
+  mkdir build
+  cd build
+
+  cmake ../$pkgname-$pkgver \
+-DCMAKE_INSTALL_PREFIX=/usr \
+-DCMAKE_INSTALL_LIBDIR=/usr/lib \
+-DQT_QMAKE_EXECUTABLE=qmake-qt4
+  make
+}
+
+package() {
+  cd build
+  make DESTDIR=$pkgdir LIBDIR=/usr/lib install
+
+  mv $pkgdir/usr/sdk $pkgdir/usr/share/kadu/sdk
+  rm -rf $pkgdir/usr/{lib,include}/{libgadu*,pkgconfig}
+}

Copied: kadu/repos/community-i686/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch 
(from rev 106172, kadu/trunk/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch)
===
--- community-i686/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch 
(rev 0)
+++ community-i686/kadu-0.12.3-QT4_CREATE_MOC_COMMAND.patch 2014-02-24 
18:01:27 UTC (rev