diff --git a/main/kaidan/APKBUILD b/main/kaidan/APKBUILD new file mode 100644 index 000000000..8333794e5 --- /dev/null +++ b/main/kaidan/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +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" diff --git a/main/postmarketos-ui-plasma-mobile/APKBUILD b/main/postmarketos-ui-plasma-mobile/APKBUILD index 0181d85d6..3e5fa9a84 100644 --- a/main/postmarketos-ui-plasma-mobile/APKBUILD +++ b/main/postmarketos-ui-plasma-mobile/APKBUILD @@ -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" diff --git a/main/qxmpp/APKBUILD b/main/qxmpp/APKBUILD new file mode 100644 index 000000000..e63425159 --- /dev/null +++ b/main/qxmpp/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Bart Ribbers +# Maintainer: Bart Ribbers +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"