Codebase list kodi-visualization-spectrum / ff19c27
Import upstream version 19.0.0+ds1+git20210717.1.4f9c4e8 Debian Janitor 2 years ago
14 changed file(s) with 129 addition(s) and 15 deletion(s). Raw diff Collapse all Expand all
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
3030 osx_image: xcode10.2
3131
3232 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
3434 - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
3535 - if [[ $DEBIAN_BUILD != true ]] && [[ $TRAVIS_OS_NAME == linux ]]; then sudo apt-get install -y libgl1-mesa-dev; fi
3636
4040 #
4141 before_script:
4242 - 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
4444 - if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir build && cd build; fi
4545 - if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi
4646 - if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi
4747 - 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
4949 - if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi
5050
5151 script:
0 buildPlugin(version: "Matrix")
0 buildPlugin(version: "Nexus")
22 This is a [Kodi](https://kodi.tv) visualization addon.
33
44 [![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) -->
88
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)
1010
1111 ## Build instructions
1212
1313 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.
1515 Also make sure you follow this README from the branch in question.
1616
1717 ### Linux
1919 The following instructions assume you will have built Kodi already in the `kodi-build` directory
2020 suggested by the README.
2121
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`
2424 3. `cd visualization.spectrum && mkdir build && cd build`
2525 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`
2626 5. `make`
2222
2323 build_script:
2424 - 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
2626 - cd %app_id%
2727 - mkdir build
2828 - cd build
33 trigger:
44 branches:
55 include:
6 - Matrix
6 - Nexus
77 - releases/*
88 paths:
99 include:
4545
4646 - script: |
4747 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
4949 cd $(Build.SourcesDirectory)
5050 mkdir build
5151 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
00 <?xml version="1.0" encoding="UTF-8"?>
11 <addon
22 id="visualization.spectrum"
3 version="19.0.0"
3 version="20.0.0"
44 name="Spectrum"
55 provider-name="Team Kodi">
66 <requires>@ADDON_DEPENDS@</requires>