113 lines
3.4 KiB
Bash
113 lines
3.4 KiB
Bash
SUMMARY="Icon GUI utilities"
|
|
DESCRIPTION="This library contains classes to improve the handling of icons \
|
|
in applications using the KDE Frameworks. Provided are:
|
|
|
|
* KIconDialog: Dialog class to let the user select an icon from the list of \
|
|
installed icons.
|
|
* KIconButton: Custom button class that displays an icon. When clicking it, \
|
|
the user can change it using the icon dialog.
|
|
* KIconEffect: Applies various colorization effects to icons, which can be \
|
|
used to create selected/disabled icon images.
|
|
Other classes in this repository are used internally by the icon theme \
|
|
configuration dialogs, and should not be used by applications."
|
|
HOMEPAGE="https://github.com/KDE/kiconthemes/"
|
|
COPYRIGHT="2010-2021 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/KDE/kiconthemes/archive/v$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="2bb663200ce20e558675406426dec6aff6cc68076ff77be3fdf706dca9c62ff3"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kiconthemes$secondaryArchSuffix = $portVersion
|
|
cmd:kiconfinder5$secondaryArchSuffix = $portVersion
|
|
lib:libKF5IconThemes$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libKF5Archive$secondaryArchSuffix
|
|
lib:libKF5Auth$secondaryArchSuffix
|
|
lib:libKF5Codecs$secondaryArchSuffix
|
|
lib:libKF5ConfigCore$secondaryArchSuffix
|
|
lib:libKF5ConfigGui$secondaryArchSuffix
|
|
lib:libKF5ConfigWidgets$secondaryArchSuffix
|
|
lib:libKF5CoreAddons$secondaryArchSuffix
|
|
lib:libKF5I18n$secondaryArchSuffix
|
|
lib:libKF5ItemViews$secondaryArchSuffix
|
|
lib:libKF5WidgetsAddons$secondaryArchSuffix
|
|
lib:libQt5Core$secondaryArchSuffix
|
|
lib:libQt5Gui$secondaryArchSuffix
|
|
lib:libQt5Svg$secondaryArchSuffix
|
|
lib:libQt5Widgets$secondaryArchSuffix
|
|
lib:libQt5Xml$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
kiconthemes${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF5IconThemes$secondaryArchSuffix = $portVersion compat >= 5
|
|
"
|
|
REQUIRES_devel="
|
|
kiconthemes$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
|
devel:libKF5Archive$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Auth$secondaryArchSuffix == $portVersion
|
|
devel:libKF5Codecs$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigCore$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigGui$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ConfigWidgets$secondaryArchSuffix == $portVersion
|
|
devel:libKF5CoreAddons$secondaryArchSuffix == $portVersion
|
|
devel:libKF5I18n$secondaryArchSuffix == $portVersion
|
|
devel:libKF5ItemViews$secondaryArchSuffix == $portVersion
|
|
devel:libKF5WidgetsAddons$secondaryArchSuffix == $portVersion
|
|
devel:libQt5Core$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Gui$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Svg$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Widgets$secondaryArchSuffix >= 5.7
|
|
devel:libQt5Xml$secondaryArchSuffix >= 5.7
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:lrelease$secondaryArchSuffix >= 5
|
|
cmd:make
|
|
cmd:python2
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake .. $cmakeDirArgs \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
|
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
cd build
|
|
make install
|
|
|
|
prepareInstalledDevelLibs \
|
|
libKF5IconThemes
|
|
|
|
packageEntries devel \
|
|
$libDir/cmake \
|
|
$dataDir/Qt5/mkspecs \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
cd build
|
|
make test
|
|
}
|