From 314ce731e700d43f65016f85458a0ebb5d6a58e1 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 21 Jan 2023 19:45:11 -0500 Subject: [PATCH 1/3] New package: python3-lottie-0.7.0 --- srcpkgs/python3-lottie/template | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 srcpkgs/python3-lottie/template diff --git a/srcpkgs/python3-lottie/template b/srcpkgs/python3-lottie/template new file mode 100644 index 000000000000..7427f7ca2805 --- /dev/null +++ b/srcpkgs/python3-lottie/template @@ -0,0 +1,18 @@ +# Template file for 'python3-lottie' +pkgname=python3-lottie +version=0.7.0 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="Framework to work with lottie files and telegram animated stickers" +maintainer="classabbyamp " +license="AGPL-3.0-or-later" +homepage="https://mattbas.gitlab.io/python-lottie/" +changelog="https://gitlab.com/mattbas/python-lottie/-/raw/master/CHANGELOG.md" +distfiles="https://gitlab.com/mattbas/python-lottie/-/archive/v${version}/python-lottie-v${version}.tar.gz" +checksum=f57e6ad3ea2c8f337c8e188975e04d2cd7d3cea502bccd7896c438e84c140d64 +make_check=no # TypeError: Please update the Color constructor + +post_install() { + vlicense COPYING +} From 8fcec154526ecc689680039fb72318fdda2072c2 Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 21 Jan 2023 19:47:41 -0500 Subject: [PATCH 2/3] New package: glaxnimate-0.5.1 closes #40689 --- .../patches/no-vendor-breeze-lottie.patch | 25 +++++++++++ .../glaxnimate/patches/system-pybind11.patch | 23 ++++++++++ srcpkgs/glaxnimate/template | 42 +++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch create mode 100644 srcpkgs/glaxnimate/patches/system-pybind11.patch create mode 100644 srcpkgs/glaxnimate/template diff --git a/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch new file mode 100644 index 000000000000..dd6596a5aa13 --- /dev/null +++ b/srcpkgs/glaxnimate/patches/no-vendor-breeze-lottie.patch @@ -0,0 +1,25 @@ +--- a/glaxnimate-0.5.1/data/CMakeLists.txt ++++ b/glaxnimate-0.5.1/data/CMakeLists.txt +@@ -6,12 +6,6 @@ + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${ASSETS_PATH}) + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${ASSETS_PATH}) + else() +- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/) +- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/icons/breeze-icons/icons-dark DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/icons/) +- +- install(DIRECTORY icons/breeze-icons/icons DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE) +- install(DIRECTORY icons/breeze-icons/icons-dark DESTINATION ${DATA_INSTALL}/icons PATTERN *@* EXCLUDE) +- + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/images DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) + install(DIRECTORY images DESTINATION ${DATA_INSTALL}) + +@@ -21,9 +15,6 @@ + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/templates DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) + install(DIRECTORY templates DESTINATION ${DATA_INSTALL}) + +- file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/lib/python-lottie/lib/lottie DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/lib/) +- install(DIRECTORY lib/python-lottie/lib/lottie DESTINATION ${DATA_INSTALL}/lib/) +- + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/emoji DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) + install(DIRECTORY emoji DESTINATION ${DATA_INSTALL}) + endif() diff --git a/srcpkgs/glaxnimate/patches/system-pybind11.patch b/srcpkgs/glaxnimate/patches/system-pybind11.patch new file mode 100644 index 000000000000..d6e4b15c4962 --- /dev/null +++ b/srcpkgs/glaxnimate/patches/system-pybind11.patch @@ -0,0 +1,23 @@ +--- a/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt ++++ b/glaxnimate-0.5.1/external/QtAppSetup/CMakeLists.txt +@@ -31,11 +31,11 @@ + if(Python3_FOUND AND SCRIPTING_PY) + set(PYTHON_ENABLED ON PARENT_SCOPE) + message(STATUS "Python3 enabled") +- add_subdirectory(external/pybind11) ++ find_package(pybind11 REQUIRED) + add_subdirectory(src/app/scripting/python) + target_include_directories (${PROJECT_SLUG} PUBLIC + ${Python3_INCLUDE_DIRS} +- ${CMAKE_CURRENT_SOURCE_DIR}/external/pybind11/include ++ ${pybind11_INCLUDE_DIR} + ) + else() + set(PYTHON_ENABLED OFF PARENT_SCOPE) +--- a/glaxnimate-0.5.1/src/python/CMakeLists.txt ++++ b/glaxnimate-0.5.1/src/python/CMakeLists.txt +@@ -1,3 +1,4 @@ ++find_package(pybind11 REQUIRED) + set(SOURCES + python.cpp + miscdefs.cpp diff --git a/srcpkgs/glaxnimate/template b/srcpkgs/glaxnimate/template new file mode 100644 index 000000000000..19f2fc671f79 --- /dev/null +++ b/srcpkgs/glaxnimate/template @@ -0,0 +1,42 @@ +# Template file for 'glaxnimate' +pkgname=glaxnimate +version=0.5.1 +revision=1 +_cmake_modules_version=c97690cc0024a1842cd8de71334a2ee9c5f7e729 +_cmake_lib_version=8af80b5668dbc6a0210e09a969a1b43fc99f39ba +_color_widgets_version=091c29463bbeec1a672598af4597055ba24842cd +_history_lineedit_version=5b761f436e8b31491e06b26460d28a2eaef0babc +build_wrksrc="$pkgname-$version" +build_style=cmake +configure_args="-DVERSION_SUFFIX= -DSCRIPTING_JS=ON -DSCRIPTING_PY=ON + -Dpybind11_DIR=${XBPS_CROSS_BASE}/${py3_sitelib}/pybind11/share/cmake/pybind11/" +hostmakedepends="python3 qt5-qmake qt5-host-tools" +makedepends="qt5-devel qt5-tools-devel qt5-core qt5-widgets qt5-xml + qt5-concurrent qt5-network qt5-svg-devel potrace-devel python3-devel + python3-pybind11 ffmpeg-devel libarchive-devel" +depends="python3-lottie breeze-icons qt5-imageformats" +checkdepends="qt5-test" +short_desc="Simple vector animation program" +maintainer="classabbyamp " +license="GPL-3.0-or-later" +homepage="https://glaxnimate.mattbas.org" +changelog="https://gitlab.com/mattbas/glaxnimate/-/raw/master/CHANGELOG.md" +distfiles="https://gitlab.com/mattbas/glaxnimate/-/archive/${version}/glaxnimate-${version}.tar.gz + https://github.com/rpavlik/cmake-modules/archive/${_cmake_modules_version}.tar.gz + https://gitlab.com/mattbas/CMake-Lib/-/archive/${_cmake_lib_version}/CMake-Lib-${_cmake_lib_version}.tar.gz + https://gitlab.com/mattbas/Qt-Color-Widgets/-/archive/${_color_widgets_version}/Qt-Color-Widgets-${_color_widgets_version}.tar.gz + https://gitlab.com/mattbas/Qt-History-LineEdit/-/archive/${_history_lineedit_version}/Qt-History-LineEdit-${_history_lineedit_version}.tar.gz" +checksum="77d9bee22bb58f2a6ecd082adad06a092ee60d0eafbd3b4bd8ae93936a9274be + 5bc7ec244e7b53b1f7c20d5339ac4c83701d7b0e8b23ff1522d05fb495b76273 + ef7a6a963b6117f161a41b34d8c2488b030c953bc4de935d8d4c9fa28114ed57 + 6e2e36ebbdad9d7c89d7d5abb59bee4374b25cceeae1ec3353d3814b8a6b6ab9 + 00e63231f41f8f0c9274990c6d1fb394ffa7e7bc72c673defeb87479c2110ca9" + +post_extract() { + cd $build_wrksrc + rm -r cmake external/cmake-modules external/Qt-Color-Widgets external/Qt-History-LineEdit + cp -r ../CMake-Lib-${_cmake_lib_version}/ cmake + cp -r ../cmake-modules-${_cmake_modules_version}/ external/cmake-modules + cp -r ../Qt-Color-Widgets-${_color_widgets_version}/ external/Qt-Color-Widgets + cp -r ../Qt-History-LineEdit-${_history_lineedit_version}/ external/Qt-History-LineEdit +} From 97acaa55155eae410ee4ab6fa8e59a4e68cce75a Mon Sep 17 00:00:00 2001 From: classabbyamp Date: Sat, 21 Jan 2023 19:48:03 -0500 Subject: [PATCH 3/3] kdenlive: add missing dependencies --- srcpkgs/kdenlive/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/kdenlive/template b/srcpkgs/kdenlive/template index 8beba85981c9..5ab974797d56 100644 --- a/srcpkgs/kdenlive/template +++ b/srcpkgs/kdenlive/template @@ -1,7 +1,7 @@ # Template file for 'kdenlive' pkgname=kdenlive version=22.12.1 -revision=1 +revision=2 build_style=cmake hostmakedepends=" extra-cmake-modules kconfig kcoreaddons kdoctools pkg-config python3 @@ -10,7 +10,8 @@ makedepends=" kdeclarative-devel kfilemetadata5-devel knewstuff-devel knotifyconfig-devel kplotting-devel mlt7-devel qt5-multimedia-devel qt5-webkit-devel purpose-devel v4l-utils-devel ksolid-devel qt5-quickcontrols2-devel qt5-networkauth-devel" -depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols" +depends="breeze-icons dvdauthor ffmpeg frei0r-plugins kinit qt5-quickcontrols + kirigami2 mediainfo qt5-graphicaleffects" checkdepends="$depends" short_desc="Non-linear video editor" maintainer="Orphaned "