[packages/libyuv] up to 0.1875 (20231003 snap)

atler atler at pld-linux.org
Tue Oct 3 23:16:03 CEST 2023


commit 4e836f30c2f0d816b5a4b70ee2de94bffcd82e65
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Oct 3 23:11:23 2023 +0200

    up to 0.1875 (20231003 snap)

 libyuv.spec      |  8 ++++----
 shared-lib.patch | 12 ++----------
 2 files changed, 6 insertions(+), 14 deletions(-)
---
diff --git a/libyuv.spec b/libyuv.spec
index 49f458a..2d15fb4 100644
--- a/libyuv.spec
+++ b/libyuv.spec
@@ -6,9 +6,9 @@ Summary:	YUV conversion and scaling functionality library
 Summary(pl.UTF-8):	Biblioteka do konwersji i skalowania YUV
 Name:		libyuv
 # see include/libyuv/version.h
-%define	yuv_ver	1832
-%define	gitref	6900494d90ae095d44405cd4cc3f346971fa69c9
-%define	snap	20220629
+%define	yuv_ver	1875
+%define	gitref	a3b9c36eb96ee815c938716d7e9703604938f904
+%define	snap	20231003
 %define	rel	1
 Version:	0.%{yuv_ver}
 Release:	0.%{snap}.%{rel}
@@ -17,7 +17,7 @@ Group:		Development/Libraries
 # tarball is recreated on each download, so use dropin
 #Source0:	https://chromium.googlesource.com/libyuv/libyuv/+archive/%{gitref}.tar.gz?/%{name}-%{snap}.tar.gz
 Source0:	%{name}-%{snap}.tar.gz
-# Source0-md5:	73337a2054c180a82106dc9b9bfa9d7e
+# Source0-md5:	38583e17b44dc9f2d8881d8f1b4a1e42
 Source1:	%{name}.pc
 Patch0:		shared-lib.patch
 Patch1:		%{name}-simd.patch
diff --git a/shared-lib.patch b/shared-lib.patch
index c6401c4..f4fb81d 100644
--- a/shared-lib.patch
+++ b/shared-lib.patch
@@ -5,17 +5,9 @@
  SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" )
  SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES PREFIX "lib" )
 +SET_TARGET_PROPERTIES   ( ${ly_lib_shared} PROPERTIES VERSION 2.1755 SOVERSION 2 )
- 
- # this creates the conversion tool
- ADD_EXECUTABLE			( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
-@@ -39,6 +40,7 @@
- if (JPEG_FOUND)
-   include_directories( ${JPEG_INCLUDE_DIR} )
-   target_link_libraries( yuvconvert ${JPEG_LIBRARY} )
-+  target_link_libraries( ${ly_lib_shared} ${JPEG_LIBRARY} )
-   add_definitions( -DHAVE_JPEG )
+ if(WIN32)
+   SET_TARGET_PROPERTIES	( ${ly_lib_shared} PROPERTIES IMPORT_PREFIX "lib" )
  endif()
- 
 @@ -76,8 +78,8 @@
  
  # install the conversion tool, .so, .a, and all the header files
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libyuv.git/commitdiff/4e836f30c2f0d816b5a4b70ee2de94bffcd82e65



More information about the pld-cvs-commit mailing list