diff --git a/dev-libs/kreport/kreport-3.0.2.recipe b/dev-libs/kreport/kreport-3.0.2.recipe new file mode 100644 index 000000000..7b8d779ce --- /dev/null +++ b/dev-libs/kreport/kreport-3.0.2.recipe @@ -0,0 +1,98 @@ +SUMMARY="Framework for creation and generation of reports in multiple formats" +DESCRIPTION="The KReport framework implements reporting functionality for creation of reports in MS Access style. \ +They are also similar to SAP Crystal Reports and FileMaker reports.\ +Reports can be created interactively and programmatically.\ +They can be previewed on screen, printed, and saved in a variety of formats such as HTML, PDF and OpenDocument.\ +Reports of this kind offer a way to view, format, and summarize the information. \ +For example a simple report of contact phone numbers can be prepared, \ +or a more complex report on sales for different products, regions, and periods of time." +HOMEPAGE="https://github.com/KDE/kreport/" +COPYRIGHT="2010-2017 KDE Organisation" +LICENSE="GNU LGPL v2" +REVISION="1" +SOURCE_URI="https://github.com/KDE/kreport/archive/$portVersion.tar.gz" +CHECKSUM_SHA256="3e16eb60cc139781d28d16a9940666c0e055065d60251d3218268bb00995752f" + +ARCHITECTURES="!x86_gcc2 x86_64" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + kreport$secondaryArchSuffix = $portVersion + lib:libKReport3$secondaryArchSuffix = $portVersion compat >= 3 + " + +REQUIRES=" + haiku$secondaryArchSuffix + lib:libKF5ConfigCore$secondaryArchSuffix + lib:libKF5ConfigGui$secondaryArchSuffix + lib:libKF5CoreAddons$secondaryArchSuffix + lib:libKF5GuiAddons$secondaryArchSuffix + lib:libKF5WidgetsAddons$secondaryArchSuffix + lib:libKPropertyCore3$secondaryArchSuffix + lib:libKPropertyWidgets3$secondaryArchSuffix + lib:libQt5Core$secondaryArchSuffix + lib:libQt5WebKitWidgets$secondaryArchSuffix + " + +PROVIDES_devel=" + kreport${secondaryArchSuffix}_devel = $portVersion + devel:libKReport3$secondaryArchSuffix = $portVersion compat >= 3 + " + +REQUIRES_devel=" + kreport$secondaryArchSuffix == $portVersion base + " + +BUILD_REQUIRES=" + extra_cmake_modules >= 5.39 + haiku${secondaryArchSuffix}_devel + devel:libKF5ConfigCore$secondaryArchSuffix + devel:libKF5ConfigGui$secondaryArchSuffix + devel:libKF5CoreAddons$secondaryArchSuffix + devel:libKF5GuiAddons$secondaryArchSuffix + devel:libKF5WidgetsAddons$secondaryArchSuffix + devel:libKPropertyCore3$secondaryArchSuffix + devel:libQt5Core$secondaryArchSuffix >= 5.7 + devel:libQt5WebKitWidgets$secondaryArchSuffix + " + +BUILD_PREREQUIRES=" + cmd:cmake + cmd:g++$secondaryArchSuffix + cmd:make + cmd:python2 + " + +BUILD() +{ + mkdir -p build + cd build + + cmake .. $cmakeDirArgs \ + -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ + -DECM_DIR=/system/data/cmake/Modules/ECM/cmake + + make $jobArgs +} + +INSTALL() +{ + cd build + make install + + prepareInstalledDevelLibs \ + libKReport3 + + fixPkgconfig + + packageEntries devel \ + $libDir/cmake \ + $dataDir/Qt5/mkspecs \ + $developDir +} + +TEST() +{ + cd build + make test +}