diff --git a/.SRCINFO b/.SRCINFO index b968302..3217e5a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = pineapple-midi-player pkgdesc = Simple SoundFont MIDI Player - pkgver = 1.3.2 + pkgver = 1.4.0 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-1.4.0.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/1.4.0.tar.gz + sha256sums = c354b8fcde1ca9bd7d6cd7dc16063840ae49ad90376eb06d34a1951bf3c1eb56 pkgname = pineapple-midi-player diff --git a/PKGBUILD b/PKGBUILD index 2b59072..3e3d7cf 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Gary Wang pkgname=pineapple-midi-player -pkgver=1.3.2 +pkgver=1.4.0 pkgrel=2 pkgdesc='Simple SoundFont MIDI Player' arch=('x86_64' 'aarch64') @@ -23,12 +23,17 @@ source=( "${pkgname}-${pkgver}.tar.gz::https://github.com/BLumia/pineapple-midi-player/archive/${pkgver}.tar.gz" ) sha256sums=( - 'd242879237ff07c8b826fbf55484233776045ca8109890a95f67408e3a471eaa' + "c354b8fcde1ca9bd7d6cd7dc16063840ae49ad90376eb06d34a1951bf3c1eb56" ) +prepare() { + cd ${srcdir}/${pkgname}-${pkgver} + sed -i '/96dedbd860631f83155141030a07efc3813cfbd5/a FIND_PACKAGE_ARGS' CMakeLists.txt +} + build () { cd ${srcdir}/${pkgname}-${pkgver} - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . + cmake -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr . cmake --build . -j`nproc` }