qimgv/qimgv.spec
Luigi Baldoni 413553713a Accepting request 773398 from home:alois:branches:graphics
- Update to version 0.8.9
  What's new:
  * [FolderView] You can now edit / remove files right from
    folder view.
  * [FolderView] Scroll animations for keyboard navigation.
  * [Thumbnailer] Files are now stored as png. This fixes
    transparency in folder view.
  * [Panel] Scrollbar indicator.
  * [Viewer] Configurable zoom step.
  * [Viewer] Added another way to zoom: hold RMB and scroll.
  * [Viewer] Added expandLimit option.
  * Added jpeg save quality option.
  * Changed some default settings.
  * Updated theme & icons.
  Bug fixes:
  * Several bug fixes related to file operations.
  * Minor visual fixes.
  * Keyboard input fixes. All your keys should now work,
    including symbols accessible through shift.
  * Removed max zoom option.
  * [windows] Do not track subfolders.
  * [Thumbnailer] Fix for video files with % in file path.
  * [FolderView] Thumbnails are now always uncropped.
  * [FolderView] Fixes for mouse scrolling.
  * Fix some keyboard focus issues.
  * File format detection fixes.
  * Crash fixes.
- Refreshed qimgv-nosharedlib.patch and qimgv-PIE.patch
- Removed group tag

OBS-URL: https://build.opensuse.org/request/show/773398
OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=28
2020-02-11 09:38:19 +00:00

66 lines
1.9 KiB
RPMSpec

#
# spec file for package qimgv
#
# Copyright (c) 2020 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/
#
Name: qimgv
Version: 0.8.9
Release: 0
Summary: Qt5 image viewer
License: GPL-3.0-only
URL: https://github.com/easymodo/qimgv
Source0: https://github.com/easymodo/qimgv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FEATURE-OPENSUSE qimgv-nosharedlib.patch # aloisio@gmx.com build helper library statically
Patch0: qimgv-nosharedlib.patch
# PATCH-FEATURE-OPENSUSE qimgv-PIE.patch # aloisio@gmx.com add PIE flags
Patch1: qimgv-PIE.patch
BuildRequires: cmake >= 3.13
%if 0%{?suse_version} > 1500
BuildRequires: gcc-c++
%else
BuildRequires: gcc8-c++
%endif
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.9
BuildRequires: pkgconfig(Qt5Widgets) >= 5.9
BuildRequires: pkgconfig(exiv2)
BuildRequires: pkgconfig(mpv) >= 1.22.0
%description
Qt5 image viewer with webm support.
%prep
%autosetup -p1
%build
export CXX=g++
test -x "$(type -p g++-8)" && export CXX=g++-8
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%changelog