libyuv/Use-a-proper-so-version.patch
Callum Farmer d54f168a1a Accepting request 1031571 from home:gmbr3:Active
- Update to version 20220920+f9fda6e:
  * Fix shift amount for SSSE3 assembly for I012 format conversions
  * 10/12 bit YUV replicate upper bits to low bits before converting to RGB
  * Fix immediate offsets for row_neon build on gcc
- Update to version 20220920+248172e:
  * I422ToRGB24, I422ToRAW, I422ToRGB24MatrixFilter conversion functions added.
  * Remove include resource.h for Fuchsia build
  * I420ToRGB24MatrixFilter function added
  * SSE2 MM21->YUY2 conversion
  * MM21ToYUY2 and  ABGRToJ420 conversion
  * AB64ToARGB fix for inplace conversion
  * Bump up version to 1838
  * Add I422ToRGB565Matrix
  * RAWToJ400 require multiple of 16 pixels for NEON
  * row_neon*: Explicitly initialize pad in RgbConstants
  * Fix MSVC warnings by adding casts
  * Define _CRT_SECURE_NO_WARNINGS if MSVC CRT is used
  * Reduce cmake verbosity and update min version
  * Set IMPORT_PREFIX to "lib" on Windows
  * Android.bp: Remove reference to LICENSE_THIRD_PARTY
  * Fix SSE2 version of ScalePlaneUp2_16_Bilinear
  * Disable bilinear 16 bit scale up for SSE2
  * Add .vpython3 to libyuv.
  * Switch from python to python3.

OBS-URL: https://build.opensuse.org/request/show/1031571
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libyuv?expand=0&rev=9
2022-10-27 15:09:39 +00:00

21 lines
700 B
Diff

From: Peter Lemenkov <lemenkov@gmail.com>
Date: Fri, 21 Sep 2018 12:45:55 +0200
Subject: [PATCH] Use a proper so-version
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed4948f0..e1f87062 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -37,6 +37,9 @@
SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES IMPORT_PREFIX "lib" )
endif()
+INCLUDE ( CM_linux_packages.cmake )
+SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION ${YUV_VERSION} SOVERSION ${YUV_VER_MAJOR} )
+
# this creates the conversion tool
ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )
TARGET_LINK_LIBRARIES ( yuvconvert ${ly_lib_static} )