aports/community/neochat/APKBUILD
Natanael Copa 7da59c2f20 community/neochat: disable debug info on 32 bit arches
Build runs out of memory with debug info on 32 bit arches.
2025-05-05 10:02:47 +00:00

82 lines
2.1 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-applications
maintainer="team/kde <bribbers@disroot.org>"
pkgname=neochat
pkgver=25.04.0
pkgrel=0
pkgdesc="A client for Matrix, the decentralized communication protocol"
url="https://invent.kde.org/network/neochat/"
# armhf blocked by qt6-qtdeclarative -> kirigami
# riscv64, s390x and ppc64le blocked by qt6-qtwebengine -> qt6-qtwebview
arch="all !armhf !riscv64 !s390x !ppc64le"
license="GPL-2.0-or-later AND GPL-3.0-only AND GPL-3.0-or-later AND BSD-2-Clause"
depends="
kirigami
kirigami-addons
kitemmodels
kquickcharts
kquickimageeditor
prison
qqc2-desktop-style
qt6-qtlocation
"
makedepends="
cmark-dev
extra-cmake-modules
kconfig-dev
kcoreaddons-dev
kdbusaddons-dev
kdoctools-dev
ki18n-dev
kio-dev
kirigami-addons-dev
kirigami-dev
kitemmodels-dev
knotifications-dev
kquickimageeditor-dev
kstatusnotifieritem-dev
kunifiedpush-dev
libquotient-dev
purpose-dev
qcoro-dev
qqc2-desktop-style-dev
qt6-qtbase-dev
qt6-qtdeclarative-dev
qt6-qtdeclarative-private-dev
qt6-qtmultimedia-dev
qt6-qtsvg-dev
qt6-qtwebview-dev
qtkeychain-dev
samurai
sonnet-dev
syntax-highlighting-dev
"
subpackages="$pkgname-dbg $pkgname-doc $pkgname-lang"
_repo_url="https://invent.kde.org/network/neochat.git"
source="https://download.kde.org/stable/release-service/$pkgver/src/neochat-$pkgver.tar.xz
neochatrc
"
# No tests
options="!check"
build() {
local _build_type=RelWithDebInfo
case "$CARCH" in
arm*|x86) _build_type=MinSizeRel;;
esac
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE="$_build_type" \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -Dm644 "$srcdir"/neochatrc -t "$pkgdir"/etc/xdg
}
sha512sums="
e8ae36d3eea307aba12eafb53cffdeec0e6b0663cd7538a71eedc9acab7776ee9a87b2712874fc8d41fd3a1b55f77f3192174815119e1ec6262ae6b48f3873ed neochat-25.04.0.tar.xz
d57214940e739639895b2cb140c7cedbfbc515662e8aa58adab339466ea8e87e95e087347aab7a4006287290515af2aa71dda4b0b9b9a40f9b297b17f92b285a neochatrc
"