main/telepathy-qt: rename from telepathy-qt5 [ci:skip-vercheck] (!376)

This commit is contained in:
Bart Ribbers 2019-06-17 15:39:21 +02:00 committed by Oliver Smith
parent bdce39ee7d
commit 9e5424ec42
No known key found for this signature in database
GPG Key ID: 5AE7F5513E0885CB
4 changed files with 55 additions and 59 deletions

View File

@ -2,14 +2,14 @@
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-phone-components
pkgver=0_git20190505
pkgrel=3
pkgrel=4
_commit="cec97e231b6106eb5c69fd9b774769cd3c8e72b1"
pkgdesc="Modules providing phone functionality for Plasma"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="GPL-2.0 LGPL-2.1-or-later"
depends="desktop-file-utils qt5-qtgraphicaleffects kactivities qt5-qtquickcontrols2 qt5-qtquickcontrols plasma-pa plasma-nm upower libqofono"
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev telepathy-qt5-dev libphonenumber-dev"
makedepends="extra-cmake-modules kpeople-dev qt5-qtdeclarative-dev kactivities-dev plasma-framework-dev kservice-dev kdeclarative-dev ki18n-dev kio-dev kcoreaddons-dev kconfig-dev kbookmarks-dev kwidgetsaddons-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kpackage-dev kwindowsystem-dev kdbusaddons-dev knotifications-dev kwayland-dev telepathy-qt-dev libphonenumber-dev"
install="$pkgname.post-install
$pkgname.post-upgrade
$pkgname.post-deinstall"

View File

@ -1,38 +1,29 @@
# Contributor: Bhushan Shah <bshah@kde.org>
# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=telepathy-ofono
pkgver=0.2
pkgver=0_git20190116
pkgrel=0
pkgdesc="telepathy oFono connection manager"
url="https://launchpad.net/telepathy-ofono"
_commit="d282c4f8008f8364506829dca20097099a5828cc"
pkgdesc="Telepathy oFono connection manager"
url="https://github.com/TelepathyIM/telepathy-ofono"
arch="all"
license="GPL3"
depends=""
makedepends="cmake telepathy-mission-control-dev libphonenumber-dev telepathy-qt5-dev ofono-qt-dev pulseaudio-dev"
install=""
source="https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/telepathy-ofono/0.2+17.04.20161109-0ubuntu1/telepathy-ofono_0.2+17.04.20161109.orig.tar.gz"
builddir="$srcdir/"
license="LGPL-2.1-or-later"
makedepends="cmake qt5-qtbase-dev libphonenumber-dev telepathy-qt-dev sqlite-dev telepathy-mission-control-dev ofono-qt-dev"
source="$pkgname-$_commit.tar.gz::https://github.com/telepathyim/$pkgname/archive/$_commit.tar.gz"
options="!check" # no tests
builddir="$srcdir/$pkgname-$_commit"
build() {
cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
${CMAKE_CROSSOPTS}
-DBUILD_SHARED_LIBS=True
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
DESTDIR="$pkgdir" make install
}
sha512sums="5c9cb4bdefda8c3a14b18d383f821e3f2abb36a3fcac6c9372cf119466465ade26c9bda12ea8a0510672999b11ff8c3538cd2c43393e1354c11f9af84163ea37 telepathy-ofono_0.2+17.04.20161109.orig.tar.gz"
sha512sums="6d0ceb618e5957a92433167706e02351a6156674486ff8442e434e99612211b96762ae24f5c319c50024bfcd3ad6383fde2f7bc1cf6378617718651b660cb54d telepathy-ofono-d282c4f8008f8364506829dca20097099a5828cc.tar.gz"

View File

@ -0,0 +1,41 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=telepathy-qt
pkgver=0.9.7
pkgrel=0
arch="all"
url="http://telepathy.freedesktop.org/wiki/"
license="LGPL-2.1-or-later"
pkgdesc="A library for Qt-based Telepathy clients"
depends="qt5-qtbase"
depends_dev="telepathy-farstream-dev telepathy-glib-dev gstreamer-dev"
makedepends="$depends_dev cmake python2 qt5-qttools-dev dbus doxygen"
source="https://telepathy.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"
build() {
cmake \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DDESIRED_QT_VERSION=5 \
-DENABLE_EXAMPLES=OFF \
-DENABLE_TESTS=TRUE
make
doxygen doxygen.cfg
}
check() {
# BaseConnectionManager requires jabber support
# BaseProtocol is broken
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E "Base(ConnectionManager|Protocol)"
}
package() {
DESTDIR="$pkgdir" make install
install -d "$pkgdir"/usr/share/doc/$pkgname
cp -r doc/html "$pkgdir"/usr/share/doc/$pkgname/
}
sha512sums="081daecb2509ea690079014bcc88eacbf2b3e4f4ac42aaf1b0cb264c01b801bc499a041482571d383f258cb3d3e2c6ffa5682fbe417fe807fcc25a06d2ead877 telepathy-qt-0.9.7.tar.gz"

View File

@ -1,36 +0,0 @@
pkgname=telepathy-qt5
pkgbase=${pkgname/qt5/qt}
pkgver=0.9.7
pkgrel=0
arch="all"
url="http://telepathy.freedesktop.org/wiki/"
license="LGPL"
pkgdesc="A library for Qt-based Telepathy clients"
depends="qt5-qtbase"
depends_dev="telepathy-farstream-dev telepathy-glib-dev gstreamer-dev"
makedepends="$depends_dev cmake python2 qt5-qttools-dev dbus"
source="https://telepathy.freedesktop.org/releases/$pkgbase/$pkgbase-$pkgver.tar.gz"
subpackages="$pkgname-dev"
options="!check" # Fails due to requiring a running dbus daemon
builddir="$srcdir/$pkgbase-$pkgver"
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPYTHON_EXECUTABLE=/usr/bin/python2 \
-DDESIRED_QT_VERSION=5 \
-DENABLE_EXAMPLES=OFF
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="081daecb2509ea690079014bcc88eacbf2b3e4f4ac42aaf1b0cb264c01b801bc499a041482571d383f258cb3d3e2c6ffa5682fbe417fe807fcc25a06d2ead877 telepathy-qt-0.9.7.tar.gz"