update to 2.0.0-beta
This commit is contained in:
6
.SRCINFO
6
.SRCINFO
@ -1,6 +1,6 @@
|
||||
pkgbase = pineapple-midi-player
|
||||
pkgdesc = Simple SoundFont MIDI Player
|
||||
pkgver = 1.4.0
|
||||
pkgver = 2.0.0beta
|
||||
pkgrel = 2
|
||||
url = https://github.com/BLumia/pineapple-midi-player/
|
||||
arch = x86_64
|
||||
@ -12,7 +12,7 @@ pkgbase = pineapple-midi-player
|
||||
depends = qt6-svg
|
||||
depends = portaudio
|
||||
optdepends = soundfont-fluid: Decent SoundFont provided by FluidSynth
|
||||
source = pineapple-midi-player-1.4.0.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/1.4.0.tar.gz
|
||||
sha256sums = c354b8fcde1ca9bd7d6cd7dc16063840ae49ad90376eb06d34a1951bf3c1eb56
|
||||
source = pineapple-midi-player-2.0.0beta.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/2.0.0-beta.tar.gz
|
||||
sha256sums = 24db686c9b11df1c3aecd84606327e7516878f7dc1b68ebc928cf729c237d3b8
|
||||
|
||||
pkgname = pineapple-midi-player
|
||||
|
||||
21
PKGBUILD
21
PKGBUILD
@ -1,7 +1,7 @@
|
||||
# Maintainer: Gary Wang <git@blumia.net>
|
||||
|
||||
pkgname=pineapple-midi-player
|
||||
pkgver=1.4.0
|
||||
pkgver=2.0.0beta
|
||||
pkgrel=2
|
||||
pkgdesc='Simple SoundFont MIDI Player'
|
||||
arch=('x86_64' 'aarch64')
|
||||
@ -20,26 +20,31 @@ optdepends=(
|
||||
'soundfont-fluid: Decent SoundFont provided by FluidSynth'
|
||||
)
|
||||
source=(
|
||||
"${pkgname}-${pkgver}.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/${pkgver}.tar.gz"
|
||||
#"${pkgname}-${pkgver}.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/${pkgver}.tar.gz"
|
||||
"${pkgname}-${pkgver}.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/2.0.0-beta.tar.gz"
|
||||
)
|
||||
sha256sums=(
|
||||
"c354b8fcde1ca9bd7d6cd7dc16063840ae49ad90376eb06d34a1951bf3c1eb56"
|
||||
"24db686c9b11df1c3aecd84606327e7516878f7dc1b68ebc928cf729c237d3b8"
|
||||
)
|
||||
|
||||
prepare() {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
sed -i '/96dedbd860631f83155141030a07efc3813cfbd5/a FIND_PACKAGE_ARGS' CMakeLists.txt
|
||||
#cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-2.0.0-beta
|
||||
#sed -i '/96dedbd860631f83155141030a07efc3813cfbd5/a FIND_PACKAGE_ARGS' CMakeLists.txt
|
||||
}
|
||||
|
||||
build () {
|
||||
cd ${srcdir}/${pkgname}-${pkgver}
|
||||
#cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-2.0.0-beta
|
||||
cmake -DFETCHCONTENT_FULLY_DISCONNECTED=ON -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 -C ${srcdir}/${pkgname}-${pkgver} DESTDIR="$pkgdir" install
|
||||
make -C ${srcdir}/${pkgname}-2.0.0-beta DESTDIR="$pkgdir" install
|
||||
#cd ${srcdir}/${pkgname}-${pkgver}
|
||||
cd ${srcdir}/${pkgname}-2.0.0-beta
|
||||
#make INSTALL_ROOT="$pkgdir" install
|
||||
#install -Dm755 ./ppic ${pkgdir}/usr/bin/ppic
|
||||
mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
|
||||
|
||||
Reference in New Issue
Block a user