prison, cleanup (#8191)

This commit is contained in:
Schrijvers Luc
2023-03-30 13:07:16 +02:00
committed by GitHub
parent 30f5bc51ca
commit 9737776c4b

View File

@@ -5,7 +5,7 @@ two types of barcodes: QRCode and DataMatrix."
HOMEPAGE="https://api.kde.org/frameworks/prison/html/index.html"
COPYRIGHT="2010-2019 KDE Foundations"
LICENSE="GNU LGPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/prison-$portVersion.tar.xz"
CHECKSUM_SHA256="8dd4400817b4863597eb87fafce27f6cb11ad8a1f4da7491e4c9e4dcaa2fdff1"
@@ -56,19 +56,19 @@ BUILD_PREREQUIRES="
BUILD()
{
constantSystemDataDir="`finddir B_SYSTEM_DATA_DIRECTORY`"
cmake . \
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
-DECM_DIR="$constantSystemDataDir"/cmake/Modules/ECM/cmake \
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
-DCMAKE_INSTALL_PREFIX:PATH=$prefix \
-DCMAKE_INSTALL_LIBDIR:PATH=$libDir \
-DCMAKE_INSTALL_INCLUDEDIR:PATH=$includeDir \
-DKDE_INSTALL_LOGGINGCATEGORIESDIR=$settingsDir/xdg
make
make -C build
}
INSTALL()
{
make install
make -C build install
prepareInstalledDevelLib libKF5Prison
packageEntries devel \