File glaxnimate.spec of Package glaxnimate

#
# spec file for package glaxnimate
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.opensuse.org/
#


# No defined minimum version, picking relatively sane ones
%define kf6_version 6.5
%define qt6_version 6.6

%bcond_without released
Name:           glaxnimate
Version:        0.5.80
Release:        0
Summary:        Simple vector animation program
License:        GPL-3.0-or-later
URL:            https://glaxnimate.org/
Source0:        https://download.kde.org/unstable/glaxnimate/%{version}/glaxnimate-%{version}.tar.xz
%if %{with released}
Source1:        https://download.kde.org/unstable/glaxnimate/%{version}/glaxnimate-%{version}.tar.xz.sig
# https://invent.kde.org/sysadmin/release-keyring/-/blob/master/keys/jlskuz@key1.asc
Source2:        glaxnimate.keyring
%endif
BuildRequires:  doxygen
BuildRequires:  fdupes
BuildRequires:  kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires:  pkgconfig
BuildRequires:  potrace-devel
BuildRequires:  python3-devel
BuildRequires:  cmake(KF6Archive) >= %{kf6_version}
BuildRequires:  cmake(KF6BreezeIcons) >= %{kf6_version}
BuildRequires:  cmake(KF6Completion) >= %{kf6_version}
BuildRequires:  cmake(KF6Config) >= %{kf6_version}
BuildRequires:  cmake(KF6CoreAddons) >= %{kf6_version}
BuildRequires:  cmake(KF6Crash) >= %{kf6_version}
BuildRequires:  cmake(KF6I18n) >= %{kf6_version}
BuildRequires:  cmake(KF6IconThemes) >= %{kf6_version}
BuildRequires:  cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires:  cmake(KF6XmlGui) >= %{kf6_version}
BuildRequires:  cmake(Qt6Concurrent) >= %{qt6_version}
BuildRequires:  cmake(Qt6Core) >= %{qt6_version}
BuildRequires:  cmake(Qt6Network) >= %{qt6_version}
BuildRequires:  cmake(Qt6Svg) >= %{qt6_version}
BuildRequires:  cmake(Qt6UiTools) >= %{qt6_version}
BuildRequires:  cmake(Qt6Widgets) >= %{qt6_version}
BuildRequires:  cmake(Qt6Xml) >= %{qt6_version}
BuildRequires:  pkgconfig(libarchive)
BuildRequires:  pkgconfig(libavcodec)
BuildRequires:  pkgconfig(libavformat)
BuildRequires:  pkgconfig(libswscale)
BuildRequires:  pkgconfig(libavutil)
BuildRequires:  pkgconfig(zlib)

%description
Glaxnimate is a vector animation and motion design desktop application.

Features:
  * Tweening
  * Precompositions
  * Time Stretching
  * Motion Along Path
  * Shape Modifiers
  * Text Support
  * Animated Gradients
  * Raster to Vector
  * Scripting Support

Supported file formats:
  * Lottie
  * Animated SVG
  * Animated WebP
  * Animated Vector Drawables
  * RIVE
  * Video Export
  * Spritesheet Export

%lang_package

%prep
%autosetup -p1

%build
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE

%kf6_build

%install
%kf6_install

%fdupes %{buildroot}

%find_lang %{name}

%files
%license LICENSES/*
%doc AUTHORS.md CHANGELOG.md README.md
%{_kf6_applicationsdir}/org.kde.glaxnimate.desktop
%{_kf6_appstreamdir}/org.kde.glaxnimate.metainfo.xml
%{_kf6_bindir}/glaxnimate
%{_kf6_configkcfgdir}/glaxnimate_settings.kcfg
%{_kf6_iconsdir}/hicolor/*/apps/*glaxnimate.*
%{_kf6_sharedir}/glaxnimate/

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by