forked from pool/qimgv
Accepting request 563836 from home:alois:branches:graphics
- Initial package (v0.6) OBS-URL: https://build.opensuse.org/request/show/563836 OBS-URL: https://build.opensuse.org/package/show/graphics/qimgv?expand=0&rev=1
This commit is contained in:
commit
e3d64b9024
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
12
qimgv-0.6-no_return_in_nonvoid.patch
Normal file
12
qimgv-0.6-no_return_in_nonvoid.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: qimgv-0.6/gui/viewers/videoplayermpvproxy.cpp
|
||||
===================================================================
|
||||
--- qimgv-0.6.orig/gui/viewers/videoplayermpvproxy.cpp
|
||||
+++ qimgv-0.6/gui/viewers/videoplayermpvproxy.cpp
|
||||
@@ -24,6 +24,7 @@ inline void VideoPlayerMpvProxy::initPla
|
||||
bool VideoPlayerMpvProxy::openMedia(Clip *clip) {
|
||||
initPlayer();
|
||||
player->openMedia(clip);
|
||||
+ return NULL;
|
||||
}
|
||||
|
||||
void VideoPlayerMpvProxy::seek(int pos) {
|
13
qimgv-0.6-qt56.patch
Normal file
13
qimgv-0.6-qt56.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: qimgv-0.6/components/directorymanager/watchers/directorywatcher_p.h
|
||||
===================================================================
|
||||
--- qimgv-0.6.orig/components/directorymanager/watchers/directorywatcher_p.h
|
||||
+++ qimgv-0.6/components/directorymanager/watchers/directorywatcher_p.h
|
||||
@@ -11,6 +11,8 @@
|
||||
#include <QDir>
|
||||
#include <QTimerEvent>
|
||||
#include <QDir>
|
||||
+#include <QVariant>
|
||||
+#include <QSharedPointer>
|
||||
|
||||
class DirectoryWatcherPrivate : public QObject {
|
||||
Q_OBJECT
|
3
qimgv-0.6.tar.gz
Normal file
3
qimgv-0.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b4f5b5400e892ddcc1a417d8652eda25122b520308dd20fa9d9d5da4b5784892
|
||||
size 232586
|
4
qimgv.changes
Normal file
4
qimgv.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 12 09:29:51 UTC 2018 - aloisio@gmx.com
|
||||
|
||||
- Initial package (v0.6)
|
61
qimgv.spec
Normal file
61
qimgv.spec
Normal file
@ -0,0 +1,61 @@
|
||||
#
|
||||
# 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
|
||||
Release: 0
|
||||
Summary: Qt5 image viewer
|
||||
License: GPL-3.0
|
||||
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-qt56.patch
|
||||
Patch0: qimgv-0.6-qt56.patch
|
||||
# PATCH-FIX-UPSTREAM qimgv-0.6-no_return_in_nonvoid.patch
|
||||
Patch1: qimgv-0.6-no_return_in_nonvoid.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
|
||||
%patch0 -p1
|
||||
%patch1 -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
|
Loading…
Reference in New Issue
Block a user