glaxnimate, bump to version 0.6.0 (#13791)

This commit is contained in:
Schrijvers Luc
2026-03-03 16:24:03 +01:00
committed by GitHub
parent bcf7680e3f
commit 1be23a208c
2 changed files with 54 additions and 86 deletions

View File

@@ -3,47 +3,31 @@ DESCRIPTION="Glaxnimate is a powerful and user-friendly desktop application for
animation and motion design. It focuses on Lottie and SVG and provides an intuitive \
interface that makes it easy to create stunning animations."
HOMEPAGE="https://glaxnimate.mattbas.org/"
COPYRIGHT="2024 Mattia Basaglia"
COPYRIGHT="2026 Mattia Basaglia"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://invent.kde.org/graphics/glaxnimate/-/archive/$portVersion/glaxnimate-$portVersion.tar.bz2"
CHECKSUM_SHA256="324e719e3c2a8dbb179d69a34f341dd6e028d9a7d98000ce942ffabd922da92f"
SOURCE_URI="https://download.kde.org/stable/glaxnimate/$portVersion/glaxnimate-$portVersion.tar.xz"
CHECKSUM_SHA256="4fe5e4d48124d499aab318c932884e3e98da2fd279399c3ba3c6a4d1e07de94a"
srcGitRev2="3b445d91fd4620542162f35ccc6bf14533a76321"
SOURCE_URI_2="https://gitlab.com/mattbas/CMake-Lib/-/archive/${srcGitRev2}/CMake-Lib-${srcGitRev2}.tar.bz2"
CHECKSUM_SHA256_2="318d6540ca35168e69e91726b988a47c34b5a38b4b1823a186b46bdd4f3a1cac"
srcGitRev3="9b7321a905291842bbdb91ffdf40d9f71c8bf313"
srcGitRev3="4f3c7e2af8e3138d89533475af66df42ccf08ef8"
SOURCE_URI_3="https://gitlab.com/mattbas/Qt-Color-Widgets/-/archive/${srcGitRev3}/Qt-Color-Widgets-${srcGitRev3}.tar.bz2"
CHECKSUM_SHA256_3="d6a5978d764cb5e4fba4639c27a03ed0b7f56031811b0fe884b064a07348fbe9"
CHECKSUM_SHA256_3="d924c965b8a034c55b5207e3bfedb8d1c2fabbb2cc5dd5e1f0909b17bb7341b3"
srcGitRev4="5b761f436e8b31491e06b26460d28a2eaef0babc"
SOURCE_URI_4="https://gitlab.com/mattbas/Qt-History-LineEdit/-/archive/${srcGitRev4}/Qt-History-LineEdit-${srcGitRev4}.tar.bz2"
CHECKSUM_SHA256_4="6296f92c97bfb284beac6c6162b8594078ef25cccc56789a29be63336ad4c9d5"
srcGitRev4="a2e59f0e7065404b44dfe92a28aca47ba1378dc4"
SOURCE_URI_4="https://github.com/pybind/pybind11/archive/${srcGitRev4}.tar.gz"
SOURCE_FILENAME_4="pybind11-${srcGitRev4}.tar.gz"
SOURCE_DIR_4="pybind11-${srcGitRev4}"
CHECKSUM_SHA256_4="1da0a5c38950e4f49329e9de10c59b2527840a1b963113f1c53b455971cd6aef"
srcGitRev5="c97690cc0024a1842cd8de71334a2ee9c5f7e729"
SOURCE_URI_5="https://github.com/rpavlik/cmake-modules/archive/${srcGitRev5}.tar.gz"
SOURCE_FILENAME_5="cmake-modules-${srcGitRev5}.tar.gz"
SOURCE_DIR_5="cmake-modules-${srcGitRev5}"
CHECKSUM_SHA256_5="5bc7ec244e7b53b1f7c20d5339ac4c83701d7b0e8b23ff1522d05fb495b76273"
srcGitRev6="80dc998efced8ceb2be59756668a7e90e8bef917"
SOURCE_URI_6="https://github.com/pybind/pybind11/archive/${srcGitRev6}.tar.gz"
SOURCE_FILENAME_6="pybind11-${srcGitRev6}.tar.gz"
SOURCE_DIR_6="pybind11-${srcGitRev6}"
CHECKSUM_SHA256_6="aa4d57f8c3c4fb47d75e1d676167966a8aa7cbb014e4d20813adabc93bd6670a"
srcGitRev7="9e742aadb5ca7d0e8c9b01b2553c0a81de238ae4"
SOURCE_URI_7="https://gitlab.com/mattbas/python-lottie/-/archive/${srcGitRev7}/python-lottie-${srcGitRev7}.tar.bz2"
SOURCE_FILENAME_7="python-lottie-${srcGitRev7}.tar.gz"
SOURCE_DIR_7="python-lottie-${srcGitRev7}"
CHECKSUM_SHA256_7="c5825e9fe98fae136c7d7c2039ea08c8fe691e25cd0bc1e286f58d7e23134b86"
srcGitRev8="292a4c2b41ff94a33e06808df587900567c2a423"
SOURCE_URI_8="https://github.com/KDE/breeze-icons/archive/${srcGitRev8}.tar.gz"
SOURCE_FILENAME_8="breeze-icons-${srcGitRev8}.tar.gz"
SOURCE_DIR_8="breeze-icons-${srcGitRev8}"
CHECKSUM_SHA256_8="4d64734ca485a895c9e02d2ad8cf103b0b53c74553999e7da29ca4d725438f55"
srcGitRev5="9e742aadb5ca7d0e8c9b01b2553c0a81de238ae4"
SOURCE_URI_5="https://gitlab.com/mattbas/python-lottie/-/archive/${srcGitRev5}/python-lottie-${srcGitRev5}.tar.bz2"
SOURCE_FILENAME_5="python-lottie-${srcGitRev5}.tar.gz"
SOURCE_DIR_5="python-lottie-${srcGitRev5}"
CHECKSUM_SHA256_5="c5825e9fe98fae136c7d7c2039ea08c8fe691e25cd0bc1e286f58d7e23134b86"
PATCHES="glaxnimate-$portVersion.patchset"
ADDITIONAL_FILES="glaxnimate.rdef.in"
@@ -57,12 +41,27 @@ PROVIDES="
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libarchive$secondaryArchSuffix
lib:libavcodec$secondaryArchSuffix
lib:libavformat$secondaryArchSuffix
lib:libavutil$secondaryArchSuffix
lib:libpotrace$secondaryArchSuffix
lib:libpython3.10$secondaryArchSuffix
# KF6
lib:libKF6Archive$secondaryArchSuffix
lib:libKF6ColorScheme$secondaryArchSuffix
lib:libKF6Completion$secondaryArchSuffix
lib:libKF6ConfigCore$secondaryArchSuffix
lib:libKF6ConfigWidgets$secondaryArchSuffix
lib:libKF6CoreAddons$secondaryArchSuffix
lib:libkF6Crash$secondaryArchSuffix
lib:libKF6GuiAddons$secondaryArchSuffix
lib:libKF6I18n$secondaryArchSuffix
lib:libKF6IconThemes$secondaryArchSuffix
lib:libKF6WidgetsAddons$secondaryArchSuffix
lib:libKF6XmlGui$secondaryArchSuffix
# Qt6
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Network$secondaryArchSuffix
@@ -77,26 +76,38 @@ REQUIRES="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
ffmpeg5${secondaryArchSuffix}_devel
qt6_tools${secondaryArchSuffix}_devel
devel:libarchive$secondaryArchSuffix
# devel:libavcodec$secondaryArchSuffix >= 59
devel:libpotrace$secondaryArchSuffix
devel:libpython3.10$secondaryArchSuffix
devel:libz$secondaryArchSuffix
# KF6
extra_cmake_modules$secondaryArchSuffix
devel:libKF6Archive$secondaryArchSuffix
devel:libKF6Completion$secondaryArchSuffix
devel:libKF6ConfigCore$secondaryArchSuffix
devel:libKF6CoreAddons$secondaryArchSuffix
devel:libkF6Crash$secondaryArchSuffix
devel:libKF6I18n$secondaryArchSuffix
devel:libKF6IconThemes$secondaryArchSuffix
devel:libKF6WidgetsAddons$secondaryArchSuffix
devel:libKF6XmlGui$secondaryArchSuffix
# Qt6
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Gui$secondaryArchSuffix
devel:libQt6Network$secondaryArchSuffix
devel:libQt6Svg$secondaryArchSuffix
devel:libQt6UiTools$secondaryArchSuffix
devel:libQt6Widgets$secondaryArchSuffix
devel:libQt6Xml$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:g++$secondaryArchSuffix
cmd:git
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:msgfmt$secondaryArchSuffix
cmd:msgmerge$secondaryArchSuffix
cmd:python3.10
"
@@ -108,25 +119,13 @@ BUILD()
rm -rf $sourceDir/external/Qt-Color-Widgets
ln -s $sourceDir3/Qt-Color-Widgets-${srcGitRev3} $sourceDir/external/Qt-Color-Widgets
rm -rf $sourceDir/external/Qt-History-LineEdit
ln -s $sourceDir4/Qt-History-LineEdit-${srcGitRev4} $sourceDir/external/Qt-History-LineEdit
rm -rf $sourceDir/external/cmake-modules
ln -s $sourceDir5 $sourceDir/external/cmake-modules
rm -rf $sourceDir/external/QtAppSetup/external/pybind11
ln -s $sourceDir6 $sourceDir/external/QtAppSetup/external/pybind11
ln -s $sourceDir4 $sourceDir/external/QtAppSetup/external/pybind11
rm -rf $sourceDir/data/lib/python-lottie
ln -s $sourceDir7 $sourceDir/data/lib/python-lottie
ln -s $sourceDir5 $sourceDir/data/lib/python-lottie
rm -rf $sourceDir/data/icons/breeze-icons
ln -s $sourceDir8 $sourceDir/data/icons/breeze-icons
mkdir -p build
cd build
cmake .. \
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$appsDir \
-DCMAKE_INSTALL_DATADIR=$dataDir \
@@ -136,16 +135,15 @@ BUILD()
-DCMAKE_CXX_FLAGS="-D_BS_SOURCE -fPIC" \
-DCMAKE_EXE_LINKER_FLAGS="-lbsd -lnetwork" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DBUILD_WITH_QT6=ON \
-Wno-dev
make $jobArgs
make translations
make -C build $jobArgs
}
INSTALL()
{
cd build
make install
make -C build install
mkdir -p $dataDir/glaxnimate
mv $appsDir/share/glaxnimate/glaxnimate $dataDir/glaxnimate
@@ -155,7 +153,7 @@ INSTALL()
local APP_SIGNATURE="application/x-vnd.kde-glaxnimate"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local LONG_INFO="$SUMMARY"
sed \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \

View File

@@ -22,33 +22,3 @@ index cc282f4..26b641e 100644
--
2.43.2
From 31c11bb3fb0dcf3e5562c3ac8139b5fa4637f7d7 Mon Sep 17 00:00:00 2001
From: Gerasim Troeglazov <3dEyes@gmail.com>
Date: Sun, 24 Mar 2024 22:20:34 +1000
Subject: Defailt icon theme
diff --git a/src/gui/glaxnimate_app.cpp b/src/gui/glaxnimate_app.cpp
index 2b989fd..314bf99 100644
--- a/src/gui/glaxnimate_app.cpp
+++ b/src/gui/glaxnimate_app.cpp
@@ -89,11 +89,15 @@ static QVariantMap avail_icon_themes()
static QString default_icon_theme()
{
+#ifdef Q_OS_HAIKU
+ return "haiku";
+#else
QPalette palette = QGuiApplication::palette();
if ( palette.color(QPalette::Button).value() < 100 )
return "icons-dark";
else
return "icons";
+#endif
}
static void set_icon_theme(const QVariant& v)
--
2.43.2