init commit
This commit is contained in:
commit
4172818592
18
.SRCINFO
Normal file
18
.SRCINFO
Normal file
|
@ -0,0 +1,18 @@
|
|||
pkgbase = pineapple-midi-player
|
||||
pkgdesc = Simple SoundFont MIDI Player
|
||||
pkgver = 1.0.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/BLumia/pineapple-midi-player/
|
||||
arch = x86_64
|
||||
arch = aarch64
|
||||
license = MIT
|
||||
makedepends = git
|
||||
makedepends = qt5-tools
|
||||
makedepends = cmake
|
||||
depends = qt5-svg
|
||||
depends = portaudio
|
||||
optdepends = soundfont-fluid: Decent SoundFont provided by FluidSynth
|
||||
source = pineapple-midi-player-1.0.0.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/1.0.0.tar.gz
|
||||
sha256sums = ed2dc4de675d646371e9c77b06f8ecd3d28c088980613d0114f318b2a6d29569
|
||||
|
||||
pkgname = pineapple-midi-player
|
42
PKGBUILD
Normal file
42
PKGBUILD
Normal file
|
@ -0,0 +1,42 @@
|
|||
# Maintainer: Gary Wang <git@blumia.net>
|
||||
|
||||
pkgname=pineapple-midi-player
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='Simple SoundFont MIDI Player'
|
||||
arch=('x86_64' 'aarch64')
|
||||
url='https://github.com/BLumia/pineapple-midi-player/'
|
||||
license=('MIT')
|
||||
depends=(
|
||||
'qt5-svg'
|
||||
'portaudio'
|
||||
)
|
||||
makedepends=(
|
||||
'git'
|
||||
'qt5-tools'
|
||||
'cmake'
|
||||
)
|
||||
optdepends=(
|
||||
'soundfont-fluid: Decent SoundFont provided by FluidSynth'
|
||||
)
|
||||
source=(
|
||||
"${pkgname}-${pkgver}.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/${pkgver}.tar.gz"
|
||||
)
|
||||
sha256sums=(
|
||||
'ed2dc4de675d646371e9c77b06f8ecd3d28c088980613d0114f318b2a6d29569'
|
||||
)
|
||||
|
||||
build () {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
cmake --build . -j`nproc`
|
||||
}
|
||||
|
||||
package() {
|
||||
make -C ${srcdir}/${pkgname}-${pkgver} DESTDIR="$pkgdir" install
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
#make INSTALL_ROOT="$pkgdir" install
|
||||
#install -Dm755 ./ppic ${pkgdir}/usr/bin/ppic
|
||||
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
install ./LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
||||
}
|
Loading…
Reference in New Issue
Block a user