Compare commits
2 Commits
3571e904ab
...
1c322e5103
| Author | SHA1 | Date | |
|---|---|---|---|
| 1c322e5103 | |||
| dcb9de49ab |
6
.SRCINFO
6
.SRCINFO
@ -1,6 +1,6 @@
|
||||
pkgbase = pineapple-midi-player
|
||||
pkgdesc = Simple SoundFont MIDI Player
|
||||
pkgver = 1.3.2
|
||||
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.3.2.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/1.3.2.tar.gz
|
||||
sha256sums = d242879237ff07c8b826fbf55484233776045ca8109890a95f67408e3a471eaa
|
||||
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
|
||||
|
||||
24
PKGBUILD
24
PKGBUILD
@ -1,7 +1,7 @@
|
||||
# Maintainer: Gary Wang <git@blumia.net>
|
||||
|
||||
pkgname=pineapple-midi-player
|
||||
pkgver=1.3.2
|
||||
pkgver=2.0.0beta
|
||||
pkgrel=2
|
||||
pkgdesc='Simple SoundFont MIDI Player'
|
||||
arch=('x86_64' 'aarch64')
|
||||
@ -20,21 +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=(
|
||||
'd242879237ff07c8b826fbf55484233776045ca8109890a95f67408e3a471eaa'
|
||||
"24db686c9b11df1c3aecd84606327e7516878f7dc1b68ebc928cf729c237d3b8"
|
||||
)
|
||||
|
||||
prepare() {
|
||||
#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}
|
||||
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .
|
||||
#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