aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2025-04-29 15:39:17 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2025-04-29 22:09:28 +0000
commit5cf3ef5eff76e76263df6512c7057b0dbd90bd23 (patch)
treefdc07d32f7766ac6859bf3ea98a7768cba232d0c
parent74bc6d982f2c7f02cbb7b5deabd4fcb2420b3121 (diff)
devel/qlementine: Add new port
Qlementine is a modern QStyle for desktop Qt6 applications. https://oclero.github.io/qlementine/ This library is a new dependency of the new version of games/solarus-quest-editor (2.0.0).
-rw-r--r--devel/Makefile1
-rw-r--r--devel/qlementine/Makefile22
-rw-r--r--devel/qlementine/distinfo3
-rw-r--r--devel/qlementine/files/patch-lib_CMakeLists.txt11
-rw-r--r--devel/qlementine/pkg-descr2
-rw-r--r--devel/qlementine/pkg-plist55
6 files changed, 94 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6224a27deda7..cd37b2fbd49c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6283,6 +6283,7 @@
SUBDIR += qcoro
SUBDIR += qgit
SUBDIR += qjson
+ SUBDIR += qlementine
SUBDIR += qmake
SUBDIR += qschematic
SUBDIR += qscintilla2
diff --git a/devel/qlementine/Makefile b/devel/qlementine/Makefile
new file mode 100644
index 000000000000..8b4e6e600431
--- /dev/null
+++ b/devel/qlementine/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= qlementine
+PORTVERSION= 1.2.2
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= danilo@FreeBSD.org
+COMMENT= Modern QStyle for desktop Qt6 applications
+WWW= https://oclero.github.io/qlementine
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake gl qt:6
+
+USE_QT= base svg tools
+USE_GL= opengl
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= oclero
+
+.include <bsd.port.mk>
diff --git a/devel/qlementine/distinfo b/devel/qlementine/distinfo
new file mode 100644
index 000000000000..9d3e60db757b
--- /dev/null
+++ b/devel/qlementine/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1745917307
+SHA256 (oclero-qlementine-v1.2.2_GH0.tar.gz) = ff81a868e684dcb0fc405894993a3c27af73d9abb6fe6598b6548337a1662120
+SIZE (oclero-qlementine-v1.2.2_GH0.tar.gz) = 3671987
diff --git a/devel/qlementine/files/patch-lib_CMakeLists.txt b/devel/qlementine/files/patch-lib_CMakeLists.txt
new file mode 100644
index 000000000000..45c77673bd4e
--- /dev/null
+++ b/devel/qlementine/files/patch-lib_CMakeLists.txt
@@ -0,0 +1,11 @@
+--- lib/CMakeLists.txt.orig 2025-04-29 09:35:15 UTC
++++ lib/CMakeLists.txt
+@@ -102,7 +102,7 @@ set(RESOURCES
+ )
+
+ # Create target.
+-qt_add_library(${PROJECT_NAME} STATIC
++qt_add_library(${PROJECT_NAME} SHARED
+ ${HEADERS}
+ ${SOURCES}
+ ${RESOURCES}
diff --git a/devel/qlementine/pkg-descr b/devel/qlementine/pkg-descr
new file mode 100644
index 000000000000..926843def50e
--- /dev/null
+++ b/devel/qlementine/pkg-descr
@@ -0,0 +1,2 @@
+Qlementine is a modern QStyle for desktop Qt6 applications,
+released under the MIT license.
diff --git a/devel/qlementine/pkg-plist b/devel/qlementine/pkg-plist
new file mode 100644
index 000000000000..dd09d25a655e
--- /dev/null
+++ b/devel/qlementine/pkg-plist
@@ -0,0 +1,55 @@
+include/oclero/qlementine.hpp
+include/oclero/qlementine/Common.hpp
+include/oclero/qlementine/animation/WidgetAnimation.hpp
+include/oclero/qlementine/animation/WidgetAnimationManager.hpp
+include/oclero/qlementine/animation/WidgetAnimator.hpp
+include/oclero/qlementine/resources/ResourceInitialization.hpp
+include/oclero/qlementine/style/Delegates.hpp
+include/oclero/qlementine/style/QlementineStyle.hpp
+include/oclero/qlementine/style/QlementineStyleOption.hpp
+include/oclero/qlementine/style/Theme.hpp
+include/oclero/qlementine/style/ThemeManager.hpp
+include/oclero/qlementine/tools/ThemeEditor.hpp
+include/oclero/qlementine/utils/BadgeUtils.hpp
+include/oclero/qlementine/utils/BlurUtils.hpp
+include/oclero/qlementine/utils/ColorUtils.hpp
+include/oclero/qlementine/utils/FontUtils.hpp
+include/oclero/qlementine/utils/GeometryUtils.hpp
+include/oclero/qlementine/utils/IconUtils.hpp
+include/oclero/qlementine/utils/ImageUtils.hpp
+include/oclero/qlementine/utils/LayoutUtils.hpp
+include/oclero/qlementine/utils/MenuUtils.hpp
+include/oclero/qlementine/utils/PrimitiveUtils.hpp
+include/oclero/qlementine/utils/RadiusesF.hpp
+include/oclero/qlementine/utils/StateUtils.hpp
+include/oclero/qlementine/utils/StyleUtils.hpp
+include/oclero/qlementine/utils/WidgetUtils.hpp
+include/oclero/qlementine/widgets/AboutDialog.hpp
+include/oclero/qlementine/widgets/AbstractItemListWidget.hpp
+include/oclero/qlementine/widgets/Action.hpp
+include/oclero/qlementine/widgets/ActionButton.hpp
+include/oclero/qlementine/widgets/ColorButton.hpp
+include/oclero/qlementine/widgets/ColorEditor.hpp
+include/oclero/qlementine/widgets/CommandLinkButton.hpp
+include/oclero/qlementine/widgets/Expander.hpp
+include/oclero/qlementine/widgets/FramelessWindow.hpp
+include/oclero/qlementine/widgets/IconWidget.hpp
+include/oclero/qlementine/widgets/Label.hpp
+include/oclero/qlementine/widgets/LineEdit.hpp
+include/oclero/qlementine/widgets/LoadingSpinner.hpp
+include/oclero/qlementine/widgets/Menu.hpp
+include/oclero/qlementine/widgets/NavigationBar.hpp
+include/oclero/qlementine/widgets/PlainTextEdit.hpp
+include/oclero/qlementine/widgets/Popover.hpp
+include/oclero/qlementine/widgets/PopoverButton.hpp
+include/oclero/qlementine/widgets/RoundedFocusFrame.hpp
+include/oclero/qlementine/widgets/SegmentedControl.hpp
+include/oclero/qlementine/widgets/StatusBadgeWidget.hpp
+include/oclero/qlementine/widgets/Switch.hpp
+lib/cmake/qlementine/qlementineConfig.cmake
+lib/cmake/qlementine/qlementineConfigVersion.cmake
+lib/cmake/qlementine/qlementineTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/qlementine/qlementineTargets.cmake
+lib/libqlementine.so
+lib/libqlementine.so.1
+lib/libqlementine.so.1.2