main/kaidan: new aport (!214)

Requires new aport main/qxmpp
This commit is contained in:
PureTryOut 2019-02-11 17:28:11 +01:00 committed by Oliver Smith
parent 6f3635fc24
commit 3daead037b
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB
3 changed files with 71 additions and 1 deletions

34
main/kaidan/APKBUILD Normal file
View file

@ -0,0 +1,34 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kaidan
pkgver=0.3.2_git20190206
pkgrel=0
_commit="6ab6c7af327edd80500fbb3bbacd67ba96c10c5a"
pkgdesc="Kaidan, a simple and user-friendly Jabber/XMPP client for every device and platform"
arch="all"
url="https://git.kaidan.im/kaidan/kaidan/"
license="GPL-3.0-or-later with OpenSSL exception, GPL-3.0-or-later, MIT, CC-BY-SA-4.0"
depends="kirigami2"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtsvg-dev qt5-qtquickcontrols2-dev kirigami2-dev qxmpp-dev"
source="https://git.kaidan.im/kaidan/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit"
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="cf516fca0147bc4cdd4c211c54edc0b989cc293c0ab30e2007a24670fe432b1a2f5eb8502ed2aeba9fac9bf923a8c0e613d0e1ce0b9491cd14f53f5c484802a6 kaidan-6ab6c7af327edd80500fbb3bbacd67ba96c10c5a.tar.gz"

View file

@ -8,7 +8,7 @@ url="https://wiki.postmarketos.org/wiki/Plasma_Mobile"
arch="noarch"
license="GPL-3.0-or-later"
# dbus-x11 provides dbus-launch
depends="plasma-phone-components dbus dbus-x11 plasma-settings breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard plasma-camera pulseaudio pulseaudio-utils consolekit2 powerdevil polkit-kde-agent kwayland-integration postmarketos-artwork-wallpapers okular qmlkonsole calindori plasma-angelfish pix index vvave buho nota"
depends="plasma-phone-components dbus dbus-x11 plasma-settings breeze-icons postmarketos-demos kscreen qt5-qtvirtualkeyboard plasma-camera pulseaudio pulseaudio-utils consolekit2 powerdevil polkit-kde-agent kwayland-integration postmarketos-artwork-wallpapers okular qmlkonsole calindori plasma-angelfish pix index vvave buho nota kaidan"
install="$pkgname.post-install"
source="start_plasma.sh kwinrc kdeglobals qtlogging.ini org.kde.phone.homescreen.js"
options="!check"

36
main/qxmpp/APKBUILD Normal file
View file

@ -0,0 +1,36 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=qxmpp
pkgver=1.0.0
pkgrel=0
pkgdesc="Cross-platform C++ XMPP client and server library"
arch="all"
url="https://github.com/qxmpp-project/qxmpp"
license="LGPL-2.1"
makedepends="cmake qt5-qtbase-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/qxmpp-project/$pkgname/archive/v$pkgver.tar.gz"
subpackages="$pkgname-dev"
# 8 - tst_qxmppiceconnection (Failed)
options="!check"
build() {
cd "$builddir"
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="85f4df849b0d0582f96b0310b25f3d80226986ac0251ccc0c695da60bc81365c5769c3eb0720ffad5c5311ae8aab37b9cd8d5a78e4177259588fdf44393f0594 qxmpp-1.0.0.tar.gz"