diff --git a/ktp-common-internals/PKGBUILD b/ktp-common-internals/PKGBUILD index 7c056b63b..1c66ab1f3 100644 --- a/ktp-common-internals/PKGBUILD +++ b/ktp-common-internals/PKGBUILD @@ -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 diff --git a/libsignon-glib/PKGBUILD b/libsignon-glib/PKGBUILD new file mode 100644 index 000000000..d731c2c12 --- /dev/null +++ b/libsignon-glib/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Weng Xuetian +# Contributor: Antonio Rojas +# Contributor: Maxime Gauduin +# Contributor: Balló György + +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 +} + diff --git a/telepathy-accounts-signon/PKGBUILD b/telepathy-accounts-signon/PKGBUILD new file mode 100644 index 000000000..2e7799fa2 --- /dev/null +++ b/telepathy-accounts-signon/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Weng Xuetian +# Contributor: Antonio Rojas + +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 +}