From: classabbyamp <classabbyamp@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: glaxnimate-0.5.1
Date: Sun, 22 Jan 2023 01:50:29 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41792@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 785 bytes --]
There is a new pull request by classabbyamp against master on the void-packages repository
https://github.com/classabbyamp/void-packages new/glaxnimate
https://github.com/void-linux/void-packages/pull/41792
New package: glaxnimate-0.5.1
- New package: python3-lottie-0.7.0
- New package: glaxnimate-0.5.1
- kdenlive: add missing dependencies
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
A patch file from https://github.com/void-linux/void-packages/pull/41792.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-new/glaxnimate-41792.patch --]
[-- Type: text/x-diff, Size: 8543 bytes --]
From 63b56acc03476a5afb5ca2bb347056b0502840c6 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:45:11 -0500
Subject: [PATCH 1/3] New package: python3-lottie-0.7.0
---
srcpkgs/python3-lottie/template | 17 +++++++++++++++++
1 file changed, 17 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..c20b88cc0dda
--- /dev/null
+++ b/srcpkgs/python3-lottie/template
@@ -0,0 +1,17 @@
+# 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 <void@placeviolette.net>"
+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
+
+post_install() {
+ vlicense COPYING
+}
From 45a65a9913458536edf927c568e70d6aede86760 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 21 Jan 2023 19:47:41 -0500
Subject: [PATCH 2/3] New package: glaxnimate-0.5.1
---
.../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..d12bd835b86b
--- /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=/${py3_sitelib}/pybind11/share/cmake/pybind11/"
+# hostmakedepends=""
+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 <void@placeviolette.net>"
+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 14e9ead45e93da5719227c68a2ee456f0a0f83bb Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
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..edc8c8f5a031 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
+ glaxnimate mediainfo kirigami2"
checkdepends="$depends"
short_desc="Non-linear video editor"
maintainer="Orphaned <orphan@voidlinux.org>"
next reply other threads:[~2023-01-22 0:50 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-22 0:50 classabbyamp [this message]
2023-01-22 0:57 ` [PR PATCH] [Updated] " classabbyamp
2023-01-22 1:46 ` classabbyamp
2023-02-09 20:05 ` [PR REVIEW] " JamiKettunen
2023-02-09 21:10 ` classabbyamp
2023-02-09 21:12 ` [PR REVIEW] " JamiKettunen
2023-02-09 21:35 ` classabbyamp
2023-02-09 22:04 ` [PR PATCH] [Updated] " classabbyamp
2023-05-11 1:52 ` github-actions
2023-05-25 1:53 ` [PR PATCH] [Closed]: " github-actions
2023-06-10 13:51 ` Andonome
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41792@inbox.vuxu.org \
--to=classabbyamp@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).