From f49ee236523cef0be157ed362c308236a3b7c934 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Fri, 4 Oct 2024 14:14:19 +0200 Subject: [PATCH] qt6_jdenticon, new, user icon extension for Nheko (#11188) --- .../qt6-jdenticon/qt6_jdenticon-0.3.1.recipe | 56 +++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 dev-qt/qt6-jdenticon/qt6_jdenticon-0.3.1.recipe diff --git a/dev-qt/qt6-jdenticon/qt6_jdenticon-0.3.1.recipe b/dev-qt/qt6-jdenticon/qt6_jdenticon-0.3.1.recipe new file mode 100644 index 000000000..c2cee7260 --- /dev/null +++ b/dev-qt/qt6-jdenticon/qt6_jdenticon-0.3.1.recipe @@ -0,0 +1,56 @@ +SUMMARY="Qt6 / C++14 Port of Jdenticon" +DESCRIPTION="This is the initial Qt5 port of jdenticon https://github.com/dmester/jdenticon + +Not all of the features are currently implemented, and there may be bugs in various places. It \ +also does not have a proper build other than via qmake / Qt Creator. Consider this a Work In \ +Progress at the moment. + +The eventual plan for this is that it will be made into a Qt5 library that can be used in other \ +applications with a command-line application for use as a standalone generator. + +In order to generate new jdenticon's, the main function in qtidenticon.cpp must be modified. \ +The program does not yet support command line arguments that allow the input of the text to be \ +jdenticon-ified." +HOMEPAGE="https://github.com/Nheko-Reborn/qt-jdenticon/" +COPYRIGHT="2019 Joseph Donofry" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="https://github.com/Nheko-Reborn/qt-jdenticon/archive/refs/tags/v$portVersion.tar.gz" +CHECKSUM_SHA256="39fca8c8a6a95fd76419ace3ec5f0b7876044abc78b979c2632ab73b2da50b58" +SOURCE_DIR="qt-jdenticon-$portVersion" + +ARCHITECTURES="all !x86_gcc2" +SECONDARY_ARCHITECTURES="x86" + +PROVIDES=" + qt6_jdenticon$secondaryArchSuffix = $portVersion + " +REQUIRES=" + haiku$secondaryArchSuffix + lib:libGL$secondaryArchSuffix + lib:libQt6Core$secondaryArchSuffix + lib:libQt6Gui$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + devel:libQt6Core$secondaryArchSuffix + devel:libQt6Gui$secondaryArchSuffix + " +BUILD_PREREQUIRES=" + cmd:qmake6 + cmd:g++$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + qmake6 . + make $jobArgs +} + +INSTALL() +{ + mkdir -p $addOnsDir/Qt6 $d + cp libqtjdenticon.so $addOnsDir/Qt6 +}