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-10-21 18:34:01 -0500
commit18d37b40a1dff05c8e75928dfdf851bf2f1acf8b (patch)
tree2aa60b0e6a8f7f95a90ef159815c7c2dc675d223 /user/syndication
parentdadb2364fa576f1b9d7e01fe26de6fae296c5844 (diff)
downloadpackages-18d37b40a1dff05c8e75928dfdf851bf2f1acf8b.tar.gz
packages-18d37b40a1dff05c8e75928dfdf851bf2f1acf8b.tar.bz2
packages-18d37b40a1dff05c8e75928dfdf851bf2f1acf8b.tar.xz
packages-18d37b40a1dff05c8e75928dfdf851bf2f1acf8b.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"