[arch-commits] Commit in telepathy-qt/repos (4 files)

Andrea Scarpino andrea at archlinux.org
Mon Oct 20 17:26:18 UTC 2014


    Date: Monday, October 20, 2014 @ 19:26:18
  Author: andrea
Revision: 225099

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

Added:
  telepathy-qt/repos/extra-i686/
  telepathy-qt/repos/extra-i686/PKGBUILD
    (from rev 225098, telepathy-qt/trunk/PKGBUILD)
  telepathy-qt/repos/extra-x86_64/
  telepathy-qt/repos/extra-x86_64/PKGBUILD
    (from rev 225098, telepathy-qt/trunk/PKGBUILD)

-----------------------+
 extra-i686/PKGBUILD   |   62 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-x86_64/PKGBUILD |   62 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

Copied: telepathy-qt/repos/extra-i686/PKGBUILD (from rev 225098, telepathy-qt/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2014-10-20 17:26:18 UTC (rev 225099)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=telepathy-qt
+pkgname=('telepathy-qt4' 'telepathy-qt5')
+pkgver=0.9.5
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://telepathy.freedesktop.org/wiki/"
+license=('LGPL')
+makedepends=('qt4' 'telepathy-farstream' 'libxslt' 'python2' 'cmake' 'doxygen' 'qt5-base')
+options=('staticlibs')
+source=("http://telepathy.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"{,.asc})
+md5sums=('22c0daa7e4f7e48e779f703c9b27b816'
+         'SKIP')
+
+prepare() {
+  mkdir build{,-qt4}
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DENABLE_EXAMPLES=OFF \
+    -DENABLE_TESTS=OFF
+  make
+  cd ..
+
+  cd build-qt4
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DDESIRED_QT_VERSION=4 \
+    -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
+    -DENABLE_EXAMPLES=OFF \
+    -DENABLE_TESTS=OFF
+  make
+}
+
+package_telepathy-qt4() {
+  pkgdesc="A library for Qt4-based Telepathy clients"
+  depends=('qt4' 'telepathy-farstream')
+  conflicts=('telepathy-qt4' 'telepathy-qt')
+  replaces=('telepathy-qt4' 'telepathy-qt')
+  provides=('telepathy-qt4' 'telepathy-qt')
+
+  cd build-qt4
+  make DESTDIR="$pkgdir" install
+}
+
+package_telepathy-qt5() {
+  pkgdesc="A library for Qt5-based Telepathy clients"
+  depends=('qt5-base' 'telepathy-farstream')
+
+  cd build
+  make DESTDIR="$pkgdir" install
+}

Copied: telepathy-qt/repos/extra-x86_64/PKGBUILD (from rev 225098, telepathy-qt/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2014-10-20 17:26:18 UTC (rev 225099)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=telepathy-qt
+pkgname=('telepathy-qt4' 'telepathy-qt5')
+pkgver=0.9.5
+pkgrel=1
+arch=('i686' 'x86_64')
+url="http://telepathy.freedesktop.org/wiki/"
+license=('LGPL')
+makedepends=('qt4' 'telepathy-farstream' 'libxslt' 'python2' 'cmake' 'doxygen' 'qt5-base')
+options=('staticlibs')
+source=("http://telepathy.freedesktop.org/releases/${pkgbase}/${pkgbase}-${pkgver}.tar.gz"{,.asc})
+md5sums=('22c0daa7e4f7e48e779f703c9b27b816'
+         'SKIP')
+
+prepare() {
+  mkdir build{,-qt4}
+}
+
+build() {
+  cd build
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DENABLE_EXAMPLES=OFF \
+    -DENABLE_TESTS=OFF
+  make
+  cd ..
+
+  cd build-qt4
+  cmake ../${pkgbase}-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DDESIRED_QT_VERSION=4 \
+    -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 \
+    -DENABLE_EXAMPLES=OFF \
+    -DENABLE_TESTS=OFF
+  make
+}
+
+package_telepathy-qt4() {
+  pkgdesc="A library for Qt4-based Telepathy clients"
+  depends=('qt4' 'telepathy-farstream')
+  conflicts=('telepathy-qt4' 'telepathy-qt')
+  replaces=('telepathy-qt4' 'telepathy-qt')
+  provides=('telepathy-qt4' 'telepathy-qt')
+
+  cd build-qt4
+  make DESTDIR="$pkgdir" install
+}
+
+package_telepathy-qt5() {
+  pkgdesc="A library for Qt5-based Telepathy clients"
+  depends=('qt5-base' 'telepathy-farstream')
+
+  cd build
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list