From 18d37b40a1dff05c8e75928dfdf851bf2f1acf8b Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 4 Jun 2022 16:52:38 -0500 Subject: 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. --- user/syndication/APKBUILD | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 user/syndication/APKBUILD (limited to 'user/syndication/APKBUILD') 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 +# Maintainer: A. Wilcox +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" -- cgit v1.2.3-70-g09d2