Initial Commit

This commit is contained in:
trumpetrespas 2023-03-15 14:24:44 -07:00
commit b27ba6253c
2 changed files with 52 additions and 0 deletions

20
.SRCINFO Normal file
View file

@ -0,0 +1,20 @@
pkgbase = kodi-addon-audiodecoder-openmpt
pkgdesc = Decoder for tracker formats such as xm
pkgver = 20.2.0
pkgrel = 0
url = https://github.com/xbmc/audiodecoder.openmpt
arch = x86_64
license = GPL2
makedepends = cmake
makedepends = kodi-dev
makedepends = libheif
makedepends = tinyxml2
depends = kodi
depends = libheif
depends = tinyxml2
depends = libopenmpt
options = !lto
source = kodi-addon-audiodecoder-openmpt-20.2.0.tar.gz::https://github.com/xbmc/audiodecoder.openmpt/archive/refs/tags/20.2.0-Nexus.zip
sha256sums = 4f194cb43681f0221a9b78c1d7693c08b39ba97660d0d496e05c72b3e9f6ec2b
pkgname = kodi-addon-audiodecoder-openmpt

32
PKGBUILD Normal file
View file

@ -0,0 +1,32 @@
# Maintainer: trumpetrespas <trumpetrespas1 at proton dot me>
# Note about email. This is a different email than I normally use, so I do not check it that frequently. To reach me faster, comment on the package, that way I will get the message in my personal email.
pkgname=kodi-addon-audiodecoder-openmpt
pkgver=20.2.0
_codename=Nexus
pkgrel=0
pkgdesc="Decoder for tracker formats such as xm"
arch=('x86_64')
url="https://github.com/xbmc/audiodecoder.openmpt"
license=('GPL2')
groups=()
makedepends=('cmake' 'kodi-dev' 'libheif' 'tinyxml2' )
depends=('kodi' 'libheif' 'tinyxml2' 'libopenmpt')
options=(!lto)
source=("$pkgname-$pkgver.tar.gz::https://github.com/xbmc/audiodecoder.openmpt/archive/refs/tags/$pkgver-$_codename.zip")
sha256sums=('4f194cb43681f0221a9b78c1d7693c08b39ba97660d0d496e05c72b3e9f6ec2b')
build() {
cd "audiodecoder.openmpt-$pkgver-$_codename"
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=1 \
-DUSE_LTO=1 \
.
make
}
package() {
cd "audiodecoder.openmpt-$pkgver-$_codename"
make DESTDIR="$pkgdir/" install
}