add necessary dependency for ktp

This commit is contained in:
Weng Xuetian 2015-09-15 07:46:28 +02:00
parent 6fdaa41a82
commit 2dd2775a09
3 changed files with 65 additions and 2 deletions

View File

@ -4,12 +4,13 @@ source ../kdeapps.conf
pkgname=ktp-common-internals
pkgver=${_kdever}
pkgrel=1
pkgrel=2
pkgdesc="Common libraries for telepathy-kde"
arch=('x86_64')
url="http://community.kde.org/Real-Time_Communication_and_Collaboration"
license=('GPL')
depends=('hicolor-icon-theme' 'kaccounts-integration' 'knotifyconfig' 'kpeople' 'ktexteditor' 'telepathy-logger-qt' 'libotr')
depends=('hicolor-icon-theme' 'kaccounts-integration' 'knotifyconfig' 'kpeople' 'ktexteditor' 'telepathy-logger-qt' 'libotr'
'telepathy-accounts-signon')
makedepends=('extra-cmake-modules' 'kdoctools' 'python3' 'doxygen')
groups=('kde-telepathy')
install=${pkgname}.install

36
libsignon-glib/PKGBUILD Normal file
View File

@ -0,0 +1,36 @@
# Maintainer: Weng Xuetian <wengxt@gmail.com>
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: Balló György <ballogyor+arch@gmail.com>
pkgname=libsignon-glib
pkgver=1.12
pkgrel=1
pkgdesc='GLib-based client library for applications handling account authentication through the Online Accounts Single Sign-On service'
arch=(i686 x86_64)
url='https://gitlab.com/accounts-sso/libsignon-glib'
license=(LGPL2.1)
depends=(signon)
makedepends=(python2-gobject gtk-doc gobject-introspection)
source=("https://gitlab.com/accounts-sso/$pkgname/repository/archive.tar.gz?ref=$pkgver")
md5sums=('e1b6d28984b1a2ac7072eec81f7df3df')
build() {
cd $pkgname-$pkgver-*
export PYTHON='/usr/bin/python2'
NOCONFIGURE=1 ./autogen.sh
./configure \
--prefix='/usr' \
--localstatedir='/var' \
--sysconfdir='/etc'
make -j1
}
package() {
cd $pkgname-$pkgver-*
make DESTDIR="$pkgdir" install
}

View File

@ -0,0 +1,26 @@
# Maintainer: Weng Xuetian <wengxt@gmail.com>
# Contributor: Antonio Rojas <arojas@archlinux.org>
pkgname=telepathy-accounts-signon
pkgver=1.0
pkgrel=1
pkgdesc="A mission control plugin for Telepathy, integrating with libaccounts and libsignon to provide IM accounts and authentication"
arch=(i686 x86_64)
url='https://gitlab.com/accounts-sso/telepathy-accounts-signon'
license=(LGPL)
depends=(telepathy-mission-control libaccounts-glib libsignon-glib)
makedepends=(qt5-base)
source=("https://gitlab.com/accounts-sso/$pkgname/repository/archive.tar.gz?ref=$pkgver")
sha1sums=('7c1f21a35c3bdb77b82087bf40c7b61ab2323176')
build() {
mkdir -p build
cd build
qmake-qt5 ../$pkgname-$pkgver-*
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
}