Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:AndnoVember:LXQt:Qt6
ImageViewer
ImageViewer.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ImageViewer.spec of Package ImageViewer
# # spec file for package ImageViewer # # Copyright (c) 2024 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 _name com.github.aliencoweatcake.imageviewer Name: ImageViewer Version: @SERVICE@ Release: 0 Summary: Simple, cross-platform image viewer License: GPL-3.0-or-later Group: Productivity/Graphics/Viewers URL: https://github.com/AlienCowEatCake/ImageViewer Source0: %{name}-%{version}.tar.zst BuildRequires: FLIF-devel BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: giflib-devel BuildRequires: hicolor-icon-theme BuildRequires: jxrlib-devel BuildRequires: libjbig-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: cmake(NanoSVG) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Core5Compat) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6PrintSupport) BuildRequires: cmake(Qt6SvgWidgets) BuildRequires: cmake(Qt6WebEngineCore) BuildRequires: cmake(Qt6WebEngineQuick) BuildRequires: cmake(Qt6WebEngineWidgets) BuildRequires: cmake(Qt6Widgets) #uildRequires: pkgconfig(GraphicsMagick) #uildRequires: pkgconfig(GraphicsMagickWand) BuildRequires: pkgconfig(Lerc) BuildRequires: pkgconfig(MagickCore) BuildRequires: pkgconfig(MagickWand) BuildRequires: pkgconfig(OpenEXR) BuildRequires: pkgconfig(aom) BuildRequires: pkgconfig(exiv2) BuildRequires: pkgconfig(expat) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(jasper) BuildRequires: pkgconfig(lcms2) BuildRequires: pkgconfig(libavif) BuildRequires: pkgconfig(libbrotlidec) BuildRequires: pkgconfig(libde265) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(libheif) BuildRequires: pkgconfig(libhwy) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libjxl) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(libmng) BuildRequires: pkgconfig(libopenjp2) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(libraw) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libwmf) BuildRequires: pkgconfig(libzstd) BuildRequires: pkgconfig(zlib) Provides: bundled(libQtUtils) Provides: bundled(libtp_KImageFormats) Provides: bundled(libtp_NanoSVG) Provides: bundled(libtp_QtImageFormats) Provides: bundled(libtp_STB) %description Simple, cross-platform image viewer inspired by GPicView. Features: - Just a viewer, not an editor or organizer; - Support a large number of image formats; - Support an embedded ICC Profiles; - Support EXIF, XMP and other metadata; - Lightweight and fast; - Very suitable for default image viewer of desktop system; - Simple and intuitive interface; - Cross platform: GNU/Linux, macOS, Windows, Haiku and other systems; - Minimal external lib dependency: only pure Qt and system libraries are used; - Flexible and configurable; - Desktop independent: doesn't require any specific desktop environment; - Open source, licensed under GNU GPL v3 or later; %prep %autosetup sed -i '/xdg-open/d' src/%{name}/resources/platform/linux/%{_name}.desktop %build %qmake6 CONFIG+="release enable_pkgconfig" \ CONFIG+="system_aom system_brotli system_exiv2 system_flif" \ CONFIG+="system_freetype system_giflib system_highway system_jbigkit" \ CONFIG+="system_jxrlib system_kimageformats system_lerc" \ CONFIG+="system_libavif disable_libbpg system_libde265 system_libexif" \ CONFIG+="system_libexpat system_libheif system_libjasper" \ CONFIG+="system_libjpeg system_libjxl system_liblcms2 system_libmng" \ CONFIG+="system_libpng system_libraw system_librsvg system_libtiff" \ CONFIG+="system_libwebp system_libwmf system_openexr system_openjpeg" \ CONFIG+="system_qtimageformats system_stb system_xzutils system_zlib" \ CONFIG+="system_zstd" \ CONFIG+="disable_graphicsmagick disable_graphicsmagickwand" \ CONFIG+="enable_magickcore enable_magickwand" \ CONFIG+="enable_nanosvg enable_qmlwebengine enable_qtextended" \ CONFIG+="enable_qtwebengine enable_resvg" \ INCLUDEPATH+="%{_includedir}/jxrlib" \ INCLUDEPATH+="%{_includedir}/libde265" \ INCLUDEPATH+="%{_includedir}/nanosvg" \ INCLUDEPATH+="%{_includedir}/freetype2" \ INCLUDEPATH+="%{_includedir}/openjpeg-2.5" \ INCLUDEPATH+="%{_includedir}/aom" \ INCLUDEPATH+="%{_includedir}/brotli" \ INCLUDEPATH+="%{_includedir}/exiv2" \ INCLUDEPATH+="%{_includedir}/hwy" \ INCLUDEPATH+="%{_includedir}/jxrlib" \ INCLUDEPATH+="%{_includedir}/libexif" \ INCLUDEPATH+="%{_includedir}/libheif" \ INCLUDEPATH+="%{_includedir}/jasper" \ INCLUDEPATH+="%{_includedir}/jxl" \ INCLUDEPATH+="%{_includedir}/libraw" \ INCLUDEPATH+="%{_includedir}/librsvg-2.0" \ INCLUDEPATH+="%{_includedir}/webp" \ INCLUDEPATH+="%{_includedir}/libwmf" \ INCLUDEPATH+="%{_includedir}/OpenEXR" \ INCLUDEPATH+="%{_includedir}/openjpeg-2.5" \ INCLUDEPATH+="%{_includedir}/nanosvg" \ %{nil} %qmake6_build %install #qmake6_install install -Dm 0755 src/%{name}/%{name} -t %{buildroot}%{_bindir}/ install -Dm 0644 src/%{name}/resources/platform/linux/%{_name}.desktop -t %{buildroot}%{_datadir}/applications/ for i in 16 22 24 32 36 48 64 72 96 128 192 256 512 ; do install -Dm 0644 src/%{name}/resources/icon/icon_$i.png %{buildroot}%{_datadir}/icons/hicolor/$i\x$i/apps/%{_name}.png done install -Dm 0644 src/%{name}/resources/icon/icon.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/%{_name}.svg %files %doc README.md %{_bindir}/%{name} %{_datadir}/applications/%{_name}.desktop %{_datadir}/icons/hicolor/*/apps/%{_name}.??g %license LICENSE.GPLv3 %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor