Import upstream version 19.0.0+ds1+git20210717.1.4f9c4e8
Debian Janitor
2 years ago
0 | name: Sync addon metadata translations | |
1 | ||
2 | on: | |
3 | push: | |
4 | branches: [ Matrix, Nexus ] | |
5 | paths: | |
6 | - '**addon.xml.in' | |
7 | - '**resource.language.**strings.po' | |
8 | ||
9 | jobs: | |
10 | default: | |
11 | if: github.repository == 'xbmc/visualization.spectrum' | |
12 | runs-on: ubuntu-latest | |
13 | ||
14 | strategy: | |
15 | ||
16 | fail-fast: false | |
17 | matrix: | |
18 | python-version: [ 3.9 ] | |
19 | ||
20 | steps: | |
21 | ||
22 | - name: Checkout repository | |
23 | uses: actions/checkout@v2 | |
24 | with: | |
25 | path: project | |
26 | ||
27 | - name: Checkout sync_addon_metadata_translations repository | |
28 | uses: actions/checkout@v2 | |
29 | with: | |
30 | repository: xbmc/sync_addon_metadata_translations | |
31 | path: sync_addon_metadata_translations | |
32 | ||
33 | - name: Set up Python ${{ matrix.python-version }} | |
34 | uses: actions/setup-python@v2 | |
35 | with: | |
36 | python-version: ${{ matrix.python-version }} | |
37 | ||
38 | - name: Install dependencies | |
39 | run: | | |
40 | python -m pip install --upgrade pip | |
41 | python -m pip install sync_addon_metadata_translations/ | |
42 | ||
43 | - name: Run sync-addon-metadata-translations | |
44 | run: | | |
45 | sync-addon-metadata-translations | |
46 | working-directory: ./project | |
47 | ||
48 | - name: Create PR for sync-addon-metadata-translations changes | |
49 | uses: peter-evans/create-pull-request@v3.10.0 | |
50 | with: | |
51 | commit-message: Sync of addon metadata translations | |
52 | title: Sync of addon metadata translations | |
53 | body: Sync of addon metadata translations triggered by ${{ github.sha }} | |
54 | branch: amt-sync | |
55 | delete-branch: true | |
56 | path: ./project | |
57 | reviewers: gade01 |
0 | # build artifacts | |
1 | build/ | |
2 | visualization.*/addon.xml | |
3 | ||
4 | # Debian build files | |
5 | debian/changelog | |
6 | debian/files | |
7 | debian/*.log | |
8 | debian/*.substvars | |
9 | debian/.debhelper/ | |
10 | debian/tmp/ | |
11 | debian/kodi-visualization-*/ | |
12 | obj-x86_64-linux-gnu/ | |
13 | ||
14 | # commonly used editors | |
15 | # vim | |
16 | *.swp | |
17 | ||
18 | # Eclipse | |
19 | *.project | |
20 | *.cproject | |
21 | .classpath | |
22 | *.sublime-* | |
23 | .settings/ | |
24 | ||
25 | # KDevelop 4 | |
26 | *.kdev4 | |
27 | ||
28 | # gedit | |
29 | *~ | |
30 | ||
31 | # CLion | |
32 | /.idea | |
33 | ||
34 | # clion | |
35 | .idea/ | |
36 | ||
37 | # to prevent add after a "git format-patch VALUE" and "git add ." call | |
38 | /*.patch | |
39 | ||
40 | # Visual Studio Code | |
41 | .vscode | |
42 | ||
43 | # to prevent add if project code opened by Visual Studio over CMake file | |
44 | .vs/ | |
45 | ||
46 | # General MacOS | |
47 | .DS_Store | |
48 | .AppleDouble | |
49 | .LSOverride |
30 | 30 | osx_image: xcode10.2 |
31 | 31 | |
32 | 32 | before_install: |
33 | - if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/ppa; fi | |
33 | - if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi | |
34 | 34 | - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi |
35 | 35 | - if [[ $DEBIAN_BUILD != true ]] && [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y libgl1-mesa-dev; fi |
36 | 36 | |
40 | 40 | # |
41 | 41 | before_script: |
42 | 42 | - if [[ $DEBIAN_BUILD != true ]]; then cd $TRAVIS_BUILD_DIR/..; fi |
43 | - if [[ $DEBIAN_BUILD != true ]]; then git clone --branch Matrix --depth=1 https://github.com/xbmc/xbmc.git; fi | |
43 | - if [[ $DEBIAN_BUILD != true ]]; then git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git; fi | |
44 | 44 | - if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir build && cd build; fi |
45 | 45 | - if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi |
46 | 46 | - if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi |
47 | 47 | - if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DADDONS_DEFINITION_DIR=$TRAVIS_BUILD_DIR/build/definition -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons; fi |
48 | - if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/Matrix/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi | |
48 | - if [[ $DEBIAN_BUILD == true ]]; then wget https://raw.githubusercontent.com/xbmc/xbmc/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi | |
49 | 49 | - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi |
50 | 50 | |
51 | 51 | script: |
2 | 2 | This is a [Kodi](https://kodi.tv) visualization addon. |
3 | 3 | |
4 | 4 | [![License: GPL-2.0-or-later](https://img.shields.io/badge/License-GPL%20v2+-blue.svg)](LICENSE.md) |
5 | [![Build Status](https://dev.azure.com/teamkodi/binary-addons/_apis/build/status/xbmc.visualization.spectrum?branchName=Matrix)](https://dev.azure.com/teamkodi/binary-addons/_build/latest?definitionId=33&branchName=Matrix) | |
6 | [![Build Status](https://jenkins.kodi.tv/view/Addons/job/xbmc/job/visualization.spectrum/job/Matrix/badge/icon)](https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Fvisualization.spectrum/branches/) | |
7 | <!--- [![Build Status](https://ci.appveyor.com/api/projects/status/github/xbmc/visualization.spectrum?branch=Matrix&svg=true)](https://ci.appveyor.com/project/xbmc/visualization-spectrum?branch=Matrix) --> | |
5 | [![Build Status](https://dev.azure.com/teamkodi/binary-addons/_apis/build/status/xbmc.visualization.spectrum?branchName=Nexus)](https://dev.azure.com/teamkodi/binary-addons/_build/latest?definitionId=33&branchName=Nexus) | |
6 | [![Build Status](https://jenkins.kodi.tv/view/Addons/job/xbmc/job/visualization.spectrum/job/Nexus/badge/icon)](https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Fvisualization.spectrum/branches/) | |
7 | <!--- [![Build Status](https://ci.appveyor.com/api/projects/status/github/xbmc/visualization.spectrum?branch=Nexus&svg=true)](https://ci.appveyor.com/project/xbmc/visualization-spectrum?branch=Nexus) --> | |
8 | 8 | |
9 | ![screenshot](https://raw.githubusercontent.com/xbmc/visualization.spectrum/Matrix/visualization.spectrum/resources/screenshot-01.jpg) | |
9 | ![screenshot](https://raw.githubusercontent.com/xbmc/visualization.spectrum/Nexus/visualization.spectrum/resources/screenshot-01.jpg) | |
10 | 10 | |
11 | 11 | ## Build instructions |
12 | 12 | |
13 | 13 | When building the addon you have to use the correct branch depending on which version of Kodi you're building against. |
14 | If you want to build the addon to be compatible with the latest kodi `Matrix` commit, you need to checkout the branch with the current kodi codename. | |
14 | If you want to build the addon to be compatible with the latest kodi `master` commit, you need to checkout the branch with the current kodi codename. | |
15 | 15 | Also make sure you follow this README from the branch in question. |
16 | 16 | |
17 | 17 | ### Linux |
19 | 19 | The following instructions assume you will have built Kodi already in the `kodi-build` directory |
20 | 20 | suggested by the README. |
21 | 21 | |
22 | 1. `git clone --branch Matrix https://github.com/xbmc/xbmc.git` | |
23 | 2. `git clone --branch Matrix https://github.com/xbmc/visualization.spectrum.git` | |
22 | 1. `git clone --branch master https://github.com/xbmc/xbmc.git` | |
23 | 2. `git clone --branch Nexus https://github.com/xbmc/visualization.spectrum.git` | |
24 | 24 | 3. `cd visualization.spectrum && mkdir build && cd build` |
25 | 25 | 4. `cmake -DADDONS_TO_BUILD=visualization.spectrum -DADDON_SRC_PREFIX=../.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=../../xbmc/kodi-build/addons -DPACKAGE_ZIP=1 ../../xbmc/cmake/addons` |
26 | 26 | 5. `make` |
22 | 22 | |
23 | 23 | build_script: |
24 | 24 | - cd .. |
25 | - git clone --branch Matrix --depth=1 https://github.com/xbmc/xbmc.git | |
25 | - git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git | |
26 | 26 | - cd %app_id% |
27 | 27 | - mkdir build |
28 | 28 | - cd build |
3 | 3 | trigger: |
4 | 4 | branches: |
5 | 5 | include: |
6 | - Matrix | |
6 | - Nexus | |
7 | 7 | - releases/* |
8 | 8 | paths: |
9 | 9 | include: |
45 | 45 | |
46 | 46 | - script: | |
47 | 47 | cd .. |
48 | git clone --branch Matrix --depth=1 https://github.com/xbmc/xbmc.git kodi | |
48 | git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git kodi | |
49 | 49 | cd $(Build.SourcesDirectory) |
50 | 50 | mkdir build |
51 | 51 | cd build |
0 | -DGLM_TEST_ENABLE_CXX_11=1 -DGLM_TEST_ENABLE=0 -DGLM_TEST_ENABLE_SIMD_SSE2=0 -DCMAKE_INSTALL_LIBDIR=lib |
0 | 3a073eb8f3be07cee74481db0e1f78eda553b554941e405c863ab64de6a2e954 |
0 | glm https://github.com/g-truc/glm/archive/0.9.9.4.tar.gz |
0 | -DGLM_TEST_ENABLE_CXX_11=1 -DGLM_TEST_ENABLE=0 -DGLM_TEST_ENABLE_SIMD_SSE2=1 -DCMAKE_INSTALL_LIBDIR=lib |
0 | 3a073eb8f3be07cee74481db0e1f78eda553b554941e405c863ab64de6a2e954 |
0 | glm https://github.com/g-truc/glm/archive/0.9.9.4.tar.gz |