mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
96 lines
2.1 KiB
Bash
96 lines
2.1 KiB
Bash
SUMMARY="Breeze SVG icon theme"
|
|
DESCRIPTION="Breeze-icons is a freedesktop.org compatible icon theme. \
|
|
It's developed by the KDE Community as part of KDE Frameworks 5 and it's \
|
|
used by default in KDE Plasma 5 and KDE Applications."
|
|
HOMEPAGE="https://invent.kde.org/frameworks/breeze-icons"
|
|
COPYRIGHT="2010-2026 KDE Organisation"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="https://download.kde.org/stable/frameworks/${portVersion%.*}/breeze-icons-${portVersion}.tar.xz"
|
|
CHECKSUM_SHA256="2188492d83ead80cae83cbb0db80cac0b55388ea2e3e02d436354b6ca2559d0c"
|
|
SOURCE_DIR="breeze-icons-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
libVersion="$portVersion"
|
|
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
|
|
|
pythonVersion="3.10"
|
|
pythonPackage=python${pythonVersion//.}
|
|
|
|
PROVIDES="
|
|
breeze_icons$secondaryArchSuffix = $portVersion
|
|
lib:libKF6BreezeIcons$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
if [ -n "$secondaryArchSuffix" ]; then
|
|
PROVIDES+="
|
|
breeze_icons = $portVersion
|
|
"
|
|
fi
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
lib:libQt6Core$secondaryArchSuffix
|
|
lib:libQt6Gui$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
breeze_icons${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libKF6BreezeIcons$secondaryArchSuffix = $libVersionCompat
|
|
"
|
|
REQUIRES_devel="
|
|
breeze_icons$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
extra_cmake_modules$secondaryArchSuffix >= $portVersion
|
|
devel:libQt6Core$secondaryArchSuffix
|
|
lxml_$pythonPackage
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:find
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:python$pythonVersion
|
|
"
|
|
|
|
TEST_REQUIRES="
|
|
cmd:fdupes
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
|
$cmakeDirArgs \
|
|
-DBINARY_ICONS_RESOURCE=ON \
|
|
-DCMAKE_SKIP_RPATH=YES \
|
|
-DBUILD_TESTING=OFF \
|
|
-Wno-dev
|
|
|
|
make -Cbuild $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make -Cbuild install
|
|
|
|
prepareInstalledDevelLib \
|
|
libKF6BreezeIcons
|
|
|
|
packageEntries devel \
|
|
$developDir \
|
|
$libDir/cmake
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
ctest --test-dir build --output-on-failure
|
|
}
|