Update to libavif-0.5.7.
from Brad (maintainer)
This commit is contained in:
parent
a0cedb41e6
commit
65a3c5badc
@ -1,13 +1,13 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2020/03/03 21:15:51 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2020/03/04 07:28:28 ajacoutot Exp $
|
||||
|
||||
COMMENT= library for encoding and decoding .avif files
|
||||
|
||||
GH_ACCOUNT= AOMediaCodec
|
||||
GH_PROJECT= libavif
|
||||
GH_TAGNAME= v0.5.6
|
||||
GH_TAGNAME= v0.5.7
|
||||
CATEGORIES= graphics
|
||||
|
||||
SHARED_LIBS= avif 0.0
|
||||
SHARED_LIBS= avif 0.1
|
||||
|
||||
HOMEPAGE= https://github.com/AOMediaCodec/libavif
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (libavif-0.5.6.tar.gz) = sLhkqBcBl1eamTodCf64aZ4xwuI+1VMHzi1HWQodWcQ=
|
||||
SIZE (libavif-0.5.6.tar.gz) = 2860341
|
||||
SHA256 (libavif-0.5.7.tar.gz) = oTaW2h64dtabznekTVKnqwDkyLFpIlbEVzqiUFTJ92o=
|
||||
SIZE (libavif-0.5.7.tar.gz) = 2867204
|
||||
|
@ -1,28 +0,0 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.1.1.1 2020/03/03 21:15:51 sthen Exp $
|
||||
|
||||
- Use just -std=gnu99, not -std=c99 -std=gnu99.
|
||||
- Some cmake fixes for finding libararies.
|
||||
|
||||
Index: CMakeLists.txt
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -19,10 +19,6 @@ project(libavif LANGUAGES C VERSION 0.5.6)
|
||||
set(LIBRARY_VERSION "0.1.6")
|
||||
set(LIBRARY_SOVERSION "0")
|
||||
|
||||
-if(CMAKE_C_COMPILER_ID MATCHES "GNU")
|
||||
- add_definitions(-std=c99) # Enforce C99 for gcc
|
||||
-endif()
|
||||
-
|
||||
option(BUILD_SHARED_LIBS "Build shared avif library" ON)
|
||||
|
||||
option(AVIF_CODEC_AOM "Use the AOM codec for encoding (and decoding if no other decoder is present)" OFF)
|
||||
@@ -129,7 +125,7 @@ if(AVIF_CODEC_DAV1D)
|
||||
# Check to see if dav1d is independently being built by the outer CMake project
|
||||
if(NOT TARGET dav1d)
|
||||
find_package(dav1d REQUIRED)
|
||||
- include_directories(${DAV1D_INCLUDEDIR})
|
||||
+ include_directories(${DAV1D_INCLUDE_DIR})
|
||||
endif()
|
||||
set(AVIF_CODEC_LIBRARIES ${AVIF_CODEC_LIBRARIES} ${DAV1D_LIBRARY})
|
||||
endif()
|
@ -1,16 +0,0 @@
|
||||
$OpenBSD: patch-cmake_Modules_Findaom_cmake,v 1.1.1.1 2020/03/03 21:15:51 sthen Exp $
|
||||
|
||||
Some cmake fixes for finding libararies.
|
||||
|
||||
Index: cmake/Modules/Findaom.cmake
|
||||
--- cmake/Modules/Findaom.cmake.orig
|
||||
+++ cmake/Modules/Findaom.cmake
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
find_package(PkgConfig QUIET)
|
||||
if (PKG_CONFIG_FOUND)
|
||||
- pkg_check_modules(_DAV1D dav1d)
|
||||
+ pkg_check_modules(_AOM aom)
|
||||
endif (PKG_CONFIG_FOUND)
|
||||
|
||||
find_path(AOM_INCLUDE_DIR
|
@ -1,10 +1,10 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2020/03/03 21:15:51 sthen Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2020/03/04 07:28:28 ajacoutot Exp $
|
||||
include/avif/
|
||||
include/avif/avif.h
|
||||
include/avif/internal.h
|
||||
lib/cmake/
|
||||
lib/cmake/libavif/
|
||||
lib/cmake/libavif/libavif-config${MODCMAKE_BUILD_SUFFIX}
|
||||
lib/cmake/libavif/libavif-config-version.cmake
|
||||
lib/cmake/libavif/libavif-config.cmake
|
||||
@lib lib/libavif.so.${LIBavif_VERSION}
|
||||
lib/pkgconfig/libavif.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user