File gmic-gegl-plugin.spec of Package gmic-gegl-plugin

#
# spec file for package gmic-gegl-plugin
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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/
#

%bcond use_release 0

Name:           gmic-gegl-plugin
Version:        0.1.0
Release:        0
Summary:        Experimental GEGL code for calling G'MIC
License:        GPL-3.0-only
URL:            https://github.com/flatscrew/gmic-gegl-plugin
%if %{with use_release}
Source0:        https://github.com/flatscrew/gmic-gegl-plugin/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
%else
Source0:        %{name}-%{version}.tar.zst
%endif
BuildRequires:  zstd
BuildRequires:  gcc-c++
BuildRequires:  libgmic-devel
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  vala
BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  pkgconfig(gegl-0.4)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(template-glib-1.0)
BuildRequires:  pkgconfig(x11)
BuildSystem:    meson
BuildOption(prep): -p1

%description
Experimental GEGL code for calling G'MIC

%check
echo "fails currently with sigabrt in the build env"

%files
%license LICENSE
%doc README.md
%{_libdir}/gegl-0.4/gegl-gmic.so

%changelog
openSUSE Build Service is sponsored by