Accepting request 1007451 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/1007451
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libyuv?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2022-10-03 11:44:32 +00:00 committed by Git OBS Bridge
commit b4fc0d5624
3 changed files with 11 additions and 4 deletions

View File

@ -9,8 +9,8 @@ index 1832ad42..854aea7f 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -28,15 +28,9 @@ SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES PREFIX "lib" ) @@ -28,15 +28,9 @@ SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES PREFIX "lib" )
INCLUDE ( CM_linux_packages.cmake )
SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0 ) SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION ${YUV_VERSION} SOVERSION ${YUV_VER_MAJOR} )
-# this creates the conversion tool -# this creates the conversion tool
-ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc ) -ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )

View File

@ -8,11 +8,12 @@ diff --git a/CMakeLists.txt b/CMakeLists.txt
index ed4948f0..e1f87062 100644 index ed4948f0..e1f87062 100644
--- a/CMakeLists.txt --- a/CMakeLists.txt
+++ b/CMakeLists.txt +++ b/CMakeLists.txt
@@ -30,6 +30,8 @@ ADD_LIBRARY ( ${ly_lib_shared} SHARED ${ly_source_files} ) @@ -30,6 +30,9 @@ ADD_LIBRARY ( ${ly_lib_shared} SHARED ${ly_source_files} )
SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES OUTPUT_NAME "${ly_lib_name}" ) 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 PREFIX "lib" )
+SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION "0.0.0" SOVERSION 0 ) +INCLUDE ( CM_linux_packages.cmake )
+SET_TARGET_PROPERTIES ( ${ly_lib_shared} PROPERTIES VERSION ${YUV_VERSION} SOVERSION ${YUV_VER_MAJOR} )
+ +
# this creates the conversion tool # this creates the conversion tool
ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc ) ADD_EXECUTABLE ( yuvconvert ${ly_base_dir}/util/yuvconvert.cc )

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Oct 1 13:03:58 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Use YUV_VERSION for library VERSION and YUV_VER_MAJOR for
SOVERSION
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Sep 25 12:22:58 UTC 2022 - Callum Farmer <gmbr3@opensuse.org> Sun Sep 25 12:22:58 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>