Scott Bradnick
9ebcab2b7f
- Cleaning up unused files - Removing 'qimgv-PIE.patch' and 'qimgv-includepath.patch' from use - Adding (temporarily?) CFLAGS so build is successful - Adding 'cmake(Qt5LinguistTools)' BuildRequires - Update to version 1.0.3a+git20220914.d24f3fa: * Update msys2-dll-deps.txt * crash fix * [msys2] update build script * add ukrainian translation * [contextmenu] use SetDefaultConstraint * revert to gl player for now * [settingsdialog] improve icons & minor stuff * [settingsdialog] some design polishing * new option - unlockMinZoom * layout tweaks, finish other settings pages * another settings mockup * [imageviewerv2] add fixed zoom levels option * croppanel - fix width * workaround qt6 scaling issue with QImage::Format_Indexed8 * [viewerwidget] 'Up' arrow switches to FIT_WIDTH useful for quickly reading content while browsing with arrows * [contextmenu] layout - scale to always fit contents * Update settings.cpp * fix overlays when using large font * (wip) adjust widget size to accomodate oversized fonts * use qt dpi rounding * settings window update * Core::loadTranslation() - fallback to applicationDirPath()/translations * [settings] readable language names * [settings] language selector, fix .qm loading OBS-URL: https://build.opensuse.org/request/show/1010299 OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=49
75 lines
2.0 KiB
RPMSpec
75 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package qimgv
|
|
#
|
|
# Copyright (c) 2022 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: 1.0.3a+git20220914.d24f3fa
|
|
Release: 0
|
|
Summary: Qt5 image viewer
|
|
License: GPL-3.0-only
|
|
Group: Productivity/Multimedia/Other
|
|
URL: https://github.com/easymodo/qimgv
|
|
Source0: %{name}-%{version}.tar.gz
|
|
BuildRequires: cmake >= 3.13
|
|
%if 0%{?suse_version} > 1500
|
|
BuildRequires: gcc-c++
|
|
%else
|
|
BuildRequires: gcc9-c++
|
|
%endif
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: opencv-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
BuildRequires: pkgconfig(Qt5Svg)
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.12
|
|
BuildRequires: pkgconfig(exiv2)
|
|
BuildRequires: pkgconfig(mpv) >= 1.22.0
|
|
Requires: mpv >= 0.32.0
|
|
|
|
%description
|
|
Qt5 image viewer with webm support.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
# Might be easier to pass "-fPIE" here vs. patch ...
|
|
export CXX=g++ CXXFLAGS="-Wno-error -fPIE"
|
|
test -x "$(type -p g++-9)" && export CXX=g++-9
|
|
%cmake
|
|
%make_jobs
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%doc README.md
|
|
%license LICENSE
|
|
%dir %{_datadir}/%{name}
|
|
%dir %{_datadir}/%{name}/translations
|
|
%{_bindir}/%{name}
|
|
%{_datadir}/applications/%{name}.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/%{name}.*
|
|
%{_libdir}/%{name}
|
|
%{_libdir}/%{name}/player_mpv.so
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
|
%{_datadir}/%{name}/translations/*
|
|
|
|
%changelog
|