-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from AlwinEsch/Matrix-change
[Matrix/Nexus] copyright year increase and cleanup
- Loading branch information
Showing
18 changed files
with
183 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
name: Build and run tests | ||
on: [push, pull_request] | ||
env: | ||
app_id: screensaver.asteroids | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- name: "Debian package test" | ||
os: ubuntu-18.04 | ||
CC: gcc | ||
CXX: g++ | ||
DEBIAN_BUILD: true | ||
#- os: ubuntu-18.04 | ||
#CC: gcc | ||
#CXX: g++ | ||
#- os: ubuntu-18.04 | ||
#CC: clang | ||
#CXX: clang++ | ||
#- os: macos-10.15 | ||
steps: | ||
- name: Install needed ubuntu depends | ||
env: | ||
DEBIAN_BUILD: ${{ matrix.DEBIAN_BUILD }} | ||
run: | | ||
if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi | ||
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get update; fi | ||
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi | ||
- name: Checkout Kodi repo | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: xbmc/xbmc | ||
ref: master | ||
path: xbmc | ||
- name: Checkout screensaver.asteroids repo | ||
uses: actions/checkout@v2 | ||
with: | ||
path: ${{ env.app_id }} | ||
- name: Configure | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
DEBIAN_BUILD: ${{ matrix.DEBIAN_BUILD }} | ||
run: | | ||
if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir -p build && cd build; fi | ||
if [[ $DEBIAN_BUILD != true ]]; then cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=${{ github.workspace }} -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/xbmc/addons -DPACKAGE_ZIP=1 ${{ github.workspace }}/xbmc/cmake/addons; fi | ||
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 | ||
if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep ${{ github.workspace }}/${app_id}; fi | ||
- name: Build | ||
env: | ||
CC: ${{ matrix.CC }} | ||
CXX: ${{ matrix.CXX }} | ||
DEBIAN_BUILD: ${{ matrix.DEBIAN_BUILD }} | ||
run: | | ||
if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id}/build; fi | ||
if [[ $DEBIAN_BUILD != true ]]; then make; fi | ||
if [[ $DEBIAN_BUILD == true ]]; then ./debian-addon-package-test.sh ${{ github.workspace }}/${app_id}; fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Sync addon metadata translations | ||
|
||
on: | ||
push: | ||
branches: [ Matrix, Nexus ] | ||
paths: | ||
- '**addon.xml.in' | ||
- '**resource.language.**strings.po' | ||
|
||
jobs: | ||
default: | ||
if: github.repository == 'xbmc/screensaver.asteroids' | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
||
fail-fast: false | ||
matrix: | ||
python-version: [ 3.9 ] | ||
|
||
steps: | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
with: | ||
path: project | ||
|
||
- name: Checkout sync_addon_metadata_translations repository | ||
uses: actions/checkout@v2 | ||
with: | ||
repository: xbmc/sync_addon_metadata_translations | ||
path: sync_addon_metadata_translations | ||
|
||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install sync_addon_metadata_translations/ | ||
- name: Run sync-addon-metadata-translations | ||
run: | | ||
sync-addon-metadata-translations --multiple-addons | ||
working-directory: ./project | ||
|
||
- name: Create PR for sync-addon-metadata-translations changes | ||
uses: peter-evans/[email protected] | ||
with: | ||
commit-message: Sync of addon metadata translations | ||
title: Sync of addon metadata translations | ||
body: Sync of addon metadata translations triggered by ${{ github.sha }} | ||
branch: amt-sync | ||
delete-branch: true | ||
path: ./project | ||
reviewers: gade01 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ Upstream-Name: screensaver.asteroids | |
Source: https://github.com/xbmc/screensaver.asteroids | ||
|
||
Files: * | ||
Copyright: 2005-2020 Team Kodi | ||
Copyright: 2005-2021 Team Kodi | ||
2013 Arne Morten Kvarving <[email protected]> | ||
2013 wsnipex <[email protected]> | ||
License: GPL-2+ | ||
|
25 changes: 25 additions & 0 deletions
25
screensaver.asteroids/resources/language/resource.language.de_de/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Kodi Media Center language file | ||
# Addon Name: Asteroids | ||
# Addon id: screensaver.asteroids | ||
# Addon Provider: Team Kodi | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: KODI Main\n" | ||
"Report-Msgid-Bugs-To: https://github.com/xbmc/screensaver.asteroids/issues\n" | ||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Kodi Translation Team\n" | ||
"Language-Team: German (Germany) (https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/screensaver-asteroids/de_de/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: de_DE\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
msgctxt "Addon Summary" | ||
msgid "Asteroids screensaver" | ||
msgstr "Asteroiden Bildschirmschoner" | ||
|
||
msgctxt "Addon Description" | ||
msgid "An old-style screen saver where the asteroids are shot away." | ||
msgstr "Ein Bildschirmschoner im alten Stil, welcher die Asteroiden davon schießt." |
25 changes: 25 additions & 0 deletions
25
screensaver.asteroids/resources/language/resource.language.en_gb/strings.po
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Kodi Media Center language file | ||
# Addon Name: Asteroids | ||
# Addon id: screensaver.asteroids | ||
# Addon Provider: Team Kodi | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: KODI Main\n" | ||
"Report-Msgid-Bugs-To: https://github.com/xbmc/screensaver.asteroids/issues\n" | ||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: Kodi Translation Team\n" | ||
"Language-Team: English (United Kingdom) (https://kodi.weblate.cloud/projects/kodi-add-ons-look-and-feel/screensaver-asteroids/en_gb/)\n" | ||
"MIME-Version: 1.0\n" | ||
"Content-Type: text/plain; charset=UTF-8\n" | ||
"Content-Transfer-Encoding: 8bit\n" | ||
"Language: en_GB\n" | ||
"Plural-Forms: nplurals=2; plural=(n != 1);\n" | ||
|
||
msgctxt "Addon Summary" | ||
msgid "Asteroids screensaver" | ||
msgstr "" | ||
|
||
msgctxt "Addon Description" | ||
msgid "An old-style screen saver where the asteroids are shot away." | ||
msgstr "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2005-2020 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005-2021 Team Kodi (https://kodi.tv) | ||
* Copyright (C) 2005 Joakim Eriksson <[email protected]> | ||
* | ||
* SPDX-License-Identifier: GPL-2.0-or-later | ||
|