aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2022-08-22 15:12:14 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2022-08-22 15:13:04 +0000
commitb717108d9c9d02739a27eaab29fc2445e13947f8 (patch)
tree32cf423c30df299448e2c1fa45605669b2e51872
parent768cec018708b988453582c6b6c7ca287b7120bc (diff)
downloadports-b717108d9c9d02739a27eaab29fc2445e13947f8.tar.gz
ports-b717108d9c9d02739a27eaab29fc2445e13947f8.zip
graphics/qt6-lottie: new port
This adds the missing Qt 6 lottie module to the tree. As with the rest of the Qt 6 ports, we first need to figure out what is actually required by other ports before we can finalize them.
-rw-r--r--Mk/Uses/qt-dist.mk2
-rw-r--r--Mk/Uses/qt.mk2
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/qt6-lottie/Makefile16
-rw-r--r--graphics/qt6-lottie/distinfo3
-rw-r--r--graphics/qt6-lottie/pkg-descr5
-rw-r--r--graphics/qt6-lottie/pkg-plist57
7 files changed, 84 insertions, 2 deletions
diff --git a/Mk/Uses/qt-dist.mk b/Mk/Uses/qt-dist.mk
index 013e70d16ab1..3d3ff38a321e 100644
--- a/Mk/Uses/qt-dist.mk
+++ b/Mk/Uses/qt-dist.mk
@@ -28,7 +28,7 @@ _QT5_DISTS= 3d activeqt androidextras base charts connectivity datavis3d \
serialport speech svg tools translations virtualkeyboard wayland \
webchannel webengine webglplugin websockets webview winextras \
x11extras xmlpatterns
-_QT6_DISTS= 3d 5compat base declarative doc imageformats multimedia quick3d quickcontrols2 \
+_QT6_DISTS= 3d 5compat base declarative doc imageformats lottie multimedia quick3d quickcontrols2 \
quicktimeline networkauth remoteobjects scxml sensors serialbus serialport shadertools svg tools \
translations virtualkeyboard webchannel webengine \
websockets webview wayland
diff --git a/Mk/Uses/qt.mk b/Mk/Uses/qt.mk
index 94b4a614883b..f7170c1ed036 100644
--- a/Mk/Uses/qt.mk
+++ b/Mk/Uses/qt.mk
@@ -150,7 +150,7 @@ _USE_QT5_ONLY= 3d buildtools charts concurrent connectivity \
scripttools sql sql-mysql sql-odbc sql-pgsql sql-sqlite2 \
sql-sqlite3 svg testlib webkit xml xmlpatterns
-_USE_QT6_ONLY= 3d 5compat base declarative doc imageformats quick3d \
+_USE_QT6_ONLY= 3d 5compat base declarative doc lottie imageformats quick3d \
quickcontrols2 quicktimeline networkauth remoteobjects scxml sensors \
serialbus serialport shadertools \
svg tools translations wayland webchannel websockets
diff --git a/graphics/Makefile b/graphics/Makefile
index 0e8140f4c31a..ca0056eeb158 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -960,6 +960,7 @@
SUBDIR += qt5-wayland
SUBDIR += qt6-3d
SUBDIR += qt6-imageformats
+ SUBDIR += qt6-lottie
SUBDIR += qt6-svg
SUBDIR += qt6-wayland
SUBDIR += qtawesome
diff --git a/graphics/qt6-lottie/Makefile b/graphics/qt6-lottie/Makefile
new file mode 100644
index 000000000000..d3f4fc4e8323
--- /dev/null
+++ b/graphics/qt6-lottie/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= lottie
+PORTVERSION= ${QT6_VERSION}
+CATEGORIES= graphics
+PKGNAMEPREFIX= qt6-
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Qt 6 player software for a certain json-based for 2d animations
+
+BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
+LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon
+
+USES= cmake compiler:c++11-lang gl pkgconfig qt-dist:6
+USE_GL= gl opengl
+USE_QT= base declarative websockets
+
+.include <bsd.port.mk>
diff --git a/graphics/qt6-lottie/distinfo b/graphics/qt6-lottie/distinfo
new file mode 100644
index 000000000000..4e129c891edc
--- /dev/null
+++ b/graphics/qt6-lottie/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661180778
+SHA256 (KDE/Qt/6.3.1/qtlottie-everywhere-src-6.3.1.tar.xz) = 740ba76999124d5e1a85ef3d01c69976bb8557862b6b26bf48b357fe0cab1cf5
+SIZE (KDE/Qt/6.3.1/qtlottie-everywhere-src-6.3.1.tar.xz) = 92344
diff --git a/graphics/qt6-lottie/pkg-descr b/graphics/qt6-lottie/pkg-descr
new file mode 100644
index 000000000000..14b81704c796
--- /dev/null
+++ b/graphics/qt6-lottie/pkg-descr
@@ -0,0 +1,5 @@
+Qt Lottie Animation provides a QML API for rendering graphics and animations
+that are exported in JSON format by the Bodymovin plugin for Adobe After
+Effects.
+
+WWW: https://qt.io
diff --git a/graphics/qt6-lottie/pkg-plist b/graphics/qt6-lottie/pkg-plist
new file mode 100644
index 000000000000..26535618d787
--- /dev/null
+++ b/graphics/qt6-lottie/pkg-plist
@@ -0,0 +1,57 @@
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/beziereasing_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmbase_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmbasictransform_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmconstants_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmellipse_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmfill_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmfilleffect_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmfreeformshape_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmgfill_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmgroup_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmimage_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmimagelayer_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmlayer_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmpathtrimmer_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmproperty_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmrect_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmrepeater_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmrepeatertransform_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmround_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmshape_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmshapelayer_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmshapetransform_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmspatialproperty_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmstroke_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/bmtrimpath_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/lottierenderer_p.h
+%%QT_INCDIR%%/QtBodymovin/%%FULLVER%%/QtBodymovin/private/trimpath_p.h
+%%QT_INCDIR%%/QtBodymovin/QtBodymovin
+%%QT_INCDIR%%/QtBodymovin/QtBodymovinDepends
+%%QT_INCDIR%%/QtBodymovin/QtBodymovinVersion
+%%QT_INCDIR%%/QtBodymovin/bmglobal.h
+%%QT_INCDIR%%/QtBodymovin/qtbodymovinversion.h
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateAdditionalTargetInfo.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateConfig.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateConfigVersion.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateConfigVersionImpl.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateDependencies.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateTargets.cmake
+lib/cmake/Qt6BodymovinPrivate/Qt6BodymovinPrivateVersionlessTargets.cmake
+lib/cmake/Qt6BuildInternals/StandaloneTests/QtLottieTestsConfig.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtpluginAdditionalTargetInfo.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtpluginConfig.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtpluginConfigVersion.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtpluginConfigVersionImpl.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtpluginTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/Qt6Qml/QmlPlugins/Qt6lottieqtpluginTargets.cmake
+%%QT_LIBDIR%%/libQt6Bodymovin.prl
+%%QT_LIBDIR%%/libQt6Bodymovin.so
+%%QT_LIBDIR%%/libQt6Bodymovin.so.6
+%%QT_LIBDIR%%/libQt6Bodymovin.so.%%FULLVER%%
+%%QT_LIBDIR%%/metatypes/qt6bodymovinprivate_%%CMAKE_BUILD_TYPE%%_metatypes.json
+%%QT_MKSPECDIR%%/modules/qt_lib_bodymovin_private.pri
+%%QT_QMLDIR%%/Qt/labs/lottieqt/liblottieqtplugin.so
+%%QT_QMLDIR%%/Qt/labs/lottieqt/plugins.qmltypes
+%%QT_QMLDIR%%/Qt/labs/lottieqt/qmldir
+%%QT_DATADIR%%/modules/BodymovinPrivate.json