Skip to content

Commit 6c4300c

Browse files
committed
CI/Flatpak: Simplify deps build
I'll probably drop it in the future since there was only one or two people who indicated that they're using it. But at least now I don't have another file I need to keep up to date. So consider the Flatpak package as deprecated.
1 parent 3426bcd commit 6c4300c

File tree

12 files changed

+44
-263
lines changed

12 files changed

+44
-263
lines changed

CMakeModules/DuckStationUtils.cmake

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,17 @@ endfunction()
249249
function(install_imported_dep_library name)
250250
get_target_property(SONAME "${name}" IMPORTED_SONAME_RELEASE)
251251
get_target_property(LOCATION "${name}" IMPORTED_LOCATION_RELEASE)
252+
253+
# Only install if it's not a system library.
254+
foreach(path ${CMAKE_PREFIX_PATH})
255+
string(FIND "${LOCATION}" "${path}" out)
256+
if (NOT "${out}" EQUAL 0)
257+
message(STATUS "Not installing imported system library ${name}")
258+
return()
259+
endif()
260+
endforeach()
261+
262+
message(STATUS "Installing imported library ${SONAME}")
252263
install(FILES "${LOCATION}" RENAME "${SONAME}" DESTINATION "${CMAKE_INSTALL_LIBDIR}")
253264
endfunction()
254265

scripts/packaging/flatpak/modules/10-libbacktrace.yaml

Lines changed: 0 additions & 17 deletions
This file was deleted.

scripts/packaging/flatpak/modules/11-libzip.yaml

Lines changed: 0 additions & 37 deletions
This file was deleted.

scripts/packaging/flatpak/modules/20-shaderc.yaml

Lines changed: 0 additions & 24 deletions
This file was deleted.

scripts/packaging/flatpak/modules/21-spirv-cross.yaml

Lines changed: 0 additions & 34 deletions
This file was deleted.

scripts/packaging/flatpak/modules/22-cpuinfo.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

scripts/packaging/flatpak/modules/23-discord-rpc.yaml

Lines changed: 0 additions & 23 deletions
This file was deleted.

scripts/packaging/flatpak/modules/24-soundtouch.yaml

Lines changed: 0 additions & 30 deletions
This file was deleted.

scripts/packaging/flatpak/modules/25-plutosvg.yaml

Lines changed: 0 additions & 25 deletions
This file was deleted.

scripts/packaging/flatpak/modules/30-sdl3.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)