SHA256
1
0
forked from pool/ART
Files
ART/ART.spec
OBS User smolsheep 1a87f46c6c Accepting request 1191813 from home:smolsheep:upgrades
- Update to 1.23:
  * updated translations: Deutsch, Francais, Maygar, Catala
  * updated camera matrices:
    FUJIFILM GFX 100S II, FUJIFILM X-T50, GOOGLE PIXEL 8A FRONT
    CAMERA, GOOGLE PIXEL 8A ULTRAWIDE CAMERA, GOOGLE PIXEL 8A WIDE
    CAMERA, IPAD14,10 BACK CAMERA, IPAD14,11 BACK CAMERA, IPAD14,8
    BACK CAMERA, IPAD14,9 BACK CAMERA, IPAD16,3 BACK CAMERA,
    IPAD16,4 BACK CAMERA, IPAD16,5 BACK CAMERA, IPAD16,6 BACK
    CAMERA, PANASONIC DC-GH7, PANASONIC DC-S9, SONY XPERIA 1 VI
    FRONT CAMERA, SONY XPERIA 1 VI ULTRAWIDE CAMERA, SONY XPERIA 1
    VI WIDE CAMERA, SONY XPERIA 1 VI ZOOM CAMERA, SONY XPERIA 5 V
    FRONT CAMERA, SONY XPERIA 5 V ULTRAWIDE CAMERA, SONY XPERIA 5 V
    WIDE CAMERA
  * more fine tuning to curve support in CTL scripts
  * CTL scripts: started adding support for curve type parameters
  * CTL scripts: improved GUI customizability for curve parameters
  * metadata panel: added word wrapping for processing notes
  * added support to saving notes in the arp sidecars
  * adjuster: reverted "double click to reset" behaviour for spin
    buttons as it was buggy
  * adjuster: exclude the spin buttons from the "double-click to
    reset" effect

OBS-URL: https://build.opensuse.org/request/show/1191813
OBS-URL: https://build.opensuse.org/package/show/graphics/ART?expand=0&rev=47
2024-08-06 06:25:33 +00:00

134 lines
4.5 KiB
RPMSpec

#
# spec file for package ART
#
# 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/
#
%if 0%{?suse_version} && 0%{?suse_version} < 1590
%global force_gcc_version 12
%endif
Name: ART
Version: 1.23
Release: 0
Summary: Rawtherapee fork with masks and simplified UI
License: GPL-3.0-only
URL: https://bitbucket.org/agriggio/art/wiki/Home
Source: https://bitbucket.org/agriggio/art/downloads/%{name}-%{version}.tar.xz
Source1: https://bitbucket.org/agriggio/art/downloads/%{name}-%{version}.tar.xz.asc
# https://keys.openpgp.org/vks/v1/by-fingerprint/942FCFB1CBE1E38928A1A6BEA94D951156835A5D
Source2: %{name}.keyring
BuildRequires: OpenColorIO-devel
%if 0%{?suse_version} > 1590
BuildRequires: ctl-devel
%endif
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gcc%{?force_gcc_version}-c++ >= 12
BuildRequires: glibmm2-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libraw-devel
BuildRequires: mimalloc-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(exiv2)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(fftw3)
BuildRequires: pkgconfig(fftw3f)
BuildRequires: pkgconfig(fftw3l)
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gdk-3.0)
BuildRequires: pkgconfig(gdk-broadway-3.0)
BuildRequires: pkgconfig(gdk-wayland-3.0)
BuildRequires: pkgconfig(gdk-x11-3.0)
BuildRequires: pkgconfig(gdkmm-3.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gmodule-export-2.0)
BuildRequires: pkgconfig(gmodule-no-export-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(gtk+-broadway-3.0)
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(gtk+-wayland-3.0)
BuildRequires: pkgconfig(gtk+-x11-3.0)
BuildRequires: pkgconfig(gtkmm-3.0)
BuildRequires: pkgconfig(lcms2)
BuildRequires: pkgconfig(lensfun)
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(libiptcdata)
BuildRequires: pkgconfig(libprofiler)
BuildRequires: pkgconfig(librsvg-2.0)
BuildRequires: pkgconfig(libtcmalloc)
BuildRequires: pkgconfig(libtcmalloc_debug)
BuildRequires: pkgconfig(libtcmalloc_minimal)
BuildRequires: pkgconfig(libtcmalloc_minimal_debug)
BuildRequires: pkgconfig(libtiff-4)
BuildRequires: pkgconfig(zlib)
%description
A free, open-source, cross-platform raw image processing program. ART is a derivative of the popular RawTherapee, trading a bit of customization and control over various processing parameters for a simpler and (hopefully) easier to use interface, while still maintaining the power and quality of RawTherapee.
%prep
%autosetup -p1
%build
# Upstream recommended '-O3' optimisation, do not change
export CFLAGS="%(echo %{optflags} | sed 's/-O2/-O3/' | sed 's/-D_FORTIFY_SOURCE=2/-D_FORTIFY_SOURCE=3/')"
export CXXFLAGS="$CFLAGS"
export CC=gcc
export CXX=gcc
%cmake \
%if 0%{?force_gcc_version}
-DCMAKE_CXX_COMPILER=%{_bindir}/g++-%{?force_gcc_version} \
%endif
-DCMAKE_SHARED_LINKER_FLAGS="-Wl,--as-needed -Wl,-z,now" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
-DCMAKE_C_FLAGS="$CFLAGS" \
-DCACHE_NAME_SUFFIX="" \
-DENABLE_LIBRAW="ON" \
%if 0%{?suse_version} > 1590
-DENABLE_CTL="ON" \
-DCTL_INCLUDE_DIR="%{_includedir}/CTL" \
%endif
-DENABLE_OCIO="ON"
%cmake_build
%install
%cmake_install
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/%{name}.desktop
mkdir -p %{buildroot}%{_docdir}
mv %{buildroot}%{_datadir}/doc/%{name} %{buildroot}%{_docdir}/%{name}
%fdupes %{buildroot}/%{_prefix}
%files
%{_bindir}/ART
%{_bindir}/ART-cli
%{_libdir}/librtengine.so
%{_datadir}/%{name}/
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/applications/%{name}.desktop
%{_mandir}/*/%{name}*
%{_docdir}/%{name}
%changelog