From 0c9584bdba12e444fcb9281c8748c01f336083c4 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Thu, 2 May 2024 15:17:20 +0200 Subject: [PATCH] kdesdk_thumbnailers, new recipe (#10406) --- .../kdesdk_thumbnailers-23.08.5.recipe | 71 +++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 kde-apps/kdesdk-thumbnailers/kdesdk_thumbnailers-23.08.5.recipe diff --git a/kde-apps/kdesdk-thumbnailers/kdesdk_thumbnailers-23.08.5.recipe b/kde-apps/kdesdk-thumbnailers/kdesdk_thumbnailers-23.08.5.recipe new file mode 100644 index 000000000..c11bb6b02 --- /dev/null +++ b/kde-apps/kdesdk-thumbnailers/kdesdk_thumbnailers-23.08.5.recipe @@ -0,0 +1,71 @@ +SUMMARY="Thumbnailers for KDE" +DESCRIPTION="Plugins for the thumbnailing system." +HOMEPAGE="https://invent.kde.org/sdk/kdesdk-thumbnailers" +COPYRIGHT="2010-2024 KDE Organisation" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kdesdk-thumbnailers-$portVersion.tar.xz" +CHECKSUM_SHA256="259e444cf10b03b858967f729f643be7912f6f8c4d62eca250f2543d9c24e4fb" +SOURCE_DIR="kdesdk-thumbnailers-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + kdesdk_thumbnailers$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + extra_cmake_modules$secondaryArchSuffix + devel:libgettextpo$secondaryArchSuffix + devel:libKF5Auth$secondaryArchSuffix + devel:libKF5Bookmarks$secondaryArchSuffix + devel:libKF5Codecs$secondaryArchSuffix + devel:libKF5Completion$secondaryArchSuffix + devel:libKF5ConfigCore$secondaryArchSuffix + devel:libKF5ConfigWidgets$secondaryArchSuffix + devel:libKF5CoreAddons$secondaryArchSuffix + devel:libKF5I18n$secondaryArchSuffix + devel:libKF5ItemViews$secondaryArchSuffix + devel:libKF5JobWidgets$secondaryArchSuffix + devel:libKF5KIOCore$secondaryArchSuffix + devel:libKF5Service$secondaryArchSuffix + devel:libKF5Solid$secondaryArchSuffix + devel:libKF5WidgetsAddons$secondaryArchSuffix + devel:libKF5WindowSystem$secondaryArchSuffix + devel:libKF5XmlGui$secondaryArchSuffix + devel:libQt5Core$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++$secondaryArchSuffix + cmd:make + cmd:msgfmt + cmd:msgmerge + cmd:pkg_config$secondaryArchSuffix + cmd:qdbuscpp2xml$secondaryArchSuffix >= 5 + " + +BUILD() +{ + cmake -Bbuild -S. $cmakeDirArgs \ + -DCMAKE_BUILD_TYPE=Release \ + -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake + make -C build $jobArgs +} + +INSTALL() +{ + make -C build install +} + +TEST() +{ +# export LIBRARY_PATH="$sourceDir/build/bin${LIBRARY_PATH:+:$LIBRARY_PATH}" + make -C build test +}