summaryrefslogtreecommitdiff
path: root/user/syndication
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-06-04 16:52:38 -0500
committerZach van Rijn <me@zv.io>2022-06-12 23:51:54 +0000
commitbcdd3dc8fb6e5c3109fc4a2911539d86d00dc8eb (patch)
tree8e5930e0e8cf29d0d428ff2529b9d81067e4f980 /user/syndication
parent763fbc26e89d7566ec661ef22a42848d9bf8e0bf (diff)
downloadpackages-bcdd3dc8fb6e5c3109fc4a2911539d86d00dc8eb.tar.gz
packages-bcdd3dc8fb6e5c3109fc4a2911539d86d00dc8eb.tar.bz2
packages-bcdd3dc8fb6e5c3109fc4a2911539d86d00dc8eb.tar.xz
packages-bcdd3dc8fb6e5c3109fc4a2911539d86d00dc8eb.zip
user/[KDE Frameworks]: Update to 5.94.0
Many frameworks have added or removed dependencies. Documentation builds have been fixed for new tag file dependencies. * KIO: Fix build on GCC 8. * Prison: Ensure QR and DTMX barcodes are generated properly on big-endian systems. * Syndication: New framework.
Diffstat (limited to 'user/syndication')
-rw-r--r--user/syndication/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/user/syndication/APKBUILD b/user/syndication/APKBUILD
new file mode 100644
index 000000000..1c2971228
--- /dev/null
+++ b/user/syndication/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=syndication
+pkgver=5.94.0
+pkgrel=0
+pkgdesc="RSS/Atom parser framework for Qt / KDE"
+url="https://www.kde.org/"
+arch="all"
+license="LGPL-2.1+"
+depends=""
+makedepends="cmake extra-cmake-modules doxygen graphviz qt5-qtbase-dev
+ qt5-qttools-dev kcodecs-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/syndication-$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" \
+ -DBUILD_QCH:BOOL=ON \
+ ${CMAKE_CROSSOPTS} .
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="8b33ca8eddd59d4461822b51a536fce53b86ec2e6b9a26d3c7e66b0317d13b2a6a271e2c011e5e9298d8d328abc961f58566caa5f1a2caf6f825b6eb5fdc1a7c syndication-5.94.0.tar.xz"