commit 1ebd348203a08b478e077455f662f78f7f24bbc9
Author: Leigh Scott <leigh123linux(a)googlemail.com>
Date: Mon Dec 3 01:52:22 2018 +0000
First build
.gitignore | 1 +
autogen-1.16.patch | 25 +++++++++++++++++++++++++
gimp-heif-plugin.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 72 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..361490a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/heif-gimp-plugin-libheif-v*.tar.gz
diff --git a/autogen-1.16.patch b/autogen-1.16.patch
new file mode 100644
index 0000000..ebe07bc
--- /dev/null
+++ b/autogen-1.16.patch
@@ -0,0 +1,25 @@
+From 114bb9670b18c76dc9f10a446488c7419a70c7e5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Peter=20Kov=C3=A1=C5=99?= <PeterKovar(a)Eaton.com>
+Date: Thu, 29 Nov 2018 12:31:42 +0100
+Subject: [PATCH] Updated autogen.sh to use automake-1.16
+
+---
+ autogen.sh | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/autogen.sh b/autogen.sh
+index 3852efd..620a261 100755
+--- a/autogen.sh
++++ b/autogen.sh
+@@ -56,7 +56,10 @@ else
+ fi
+
+ echo -n "checking for automake >= $AUTOMAKE_REQUIRED_VERSION ... "
+-if (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then
++if (automake-1.16 --version) < /dev/null > /dev/null 2>&1; then
++ AUTOMAKE=automake-1.16
++ ACLOCAL=aclocal-1.16
++elif (automake-1.15 --version) < /dev/null > /dev/null 2>&1; then
+ AUTOMAKE=automake-1.15
+ ACLOCAL=aclocal-1.15
+ elif (automake-1.14 --version) < /dev/null > /dev/null 2>&1; then
diff --git a/gimp-heif-plugin.spec b/gimp-heif-plugin.spec
new file mode 100644
index 0000000..454be78
--- /dev/null
+++ b/gimp-heif-plugin.spec
@@ -0,0 +1,45 @@
+Name: gimp-heif-plugin
+Version: 1.1.0
+Release: 1%{?dist}
+Summary: A plugin for loading and saving HEIF images
+
+License: GPLv3
+URL:
https://github.com/strukturag/heif-gimp-plugin/
+Source0:
%{url}/archive/libheif-v%{version}/heif-gimp-plugin-libheif-v%{version}.tar.gz
+Patch0:
%{url}/commit/114bb9670b18c76dc9f10a446488c7419a70c7e5.patch#/autogen-1.16.patch
+
+BuildRequires: autoconf
+BuildRequires: gcc
+BuildRequires: libtool
+BuildRequires: intltool
+BuildRequires: pkgconfig(gimp-2.0)
+BuildRequires: pkgconfig(libheif)
+
+%description
+This is a GIMP plugin for loading and saving HEIF images.
+HEIF is a image format using HEVC image coding for the best compression ratios.
+
+%prep
+%autosetup -p1 -n heif-gimp-plugin-libheif-v%{version}
+NOCONFIGURE=1 ./autogen.sh
+
+%build
+%configure
+%make_build
+
+
+%install
+%make_install
+%find_lang gimp20-heif-plugin
+
+
+%files -f gimp20-heif-plugin.lang
+%license COPYING
+%doc README.md
+%{_libdir}/gimp/2.0/plug-ins/heif-gimp-plugin
+%{_datadir}/gimp-heif-plugin/
+
+
+%changelog
+* Fri Nov 30 2018 Leigh Scott <leigh123linux(a)googlemail.com> - 1.1.0-1
+- First build
diff --git a/sources b/sources
index e69de29..7bac39e 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+27cca588ebc72ebdbfae5b7b5e6ffa61 heif-gimp-plugin-libheif-v1.1.0.tar.gz