Skip to content

Commit b404140

Browse files
authored
Merge pull request #185 from AlwinEsch/Matrix-change
[Matrix] correction release, german language add and debian build update
2 parents 9b533e7 + 55cdc23 commit b404140

File tree

7 files changed

+94
-16
lines changed

7 files changed

+94
-16
lines changed

.travis.yml

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,37 @@ matrix:
1717
dist: xenial
1818
sudo: required
1919
compiler: clang
20+
- os: linux
21+
dist: bionic
22+
sudo: required
23+
compiler: gcc
24+
env: DEBIAN_BUILD=true
25+
- os: linux
26+
dist: focal
27+
sudo: required
28+
compiler: gcc
29+
env: DEBIAN_BUILD=true
2030
- os: osx
2131
osx_image: xcode10.2
2232

33+
before_install:
34+
- if [[ $DEBIAN_BUILD == true ]]; then sudo add-apt-repository -y ppa:team-xbmc/xbmc-nightly; fi
35+
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get install fakeroot; fi
36+
2337
#
2438
# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
2539
# we'll put the Kodi source on the same level
2640
#
2741
before_script:
28-
- cd $TRAVIS_BUILD_DIR/..
29-
- git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git
30-
- cd ${app_id} && mkdir build && cd build
31-
- mkdir -p definition/${app_id}
32-
- echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt
33-
- 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
42+
- if [[ $DEBIAN_BUILD != true ]]; then cd $TRAVIS_BUILD_DIR/..; fi
43+
- if [[ $DEBIAN_BUILD != true ]]; then git clone --branch master --depth=1 https://github.com/xbmc/xbmc.git; fi
44+
- if [[ $DEBIAN_BUILD != true ]]; then cd ${app_id} && mkdir build && cd build; fi
45+
- if [[ $DEBIAN_BUILD != true ]]; then mkdir -p definition/${app_id}; fi
46+
- if [[ $DEBIAN_BUILD != true ]]; then echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt; fi
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/master/xbmc/addons/kodi-dev-kit/tools/debian-addon-package-test.sh && chmod +x ./debian-addon-package-test.sh; fi
49+
- if [[ $DEBIAN_BUILD == true ]]; then sudo apt-get build-dep $TRAVIS_BUILD_DIR; fi
3450

35-
script: make
51+
script:
52+
- if [[ $DEBIAN_BUILD != true ]]; then make; fi
53+
- if [[ $DEBIAN_BUILD == true ]]; then ./debian-addon-package-test.sh $TRAVIS_BUILD_DIR; fi

debian/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Priority: extra
33
Maintainer: wsnipex <wsnipex@a1.net>
44
Build-Depends: debhelper (>= 9.0.0), cmake, libtinyxml-dev,
55
kodi-addon-dev, pkg-config, libudev-dev
6-
Standards-Version: 3.9.6
6+
Standards-Version: 4.1.2
77
Section: libs
88

99
Package: kodi-peripheral-joystick

debian/rules

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313
dh $@ --parallel
1414

1515
override_dh_auto_configure:
16-
dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=1
17-
18-
override_dh_strip:
19-
dh_strip -pkodi-peripheral-joystick --dbg-package=kodi-peripheral-joystick-dbg
16+
dh_auto_configure -- -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_SHARED_LIBS=1 -DUSE_LTO=1
2017

2118
override_dh_installdocs:
2219
dh_installdocs --link-doc=kodi-peripheral-joystick

debian/source/format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0 (quilt)
1+
3.0 (native)

peripheral.joystick/addon.xml.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<addon
33
id="peripheral.joystick"
4-
version="1.5.3"
4+
version="1.6.1"
55
name="Joystick Support"
66
provider-name="Team Kodi">
77
<requires>@ADDON_DEPENDS@</requires>
@@ -11,7 +11,9 @@
1111
provides_buttonmaps="true"
1212
library_@PLATFORM@="@LIBRARY_FILENAME@"/>
1313
<extension point="xbmc.addon.metadata">
14+
<summary lang="de_DE">Kodi Joystick Library</summary>
1415
<summary lang="en_GB">Kodi Joystick Library</summary>
16+
<description lang="de_DE">Diese Bibliothek enthält Joystick-Treiber und Schaltflächenzuordnungen. Es werden mehrere Joystick-APIs unterstützt, darunter DirectX, XInput, SDL und die Linux-Joystick-API.</description>
1517
<description lang="en_GB">This library provides joystick drivers and button maps. Multiple joystick APIs are supported, including DirectX, XInput, SDL and the Linux Joystick API.</description>
1618
<license>GPL-2.0-or-later</license>
1719
<source>https://github.com/xbmc/peripheral.joystick</source>
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
# peripheral.joystick language file
2+
# Addon Name: peripheral.joystick
3+
# Addon id: peripheral.joystick
4+
# Addon Provider: Team Kodi
5+
msgid ""
6+
msgstr ""
7+
"Project-Id-Version: peripheral.joystick\n"
8+
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
9+
"POT-Creation-Date: 2016-12-06 21:53i\n"
10+
"PO-Revision-Date: 2016-12-06 21:53i\n"
11+
"Last-Translator: Kodi Translation Team\n"
12+
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/xbmc-addons/language/en_GB/)\n"
13+
"MIME-Version: 1.0\n"
14+
"Content-Type: text/plain; charset=UTF-8\n"
15+
"Content-Transfer-Encoding: 8bit\n"
16+
"Language: en_GB\n"
17+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
18+
19+
msgctxt "#30000"
20+
msgid "Driver settings"
21+
msgstr "Treibereinstellungen"
22+
23+
msgctxt "#30001"
24+
msgid "Joystick driver"
25+
msgstr "Joystick-Treiber"
26+
27+
msgctxt "#30002"
28+
msgid "None"
29+
msgstr "Keiner"
30+
31+
msgctxt "#30003"
32+
msgid "Enable XInput"
33+
msgstr "Aktiviere XInput"
34+
35+
msgctxt "#30004"
36+
msgid "Enable DirectInput"
37+
msgstr "Aktiviere DirectInput"
38+
39+
#. Do not translate
40+
msgctxt "#30005"
41+
msgid "Linux"
42+
msgstr ""
43+
44+
#. Do not translate
45+
msgctxt "#30006"
46+
msgid "Cocoa"
47+
msgstr ""
48+
49+
#. Do not translate
50+
msgctxt "#30007"
51+
msgid "Udev"
52+
msgstr ""
53+
54+
#. Do not translate
55+
msgctxt "#30008"
56+
msgid "SDL 2"
57+
msgstr ""
58+
59+
#msgctxt "#21475"
60+
#msgid "Both"
61+
#msgstr "Beide"

peripheral.joystick/resources/language/resource.language.en_gb/strings.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ msgstr ""
99
"POT-Creation-Date: 2016-12-06 21:53i\n"
1010
"PO-Revision-Date: 2016-12-06 21:53i\n"
1111
"Last-Translator: Kodi Translation Team\n"
12-
"Language-Team: English (http://www.transifex.com/projects/p/xbmc-addons/language/en/)\n"
12+
"Language-Team: English (United Kingdom) (http://www.transifex.com/projects/p/xbmc-addons/language/en_GB/)\n"
1313
"MIME-Version: 1.0\n"
1414
"Content-Type: text/plain; charset=UTF-8\n"
1515
"Content-Transfer-Encoding: 8bit\n"
16-
"Language: en\n"
16+
"Language: en_GB\n"
1717
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
1818

1919
msgctxt "#30000"

0 commit comments

Comments
 (0)