From 1c322e5103f92d87f8a460fcbc2c2cb88330d539 Mon Sep 17 00:00:00 2001 From: Gary Wang Date: Mon, 17 Nov 2025 23:59:05 +0800 Subject: [PATCH] update to 2.0.0-beta --- .SRCINFO | 6 +++--- PKGBUILD | 21 +++++++++++++-------- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3217e5a..5fab6d3 100644 --- a/.SRCINFO +++ b/.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 diff --git a/PKGBUILD b/PKGBUILD index 3e3d7cf..ac97d04 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Gary Wang 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}