[arch-commits] Commit in kadu/repos (6 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Fri Feb 27 06:23:20 UTC 2015
Date: Friday, February 27, 2015 @ 07:23:20
Author: bpiotrowski
Revision: 128341
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 128340, kadu/trunk/PKGBUILD)
kadu/repos/community-testing-i686/kadu.install
(from rev 128340, kadu/trunk/kadu.install)
kadu/repos/community-testing-x86_64/
kadu/repos/community-testing-x86_64/PKGBUILD
(from rev 128340, kadu/trunk/PKGBUILD)
kadu/repos/community-testing-x86_64/kadu.install
(from rev 128340, kadu/trunk/kadu.install)
---------------------------------------+
community-testing-i686/PKGBUILD | 43 ++++++++++++++++++++++++++++++++
community-testing-i686/kadu.install | 12 ++++++++
community-testing-x86_64/PKGBUILD | 43 ++++++++++++++++++++++++++++++++
community-testing-x86_64/kadu.install | 12 ++++++++
4 files changed, 110 insertions(+)
Copied: kadu/repos/community-testing-i686/PKGBUILD (from rev 128340, kadu/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-02-27 06:23:20 UTC (rev 128341)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
+
+pkgname=kadu
+pkgver=2.0
+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-ossl' 'qca-qt5' 'libidn'
+ 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 'qt5-multimedia'
+ 'qt5-quick1' 'qt5-declarative' 'qt5-webkit' 'qt5-x11extras')
+makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja'
+ 'qt5-tools')
+install=kadu.install
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
+md5sums=('7239fab871f32082a7cf27433219b08b')
+
+prepare() {
+ sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake
+ sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake
+}
+
+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 128340, kadu/trunk/kadu.install)
===================================================================
--- community-testing-i686/kadu.install (rev 0)
+++ community-testing-i686/kadu.install 2015-02-27 06:23:20 UTC (rev 128341)
@@ -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-x86_64/PKGBUILD (from rev 128340, kadu/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2015-02-27 06:23:20 UTC (rev 128341)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Mateusz Herych
+# Contributor: Jaroslaw Swierczynski <swiergot at aur.archlinux.org>
+
+pkgname=kadu
+pkgver=2.0
+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-ossl' 'qca-qt5' 'libidn'
+ 'libmpdclient' 'libotr' 'libarchive' 'injeqt' 'xdg-utils' 'qt5-multimedia'
+ 'qt5-quick1' 'qt5-declarative' 'qt5-webkit' 'qt5-x11extras')
+makedepends=('cmake' 'libao' 'libsndfile' 'libxtst' 'curl' 'chrpath' 'ninja'
+ 'qt5-tools')
+install=kadu.install
+source=(http://download.kadu.im/stable/$pkgname-$pkgver.tar.bz2)
+md5sums=('7239fab871f32082a7cf27433219b08b')
+
+prepare() {
+ sed -i 's/unity_integration//g' $pkgname-$pkgver/Plugins.cmake
+ sed -i 's/indicator_docking//g' $pkgname-$pkgver/Plugins.cmake
+}
+
+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-x86_64/kadu.install (from rev 128340, kadu/trunk/kadu.install)
===================================================================
--- community-testing-x86_64/kadu.install (rev 0)
+++ community-testing-x86_64/kadu.install 2015-02-27 06:23:20 UTC (rev 128341)
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+
More information about the arch-commits
mailing list