Browse Source

Arch Linux: respect patch order

master
Pekka Helenius 4 years ago
parent
commit
104fa90f86
1 changed files with 27 additions and 11 deletions
  1. +27
    -11
      anbox_files/PKGBUILD

+ 27
- 11
anbox_files/PKGBUILD View File

@ -11,15 +11,8 @@ url="http://anbox.io/"
license=('GPL3') license=('GPL3')
install=${_pkgname}.install install=${_pkgname}.install
makedepends=('cmake' 'git' 'glm' 'lxc' 'sdl2_image' 'protobuf' 'boost' 'properties-cpp' 'gtest' 'python') makedepends=('cmake' 'git' 'glm' 'lxc' 'sdl2_image' 'protobuf' 'boost' 'properties-cpp' 'gtest' 'python')
source=("git+https://github.com/anbox/anbox.git"
"git+https://github.com/anbox/anbox-modules.git"
'anbox-container-manager.service'
'anbox-session-manager.service'
'99-anbox.rules'
'anbox.conf'
'anbox.desktop'
'anbox-bridge.network'
'anbox-bridge.netdev'
patches=(
'patch_audio01_timing.patch' 'patch_audio01_timing.patch'
'patch_audio02_pass-messenger.patch' 'patch_audio02_pass-messenger.patch'
'patch_python3.patch' 'patch_python3.patch'
@ -30,7 +23,30 @@ source=("git+https://github.com/anbox/anbox.git"
'patch_window-restored.patch' 'patch_window-restored.patch'
'patch_window-icons.patch' 'patch_window-icons.patch'
) )
source=("git+https://github.com/anbox/anbox.git"
"git+https://github.com/anbox/anbox-modules.git"
'anbox-container-manager.service'
'anbox-session-manager.service'
'99-anbox.rules'
'anbox.conf'
'anbox.desktop'
'anbox-bridge.network'
'anbox-bridge.netdev'
)
source+=(${source[@]} ${patches[@]})
sha256sums=('SKIP' sha256sums=('SKIP'
'SKIP'
'08b50aa85859715fdb6835a26c6e6efceab0ef8746fd5053a0e04fc0cb742c7f'
'aefae0f50ccaa66b291bb4636f06103f25deee8d6f64e3e6b9e414a5a6cec2a0'
'ff4b449950916925c6d3bdfa55a81a0a944deaeb020de9bffc5f3ec923fdf396'
'3e07dc524a827c1651857cce28a06c1565bc5188101c140ed213bbafedc5abff'
'7332d09865be553a259a53819cebddd21f661c7a251d78c2f46acd75c66676b6'
'2186a2a1c445b0eef40b96b508a3b158931bad2677fd4adbbe5c3a9db05553df'
'559190df4d6d595480b30d8b13b862081fc4aac52790e33eb24cf7fbcb8003b8'
'SKIP'
'SKIP' 'SKIP'
'08b50aa85859715fdb6835a26c6e6efceab0ef8746fd5053a0e04fc0cb742c7f' '08b50aa85859715fdb6835a26c6e6efceab0ef8746fd5053a0e04fc0cb742c7f'
'aefae0f50ccaa66b291bb4636f06103f25deee8d6f64e3e6b9e414a5a6cec2a0' 'aefae0f50ccaa66b291bb4636f06103f25deee8d6f64e3e6b9e414a5a6cec2a0'
@ -64,8 +80,8 @@ prepare() {
truncate -s 0 cmake/FindGMock.cmake truncate -s 0 cmake/FindGMock.cmake
truncate -s 0 tests/CMakeLists.txt truncate -s 0 tests/CMakeLists.txt
for p in ../*.patch; do
patch -Np1 -i ${p}
for p in ${patches[@]}; do
patch -Np1 -i ../${p}
done done
} }


Loading…
Cancel
Save