qimgv/qimgv.spec
Luigi Baldoni fa24e39852 Accepting request 616125 from home:alois:branches:graphics
- Update to version 0.6.3
  * You can now mirror images by pressing H / V keys.
  version 0.6.2
  * WebM/MP4 playback issues #49
  version 0.6.1
  * Initial HiDPI support. May be buggy.
  * Add scroll animation.
  * Add a checkbox for .mp4 playback.
  * Rewrite crop overlay logic.
  * Workaround for https://bugreports.qt.io/browse/QTBUG-66387
- Dropped qimgv-0.6-qt56.patch and
  qimgv-0.6-no_return_in_nonvoid.patch (merged upstream)
- Added qimgv-0.6-qt511.patch to fix build with Qt 5.11

OBS-URL: https://build.opensuse.org/request/show/616125
OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=3
2018-06-11 18:37:23 +00:00

59 lines
1.6 KiB
RPMSpec

#
# spec file for package qimgv
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: qimgv
Version: 0.6.3
Release: 0
Summary: Qt5 image viewer
License: GPL-3.0-only
Group: Productivity/Graphics/Viewers
Url: https://github.com/easymodo/qimgv
Source0: https://github.com/easymodo/qimgv/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM qimgv-0.6-qt511.patch
Patch2: qimgv-0.6-qt511.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: pkgconfig(Qt5Concurrent)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(mpv) >= 1.22.0
%description
Qt5 image viewer with webm support.
%prep
%setup -q
%patch2 -p1
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%changelog