Accepting request 862969 from multimedia:libs
OBS-URL: https://build.opensuse.org/request/show/862969 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libavif?expand=0&rev=9
This commit is contained in:
commit
f3dd8a766f
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1b79ec439d446dfd659098d36401b4d2df77dd19d53d7d944ade7164b3ef28a2
|
|
||||||
size 2940396
|
|
3
libavif-0.8.4.tar.gz
Normal file
3
libavif-0.8.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:116b46a9a497c6ef178c5a20b912d8ac02f888dc8c537e40b5d16700823a9b16
|
||||||
|
size 2952844
|
@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 13 13:30:40 UTC 2021 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||||
|
|
||||||
|
- Build the gdk-pixbuf module: Add pkgconfig(gdk-pixbuf-2.0)
|
||||||
|
BuildRequires and pass DAVIF_BUILD_GDK_PIXBUF=ON to cmake.
|
||||||
|
Package the resulting loader in a new sub package.
|
||||||
|
- Use cmake_build macro.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 9 15:59:14 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
- Update to version 0.8.4
|
||||||
|
* See https://github.com/AOMediaCodec/libavif/blob/v0.8.4/CHANGELOG.md
|
||||||
|
for a complete changelog.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 15 08:17:41 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
|
Thu Oct 15 08:17:41 UTC 2020 - Andreas Schneider <asn@cryptomilk.org>
|
||||||
|
|
||||||
|
25
libavif.spec
25
libavif.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libavif
|
# spec file for package libavif
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
%bcond_without aom
|
%bcond_without aom
|
||||||
|
|
||||||
%define lib_name libavif7
|
%define lib_name libavif9
|
||||||
|
|
||||||
Name: libavif
|
Name: libavif
|
||||||
Version: 0.8.2
|
Version: 0.8.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for encoding and decoding .avif files
|
Summary: Library for encoding and decoding .avif files
|
||||||
License: BSD-2-Clause
|
License: BSD-2-Clause
|
||||||
@ -35,8 +35,10 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: libjpeg8-devel
|
BuildRequires: libjpeg8-devel
|
||||||
BuildRequires: nasm
|
BuildRequires: nasm
|
||||||
BuildRequires: pkgconfig(dav1d)
|
BuildRequires: pkgconfig(dav1d)
|
||||||
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
BuildRequires: pkgconfig(libpng)
|
BuildRequires: pkgconfig(libpng)
|
||||||
BuildRequires: pkgconfig(rav1e)
|
BuildRequires: pkgconfig(rav1e)
|
||||||
|
BuildRequires: pkgconfig(zlib)
|
||||||
|
|
||||||
%if %{with aom}
|
%if %{with aom}
|
||||||
BuildRequires: pkgconfig(aom) >= 2.0.0
|
BuildRequires: pkgconfig(aom) >= 2.0.0
|
||||||
@ -75,6 +77,13 @@ https://aomediacodec.github.io/av1-avif/
|
|||||||
|
|
||||||
This package holds the shared library for libavif.
|
This package holds the shared library for libavif.
|
||||||
|
|
||||||
|
%package -n gdk-pixbuf-loader-libavif
|
||||||
|
Summary: AVIF image loader for GTK+ applications
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n gdk-pixbuf-loader-libavif
|
||||||
|
A pixbuf-loader plugin to load AVIF images in GTK+ applications.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{lib_name} = %{version}-%{release}
|
Requires: %{lib_name} = %{version}-%{release}
|
||||||
#
|
#
|
||||||
@ -99,9 +108,10 @@ This package holds the development files for libavif.
|
|||||||
%if %{with aom}
|
%if %{with aom}
|
||||||
-DAVIF_CODEC_AOM:BOOL=ON \
|
-DAVIF_CODEC_AOM:BOOL=ON \
|
||||||
%endif
|
%endif
|
||||||
-DAVIF_BUILD_APPS:BOOL=ON \
|
-DAVIF_BUILD_APPS:BOOL=ON \
|
||||||
-DAVIF_BUILD_EXAMPLES:BOOL=ON
|
-DAVIF_BUILD_EXAMPLES:BOOL=ON \
|
||||||
make %{?_smp_mflags}
|
-DAVIF_BUILD_GDK_PIXBUF=ON
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
@ -126,4 +136,7 @@ make %{?_smp_mflags}
|
|||||||
%{_bindir}/avifdec
|
%{_bindir}/avifdec
|
||||||
%{_bindir}/avifenc
|
%{_bindir}/avifenc
|
||||||
|
|
||||||
|
%files -n gdk-pixbuf-loader-libavif
|
||||||
|
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-avif.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user