Skip to content

Commit

Permalink
Merge pull request #13 from AlwinEsch/Matrix-change
Browse files Browse the repository at this point in the history
[Matrix] some cleanups
  • Loading branch information
AlwinEsch authored Feb 5, 2020
2 parents 436388c + b53d18a commit 0a2a90a
Show file tree
Hide file tree
Showing 12 changed files with 61 additions and 14 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
This is a [Kodi](https://kodi.tv) audio decoder addon for GSF files.

[![Build Status](https://travis-ci.org/xbmc/audiodecoder.gsf.svg?branch=Matrix)](https://travis-ci.org/xbmc/audiodecoder.gsf/branches)
[![Build Status](https://ci.appveyor.com/api/projects/status/github/xbmc/audiodecoder.gsf?branch=Matrix&svg=true)](https://ci.appveyor.com/project/xbmc/audiodecoder-gsf?branch=Matrix)
[![Build Status](https://dev.azure.com/teamkodi/binary-addons/_apis/build/status/xbmc.audiodecoder.gsf?branchName=Matrix)](https://dev.azure.com/teamkodi/binary-addons/_build/latest?definitionId=6&branchName=Matrix)
<!--- [![Build Status](https://ci.appveyor.com/api/projects/status/github/xbmc/audiodecoder.gsf?branch=Matrix&svg=true)](https://ci.appveyor.com/project/xbmc/audiodecoder-gsf?branch=Matrix) -->

## Build instructions

Expand Down
7 changes: 6 additions & 1 deletion audiodecoder.gsf/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="audiodecoder.gsf"
version="2.1.1"
version="2.1.2"
name="GSF Audio Decoder"
provider-name="spiff">
<requires>@ADDON_DEPENDS@</requires>
Expand All @@ -15,5 +15,10 @@
<summary lang="en">VIOGSF Audio Decoder</summary>
<description lang="en">GSF is a addon for Kodi which adds the ability to play Game Boy Advance music files, the GSF format (MINIGSF and GSFLIB files). This player is based on the Visual Boy Advanced emulator, although the sound quality appears to be identical to Highly Advanced.</description>
<platform>@PLATFORM@</platform>
<license>GPL-2.0</license>
<source>https://github.com/xbmc/audiodecoder.gsf</source>
<assets>
<icon>icon.png</icon>
</assets>
</extension>
</addon>
2 changes: 1 addition & 1 deletion debian/changelog.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ kodi-audiodecoder-gsf (#PACKAGEVERSION#-#TAGREV#~#DIST#) #DIST#; urgency=low
[ kodi ]
* autogenerated dummy changelog

-- Arne Morten Kvarving <cptspiff@gmail.com> Sat, 01 Jun 2013 00:59:22 +0200
-- Nobody <nobody@kodi.tv> Sat, 01 Jun 2013 00:59:22 +0200

2 changes: 1 addition & 1 deletion debian/compat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8
9
7 changes: 4 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
Source: kodi-audiodecoder-gsf
Priority: extra
Maintainer: Arne Morten Kvarving <cptspiff@gmail.com>
Build-Depends: debhelper (>= 8.0.0), cmake, kodi-addon-dev,
Maintainer: Nobody <nobody@kodi.tv>
Build-Depends: debhelper (>= 9.0.0), cmake, kodi-addon-dev,
zlib1g-dev
Standards-Version: 3.9.6
Standards-Version: 4.1.2
Section: libs
Homepage: http://kodi.tv

Package: kodi-audiodecoder-gsf
Section: libs
Expand Down
2 changes: 1 addition & 1 deletion debian/copyright
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Upstream-Name: audiodecoder.gsf
Source: <url://example.com>

Files: *
Copyright: 2005-2013 Team XBMC
Copyright: 2005-2020 Team Kodi
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down
2 changes: 2 additions & 0 deletions debian/kodi-audiodecoder-gsf.install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/lib/*
usr/share/*
3 changes: 0 additions & 3 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@ override_dh_auto_configure:
override_dh_strip:
dh_strip --dbg-package=kodi-audiodecoder-gsf-dbg

override_dh_auto_install:
dh_auto_install --destdir=debian/kodi-audiodecoder-gsf

override_dh_installdocs:
dh_installdocs --link-doc=kodi-audiodecoder-gsf
2 changes: 1 addition & 1 deletion debian/source/format
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0 (native)
3.0 (quilt)
28 changes: 28 additions & 0 deletions depends/common/zlib/02-disable-example-binaries.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -226,25 +226,3 @@ endif()
if(NOT SKIP_INSTALL_FILES AND NOT SKIP_INSTALL_ALL )
install(FILES ${ZLIB_PC} DESTINATION "${INSTALL_PKGCONFIG_DIR}")
endif()
-
-#============================================================================
-# Example binaries
-#============================================================================
-
-add_executable(example test/example.c)
-target_link_libraries(example zlib)
-add_test(example example)
-
-add_executable(minigzip test/minigzip.c)
-target_link_libraries(minigzip zlib)
-
-if(HAVE_OFF64_T)
- add_executable(example64 test/example.c)
- target_link_libraries(example64 zlib)
- set_target_properties(example64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")
- add_test(example64 example64)
-
- add_executable(minigzip64 test/minigzip.c)
- target_link_libraries(minigzip64 zlib)
- set_target_properties(minigzip64 PROPERTIES COMPILE_FLAGS "-D_FILE_OFFSET_BITS=64")
-endif()
12 changes: 12 additions & 0 deletions depends/common/zlib/03-install-pkgconfig-in-lib.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@ set(INSTALL_BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Installation direc
set(INSTALL_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib" CACHE PATH "Installation directory for libraries")
set(INSTALL_INC_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE PATH "Installation directory for headers")
set(INSTALL_MAN_DIR "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Installation directory for manual pages")
-set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/share/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")
+set(INSTALL_PKGCONFIG_DIR "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" CACHE PATH "Installation directory for pkgconfig (.pc) files")

include(CheckTypeSize)
include(CheckFunctionExists)

5 changes: 3 additions & 2 deletions src/GSFCodec.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/*
* Copyright (C) 2014 Arne Morten Kvarving
* Copyright (C) 2014-2020 Arne Morten Kvarving
* Copyright (C) 2016-2020 Team Kodi
*
* This Program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
Expand All @@ -12,7 +13,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with XBMC; see the file COPYING. If not, see
* along with Kodi; see the file COPYING. If not, see
* <http://www.gnu.org/licenses/>.
*
*/
Expand Down

0 comments on commit 0a2a90a

Please sign in to comment.