1SUMMARY="Framework for creation and generation of reports in multiple formats" 2DESCRIPTION="The KReport framework implements reporting functionality for creation of reports in MS Access style. \ 3They are also similar to SAP Crystal Reports and FileMaker reports.\ 4Reports can be created interactively and programmatically.\ 5They can be previewed on screen, printed, and saved in a variety of formats such as HTML, PDF and OpenDocument.\ 6Reports of this kind offer a way to view, format, and summarize the information. \ 7For example a simple report of contact phone numbers can be prepared, \ 8or a more complex report on sales for different products, regions, and periods of time." 9HOMEPAGE="https://invent.kde.org/libraries/kreport/" 10COPYRIGHT="2010-2019 KDE Organisation" 11LICENSE="GNU LGPL v2" 12REVISION="1" 13SOURCE_URI="https://download.kde.org/stable/kreport/src/kreport-$portVersion.tar.xz" 14CHECKSUM_SHA256="22716d719654e8f887fe4d33654e252ddf3d3d818c44e15a8af0e6f2e7d6ccd7" 15 16ARCHITECTURES="all !x86_gcc2" 17SECONDARY_ARCHITECTURES="x86" 18 19PROVIDES=" 20 kreport$secondaryArchSuffix = $portVersion 21 lib:libKReport3$secondaryArchSuffix = $portVersion compat >= 3 22 " 23REQUIRES=" 24 haiku$secondaryArchSuffix 25 lib:libKF5ConfigCore$secondaryArchSuffix 26 lib:libKF5ConfigGui$secondaryArchSuffix 27 lib:libKF5CoreAddons$secondaryArchSuffix 28 lib:libKF5GuiAddons$secondaryArchSuffix 29 lib:libKF5WidgetsAddons$secondaryArchSuffix 30 lib:libKPropertyCore3$secondaryArchSuffix 31 lib:libKPropertyWidgets3$secondaryArchSuffix 32 lib:libQt5Core$secondaryArchSuffix 33 lib:libQt5WebKitWidgets$secondaryArchSuffix 34 " 35 36PROVIDES_devel=" 37 kreport${secondaryArchSuffix}_devel = $portVersion 38 devel:libKReport3$secondaryArchSuffix = $portVersion compat >= 3 39 " 40REQUIRES_devel=" 41 kreport$secondaryArchSuffix == $portVersion base 42 " 43 44BUILD_REQUIRES=" 45 haiku${secondaryArchSuffix}_devel 46 extra_cmake_modules$secondaryArchSuffix >= 5.115 47 devel:libKF5ConfigCore$secondaryArchSuffix 48 devel:libKF5ConfigGui$secondaryArchSuffix 49 devel:libKF5CoreAddons$secondaryArchSuffix 50 devel:libKF5GuiAddons$secondaryArchSuffix 51 devel:libKF5WidgetsAddons$secondaryArchSuffix 52 devel:libKPropertyCore3$secondaryArchSuffix 53 devel:libQt5Core$secondaryArchSuffix 54 devel:libQt5WebKitWidgets$secondaryArchSuffix 55 " 56BUILD_PREREQUIRES=" 57 cmd:cmake 58 cmd:g++$secondaryArchSuffix 59 cmd:make 60 cmd:python3.10 61 cmd:qdbuscpp2xml$secondaryArchSuffix >= 5 62 " 63 64BUILD() 65{ 66 mkdir -p build 67 cd build 68 69 cmake .. $cmakeDirArgs \ 70 -DCMAKE_BUILD_TYPE=Release \ 71 -DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \ 72 -DECM_DIR=/system/data/cmake/Modules/ECM/cmake \ 73 -DKDE_INSTALL_PLUGINDIR=$addOnsDir/Qt5 \ 74 -DPYTHON_EXECUTABLE="/bin/python3.10" 75 76 make $jobArgs 77} 78 79INSTALL() 80{ 81 cd build 82 make install 83 84 prepareInstalledDevelLibs \ 85 libKReport3 86 87 fixPkgconfig 88 89 packageEntries devel \ 90 $libDir/cmake \ 91 $dataDir/Qt5/mkspecs \ 92 $developDir 93} 94 95TEST() 96{ 97 cd build 98 make test 99} 100