mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Bring KDE Frameworks 5.38.0 to Haiku
* base library set for ongoing KDE apps * some apps need more libs to be ported which will come later
This commit is contained in:
59
kde-frameworks/oxygen-icons/oxygen_icons-5.38.0~git.recipe
Normal file
59
kde-frameworks/oxygen-icons/oxygen_icons-5.38.0~git.recipe
Normal file
@@ -0,0 +1,59 @@
|
||||
SUMMARY="Oxygen icon theme"
|
||||
DESCRIPTION="Oxygen-icons is a freedesktop.org compatible icon theme."
|
||||
HOMEPAGE="https://github.com/KDE/oxygen-icons/"
|
||||
COPYRIGHT="2010-2017 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
COMMIT="bff159d338fe08be09146a5ee17b9b6efa8a2c8d"
|
||||
SOURCE_URI="https://github.com/KDE/oxygen-icons/archive/$COMMIT.zip"
|
||||
CHECKSUM_SHA256="cf182fd91c55f8b39385094889988252130b3f2ae0da3ec68899d2043572f9f0"
|
||||
SOURCE_DIR="oxygen-icons-$COMMIT"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
oxygen_icons$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
extra_cmake_modules
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libQt5Core$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:find
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
||||
cmake .. $cmakeDirArgs \
|
||||
-DECM_MKSPECS_INSTALL_DIR=$dataDir/Qt5/mkspecs \
|
||||
-DECM_DIR=/system/data/cmake/Modules/ECM/cmake \
|
||||
-DBINARY_ICONS_RESOURCE=OFF
|
||||
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
|
||||
# skip png and install only svg icons
|
||||
find scalable -type f ! -name '*.sh' -exec \
|
||||
install -D -m644 "{}" $dataDir/icons/oxygen/{} \;
|
||||
}
|
||||
|
||||
TEST()
|
||||
{
|
||||
cd build
|
||||
make test
|
||||
}
|
||||
Reference in New Issue
Block a user