Date: Tuesday, November 29, 2016 @ 12:35:24 Author: arojas Revision: 282324
Drop qt4 support Modified: telepathy-qt/trunk/PKGBUILD ----------+ PKGBUILD | 45 +++++++++++---------------------------------- 1 file changed, 11 insertions(+), 34 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-11-29 11:30:15 UTC (rev 282323) +++ PKGBUILD 2016-11-29 12:35:24 UTC (rev 282324) @@ -3,27 +3,30 @@ # Contributor: Andrea Scarpino <[email protected]> # Contributor: Ionut Biru <[email protected]> -pkgbase=telepathy-qt -pkgname=(telepathy-qt4 telepathy-qt5) +pkgname=telepathy-qt pkgver=0.9.7 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}) +pkgdesc="A library for Qt-based Telepathy clients" +depends=(qt5-base telepathy-farstream) +makedepends=(cmake doxygen python2 qt5-tools) +conflicts=(telepathy-qt5) +provides=(telepathy-qt5) +replaces=(telepathy-qt5) +source=("http://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc}) md5sums=('86470dd3d7f6de8b8f4f36165486d42f' 'SKIP') validpgpkeys=('AA33B0D27868E36C151780F0FE0B6D736B1195ED') # Alexandr Akulich prepare() { - mkdir build{,-qt4} + mkdir -p build } build() { cd build - cmake ../$pkgbase-$pkgver \ + cmake ../$pkgname-$pkgver \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPYTHON_EXECUTABLE=/usr/bin/python2 \ @@ -31,35 +34,9 @@ -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-qt) - replaces=(telepathy-qt) - provides=(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) - +package() { cd build make DESTDIR="$pkgdir" install }
