Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1228281b0c |
2 changed files with 15 additions and 1 deletions
11
mygui-add-missing-soname.patch
Normal file
11
mygui-add-missing-soname.patch
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
diff -up mygui-MyGUI3.4.3/Platforms/OpenGL/OpenGLPlatform/CMakeLists.txt.orig mygui-MyGUI3.4.3/Platforms/OpenGL/OpenGLPlatform/CMakeLists.txt
|
||||
--- mygui-MyGUI3.4.3/Platforms/OpenGL/OpenGLPlatform/CMakeLists.txt.orig 2023-08-06 23:45:08.000000000 +0200
|
||||
+++ mygui-MyGUI3.4.3/Platforms/OpenGL/OpenGLPlatform/CMakeLists.txt 2025-07-29 20:49:36.561869888 +0200
|
||||
@@ -41,6 +41,7 @@ link_directories(${OPENGL_LIB_DIR})
|
||||
install(FILES ${HEADER_FILES}
|
||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/MYGUI"
|
||||
)
|
||||
+set_target_properties(${PROJECTNAME} PROPERTIES VERSION ${MYGUI_VERSION} SOVERSION "${MYGUI_VERSION_MAJOR}.${MYGUI_VERSION_MINOR}.${MYGUI_VERSION_PATCH}")
|
||||
mygui_install_target(${PROJECTNAME} "")
|
||||
|
||||
if (MYGUI_HIGH_LEVEL_WARNINGS)
|
||||
|
|
@ -14,6 +14,7 @@ Source3: mygui-layouteditor.desktop
|
|||
Source4: mygui-imageeditor.desktop
|
||||
Source5: mygui-fonteditor.desktop
|
||||
Source6: mygui-skineditor.desktop
|
||||
Patch0: mygui-add-missing-soname.patch
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: cmake(SDL2)
|
||||
|
|
@ -68,6 +69,7 @@ renamed to be prefixed with mygui (ie mygui-LayoutEditor)
|
|||
|
||||
%prep
|
||||
%setup -qn %{name}-MyGUI%{version}
|
||||
%patch -P0 -p1 -b .orig
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -144,6 +146,8 @@ done
|
|||
%files
|
||||
%license COPYING.MIT
|
||||
%doc README.md
|
||||
%{_libdir}/libEditorFramework.so
|
||||
%{_libdir}/libMyGUI.OpenGLPlatform.so.%{version}
|
||||
%{_libdir}/libMyGUICommon.so.%{version}
|
||||
%{_libdir}/libMyGUIEngine.so.%{version}
|
||||
%dir %{_datadir}/MYGUI
|
||||
|
|
@ -154,7 +158,6 @@ done
|
|||
|
||||
%files devel
|
||||
%{_includedir}/MYGUI
|
||||
%{_libdir}/libEditorFramework.so
|
||||
%{_libdir}/libMyGUI.OpenGLPlatform.so
|
||||
%{_libdir}/libMyGUICommon.so
|
||||
%{_libdir}/libMyGUIEngine.so
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue