Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
X11:Utilities
timg
timg.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File timg.spec of Package timg
# # spec file for package timg # # 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 force_gcc_version 13 Name: timg Version: 1.6.0 Release: 0 Summary: Terminal image viewer License: GPL-2.0-only URL: https://github.com/hzeller/timg Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake %if 0%{?suse_version} < 1600 BuildRequires: gcc%{?force_gcc_version}-c++ %else BuildRequires: gcc-c++ %endif BuildRequires: pkgconfig(GraphicsMagick++) BuildRequires: pkgconfig(libavcodec) BuildRequires: pkgconfig(libavdevice) BuildRequires: pkgconfig(libavfilter) BuildRequires: pkgconfig(libavutil) BuildRequires: pkgconfig(libdeflate) BuildRequires: pkgconfig(libexif) BuildRequires: pkgconfig(librsvg-2.0) BuildRequires: pkgconfig(libsixel) BuildRequires: pkgconfig(libswresample) BuildRequires: pkgconfig(libswscale) BuildRequires: pkgconfig(libturbojpeg) BuildRequires: pkgconfig(poppler-glib) BuildRequires: pkgconfig(stb) %description A user-friendly terminal image viewer that uses graphic capabilities of terminals (Sixel, Kitty or iterm2), or 24-Bit color capabilities and unicode character blocks if these are not available. %prep %autosetup %build %if 0%{?suse_version} < 1600 export CXX="g++-%{?force_gcc_version}" %endif %cmake \ -DWITH_QOI_IMAGE=OFF \ -DTIMG_VERSION_FROM_GIT=OFF %{nil} %cmake_build %install %cmake_install %files %license LICENSE %doc README* %{_bindir}/%{name} %{_mandir}/man1/%{name}.1%{?ext_man} %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