Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Leap:15.5:Update
rssguard
rssguard-4.2.2-add_library_version.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rssguard-4.2.2-add_library_version.patch of Package rssguard
Index: rssguard-4.2.5/src/librssguard/CMakeLists.txt =================================================================== --- rssguard-4.2.5.orig/src/librssguard/CMakeLists.txt +++ rssguard-4.2.5/src/librssguard/CMakeLists.txt @@ -527,11 +527,11 @@ if(WIN32) list(APPEND SOURCES "${CMAKE_BINARY_DIR}/rssguard.rc") endif() -add_library(rssguard SHARED ${SOURCES} ${QM_FILES}) +add_library(rssguard-${APP_VERSION} SHARED ${SOURCES} ${QM_FILES}) # Bundle icons on some platforms which do not provide system-wide icon themes. if(FORCE_BUNDLE_ICONS) - target_compile_definitions(rssguard + target_compile_definitions(rssguard-${APP_VERSION} PRIVATE FORCE_BUNDLE_ICONS @@ -542,7 +542,7 @@ endif() # Add OAuth services definitions. if(NOT FEEDLY_CLIENT_ID STREQUAL "" AND NOT FEEDLY_CLIENT_SECRET STREQUAL "") - target_compile_definitions(rssguard + target_compile_definitions(rssguard-${APP_VERSION} PRIVATE FEEDLY_OFFICIAL_SUPPORT @@ -556,7 +556,7 @@ else() endif() if(NOT GMAIL_CLIENT_ID STREQUAL "" AND NOT GMAIL_CLIENT_SECRET STREQUAL "") - target_compile_definitions(rssguard + target_compile_definitions(rssguard-${APP_VERSION} PRIVATE GMAIL_OFFICIAL_SUPPORT @@ -570,7 +570,7 @@ else() endif() if(NOT INOREADER_CLIENT_ID STREQUAL "" AND NOT INOREADER_CLIENT_SECRET STREQUAL "") - target_compile_definitions(rssguard + target_compile_definitions(rssguard-${APP_VERSION} PRIVATE INOREADER_OFFICIAL_SUPPORT @@ -584,7 +584,7 @@ else() endif() # Add specific definitions. -target_compile_definitions(rssguard +target_compile_definitions(rssguard-${APP_VERSION} PRIVATE RSSGUARD_DLLSPEC=Q_DECL_EXPORT @@ -600,7 +600,7 @@ target_compile_definitions(rssguard APP_URL_ISSUES_NEW="${APP_URL_ISSUES_NEW}" APP_USERAGENT="${APP_NAME}/${CMAKE_PROJECT_VERSION}") -target_include_directories(rssguard +target_include_directories(rssguard-${APP_VERSION} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/gui @@ -614,7 +614,7 @@ target_include_directories(rssguard ) # Qt. -target_link_libraries(rssguard PUBLIC +target_link_libraries(rssguard-${APP_VERSION} PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Network @@ -625,31 +625,31 @@ target_link_libraries(rssguard PUBLIC ) if(QT_VERSION_MAJOR EQUAL 6) - target_link_libraries(rssguard PUBLIC + target_link_libraries(rssguard-${APP_VERSION} PUBLIC Qt${QT_VERSION_MAJOR}::Core5Compat ) endif() if(USE_WEBENGINE) - target_link_libraries(rssguard PUBLIC + target_link_libraries(rssguard-${APP_VERSION} PUBLIC Qt${QT_VERSION_MAJOR}::WebEngineWidgets ) endif() if(WIN32 AND NOT BUILD_WITH_QT6) - target_link_libraries(rssguard PUBLIC + target_link_libraries(rssguard-${APP_VERSION} PUBLIC Qt${QT_VERSION_MAJOR}::WinExtras ) endif() if(NOT OS2) - target_link_libraries(rssguard PUBLIC + target_link_libraries(rssguard-${APP_VERSION} PUBLIC Qt${QT_VERSION_MAJOR}::Multimedia ) endif() if(UNIX AND NOT APPLE AND NOT ANDROID) - target_link_libraries(rssguard PUBLIC + target_link_libraries(rssguard-${APP_VERSION} PUBLIC Qt${QT_VERSION_MAJOR}::DBus ) endif() @@ -679,7 +679,7 @@ if(WIN32 OR OS2) ) elseif(UNIX AND NOT APPLE AND NOT ANDROID) include (GNUInstallDirs) - install(TARGETS rssguard + install(TARGETS rssguard-${APP_VERSION} DESTINATION ${CMAKE_INSTALL_LIBDIR} ) install(DIRECTORY services/abstract Index: rssguard-4.2.5/localization/CMakeLists.txt =================================================================== --- rssguard-4.2.5.orig/localization/CMakeLists.txt +++ rssguard-4.2.5/localization/CMakeLists.txt @@ -33,5 +33,5 @@ else() ) add_custom_target(rssguard_lrelease DEPENDS ${QM_FILES}) - add_dependencies(rssguard rssguard_lrelease) + add_dependencies(rssguard-${APP_VERSION} rssguard_lrelease) endif() Index: rssguard-4.2.5/src/rssguard/CMakeLists.txt =================================================================== --- rssguard-4.2.5.orig/src/rssguard/CMakeLists.txt +++ rssguard-4.2.5/src/rssguard/CMakeLists.txt @@ -21,7 +21,7 @@ target_link_libraries(app PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Gui Qt${QT_VERSION_MAJOR}::Widgets - rssguard + rssguard-${APP_VERSION} ) if(QT_VERSION_MAJOR EQUAL 6)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor