From 46232ae2469b6aa0b2d9024fa0d1201f255b9127 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 18 Jul 2020 23:23:43 +0000 Subject: user/kopete: New package --- user/kopete/APKBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 user/kopete/APKBUILD diff --git a/user/kopete/APKBUILD b/user/kopete/APKBUILD new file mode 100644 index 000000000..8eb618417 --- /dev/null +++ b/user/kopete/APKBUILD @@ -0,0 +1,44 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=kopete +pkgver=20.04.3 +pkgrel=0 +pkgdesc="KDE Instant Messenger (IM) client" +url="https://kde.org/applications/internet/org.kde.kopete" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="qt5-qtbase-dev cmake extra-cmake-modules phonon-dev kcmutils-dev + kconfig-dev kcontacts-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev + kdelibs4support-dev kdoctools-dev kemoticons-dev khtml-dev ki18n-dev + knotifyconfig-dev kparts-dev ktexteditor-dev kwallet-dev libkleo-dev + kidentitymanagement-dev kpimtextedit-dev kdnssd-dev v4l-utils-dev + glib-dev alsa-lib-dev qca-dev speex-dev gpgme-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/release-service/$pkgver/src/kopete-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="979f84c986f78aaab9bd23fb9e0df265ea8734d855b8370c93adbe037d6dfeb4271658dbd27c2b315b363731976a62750e2ed5dace45bc69e72c0645a533b5a0 kopete-20.04.3.tar.xz" -- cgit v1.2.3-70-g09d2