- add glycin-loaders Requires: needed to open jxl and avif properly

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/identity?expand=0&rev=7
This commit is contained in:
Muhammad Akbar Yanuar Mantari 2024-10-23 14:59:57 +00:00 committed by Git OBS Bridge
commit d6d40c56b7
6 changed files with 147 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
identity-0.6.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f0a177dd1e399ab79cc0ed9265fc65903c7d54f2f4e906ecf6b687de3e502f73
size 37684100

3
identity-0.7.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:43dec5533b60aaa1b4d256d5d9879aa487b2115cef5f3f1818935dde9da284d6
size 38192672

36
identity.changes Normal file
View File

@ -0,0 +1,36 @@
-------------------------------------------------------------------
Wed Oct 23 14:51:23 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- add glycin-loaders Requires: needed to open jxl and avif properly
-------------------------------------------------------------------
Tue Oct 1 18:14:24 UTC 2024 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Update to Version 0.7.0
* Images are now loaded with glycin, adding support for many
more formats like AVIF and JPEG XL, and improving
compatibility, like using the correct color space for JPEG
images.
* Zoom level now takes into account fractional display scale.
* Fixed unusably fast zoom on mice with high-resolution scroll
wheels.
* Fixed slightly blurry image borders on some zoom levels.
* Added an Alt+Enter shortcut to open the media properties
dialog.
* Updated to the GNOME 47 platform.
* Updated translations.
- Add BuildRequires to build glycin:
* pkgconfig(libseccomp)
* pkgconfig(lcms2)
- Add meson_test to validate files
-------------------------------------------------------------------
Thu Dec 21 04:30:24 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Rename binary from identity to identity-compare
-------------------------------------------------------------------
Wed Dec 6 21:58:10 UTC 2023 - Muhammad Akbar Yanuar Mantari <mantarimay@pm.me>
- Initial package

81
identity.spec Normal file
View File

@ -0,0 +1,81 @@
#
# spec file for package identity
#
# Copyright (c) 2024 mantarimay
# Copyright (c) 2023 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/
#
%define _lto_cflags %{nil}
%define appid org.gnome.gitlab.YaLTeR.Identity
%define rurl abddc256d6b3b7fce433a40eae4588fe
Name: identity
Version: 0.7.0
Release: 0
Summary: Compare images and videos
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/YaLTeR/identity
Source: https://gitlab.gnome.org/-/project/12785/uploads/%{rurl}/%{name}-%{version}.tar.xz
BuildRequires: blueprint-compiler
BuildRequires: cargo-packaging
BuildRequires: desktop-file-utils
BuildRequires: gcc-c++
BuildRequires: meson
BuildRequires: pkgconfig
BuildRequires: pkgconfig(dav1d)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(libadwaita-1) >= 1.6.0
BuildRequires: pkgconfig(libwebpdemux)
BuildRequires: pkgconfig(libseccomp)
Requires: glycin-loaders
%description
A program for comparing multiple versions of an image or video.
%lang_package
%prep
%autosetup
sed -i "s/output: meson.project_name()/output: 'identity-compare'/g" src/meson.build
sed -i "s/Exec=identity/Exec=identity-compare/g" data/org.gnome.gitlab.YaLTeR.Identity.desktop.in.in
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name}
%check
%meson_test
%files
%license COPYING
%doc README.md
%{_bindir}/%{name}-compare
%{_datadir}/applications/%{appid}.desktop
%{_datadir}/%{name}/
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appid}*.svg
%{_datadir}/metainfo/%{appid}.metainfo.xml
%files lang -f %{name}.lang
%changelog