MANIFEST: cannot move so copy and remove - fix

This commit is contained in:
XargonWan 2024-07-24 18:05:17 +09:00
parent 9e9c2ec048
commit 50bad90da8

View file

@ -338,7 +338,7 @@ modules:
- cp -r ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/* "${FLATPAK_DEST}/share/libretro/" - cp -r ./RetroArch-Linux-x86_64.AppImage.home/.config/retroarch/* "${FLATPAK_DEST}/share/libretro/"
- chmod +x ./*.AppImage - chmod +x ./*.AppImage
- ./*.AppImage --appimage-extract - ./*.AppImage --appimage-extract
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}" - cp -r squashfs-root/usr/* "${FLATPAK_DEST}"
sources: sources:
@ -419,7 +419,7 @@ modules:
- name: retrodeck-ppsspp - name: retrodeck-ppsspp
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r files/* "${FLATPAK_DEST}" - cp -r files/* "${FLATPAK_DEST}"
- chmod +x "${FLATPAK_DEST}/bin/"* - chmod +x "${FLATPAK_DEST}/bin/"*
@ -440,7 +440,7 @@ modules:
- chmod +x *.AppImage - chmod +x *.AppImage
- ./*.AppImage --appimage-extract - ./*.AppImage --appimage-extract
#- rm -f /app/lib/libselinux.so.1 # TODO this rfile is breaking the build, we need it? Error: cp: /app/lib/libselinux.so.1: no version information available (required by cp) #- rm -f /app/lib/libselinux.so.1 # TODO this rfile is breaking the build, we need it? Error: cp: /app/lib/libselinux.so.1: no version information available (required by cp)
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}" - cp -r squashfs-root/usr/* "${FLATPAK_DEST}"
sources: sources:
@ -457,7 +457,7 @@ modules:
- name: retrodeck-dolphin - name: retrodeck-dolphin
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- cp -r "files/lib/debug" "${FLATPAK_DEST}/retrodeck/tmplib" - cp -r "files/lib/debug" "${FLATPAK_DEST}/retrodeck/tmplib"
- rm -rf "files/lib/debug" - rm -rf "files/lib/debug"
- mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
@ -476,7 +476,7 @@ modules:
- name: retrodeck-primehack - name: retrodeck-primehack
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- rm -rf "files/lib/pkgconfig" - rm -rf "files/lib/pkgconfig"
- cp -r "files/lib/debug" "${FLATPAK_DEST}/retrodeck/tmplib" - cp -r "files/lib/debug" "${FLATPAK_DEST}/retrodeck/tmplib"
- rm -rf "files/lib/debug" - rm -rf "files/lib/debug"
@ -498,7 +498,7 @@ modules:
build-commands: build-commands:
- chmod +x *.AppImage - chmod +x *.AppImage
- ./*.AppImage --appimage-extract - ./*.AppImage --appimage-extract
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg # Needed for a ffmpeg bufgix - mkdir -p ${FLATPAK_DEST}/lib/ffmpeg # Needed for a ffmpeg bufgix
- mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r squashfs-root/usr/bin* "${FLATPAK_DEST}/bin" - cp -r squashfs-root/usr/bin* "${FLATPAK_DEST}/bin"
@ -540,7 +540,7 @@ modules:
build-commands: build-commands:
- chmod +x *.AppImage - chmod +x *.AppImage
- ./*.AppImage --appimage-extract - ./*.AppImage --appimage-extract
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}" - cp -r squashfs-root/usr/* "${FLATPAK_DEST}"
sources: sources:
@ -558,7 +558,7 @@ modules:
build-commands: build-commands:
- chmod +x *.AppImage - chmod +x *.AppImage
- ./*.AppImage --appimage-extract - ./*.AppImage --appimage-extract
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- rm -rf "squashfs-root/usr/lib/girepository-1.0" # causes issues, I think we already have this - rm -rf "squashfs-root/usr/lib/girepository-1.0" # causes issues, I think we already have this
- mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}" - cp -r squashfs-root/usr/* "${FLATPAK_DEST}"
@ -598,9 +598,10 @@ modules:
- name: retrodeck-solarus - name: retrodeck-solarus
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- rm -rf "files/lib/pkgconfig" - rm -rf "files/lib/pkgconfig"
- mv "files/lib/debug" "${FLATPAK_DEST}/retrodeck/tmplib/" - cp -r "files/lib/debug/*" "${FLATPAK_DEST}/retrodeck/tmplib/debug/"
- rm -rf "files/lib/debug"
- mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r files/* "${FLATPAK_DEST}" - cp -r files/* "${FLATPAK_DEST}"
- chmod +x "${FLATPAK_DEST}/bin/"* - chmod +x "${FLATPAK_DEST}/bin/"*
@ -618,10 +619,11 @@ modules:
- name: retrodeck-gzdoom - name: retrodeck-gzdoom
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- rm -rf "files/lib/cmake" - rm -rf "files/lib/cmake"
- rm -rf "files/lib/pkgconfig" - rm -rf "files/lib/pkgconfig"
- mv "files/lib/debug" "${FLATPAK_DEST}/retrodeck/tmplib/" - cp -r "files/lib/debug/*" "${FLATPAK_DEST}/retrodeck/tmplib/debug/"
- rm -rf "files/lib/debug"
- mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r files/* "${FLATPAK_DEST}" - cp -r files/* "${FLATPAK_DEST}"
- chmod +x "${FLATPAK_DEST}/bin/"* - chmod +x "${FLATPAK_DEST}/bin/"*
@ -658,7 +660,7 @@ modules:
build-commands: build-commands:
- chmod +x *.AppImage - chmod +x *.AppImage
- ./*.AppImage --appimage-extract - ./*.AppImage --appimage-extract
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "squashfs-root/usr/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r squashfs-root/usr/* "${FLATPAK_DEST}/" - cp -r squashfs-root/usr/* "${FLATPAK_DEST}/"
sources: sources:
@ -697,7 +699,7 @@ modules:
- name: retrodeck-es-de - name: retrodeck-es-de
buildsystem: simple buildsystem: simple
build-commands: build-commands:
- mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" - mkdir -p "${FLATPAK_DEST}/retrodeck/tmplib" "${FLATPAK_DEST}/retrodeck/tmplib/debug"
- mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib" - mv "files/lib/"* "${FLATPAK_DEST}/retrodeck/tmplib"
- cp -r files/* "${FLATPAK_DEST}" - cp -r files/* "${FLATPAK_DEST}"
- chmod +x "${FLATPAK_DEST}/bin/"* - chmod +x "${FLATPAK_DEST}/bin/"*