summaryrefslogtreecommitdiff
path: root/user/kopete
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-18 23:23:43 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-18 23:23:43 +0000
commit46232ae2469b6aa0b2d9024fa0d1201f255b9127 (patch)
tree58417d6fea4323b1b3f4cb452b4515121754e181 /user/kopete
parent6547f71ea2a0864dd158cc32a81316f0d27770d3 (diff)
downloadpackages-46232ae2469b6aa0b2d9024fa0d1201f255b9127.tar.gz
packages-46232ae2469b6aa0b2d9024fa0d1201f255b9127.tar.bz2
packages-46232ae2469b6aa0b2d9024fa0d1201f255b9127.tar.xz
packages-46232ae2469b6aa0b2d9024fa0d1201f255b9127.zip
user/kopete: New package
Diffstat (limited to 'user/kopete')
-rw-r--r--user/kopete/APKBUILD44
1 files changed, 44 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"