diff options
author | Uwe Koloska | 2023-05-13 16:12:52 +0200 |
---|---|---|
committer | Uwe Koloska | 2023-05-13 16:12:52 +0200 |
commit | 0e97cf374e77f145def99fdc7100cd0f36481487 (patch) | |
tree | e5af57c7f0c3357283cc6ec3fb44f5d946602d4d | |
parent | 97e40849067a2207813a629399380d0e4416d254 (diff) | |
download | aur-0e97cf374e77f145def99fdc7100cd0f36481487.tar.gz |
New PortMidi has now porttime included
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | 0002-PortTime-included.patch | 19 | ||||
-rw-r--r-- | PKGBUILD | 9 |
3 files changed, 28 insertions, 4 deletions
@@ -1,7 +1,7 @@ pkgbase = lenmus pkgdesc = A free program for learning music pkgver = 6.0.1 - pkgrel = 1 + pkgrel = 2 url = http://www.lenmus.org/ arch = i686 arch = x86_64 @@ -16,6 +16,8 @@ pkgbase = lenmus depends = soundfont-fluid optdepends = timidity++: for sound without external midi player source = https://github.com/lenmus/lenmus/archive/Release_6.0.1.tar.gz + source = 0002-PortTime-included.patch sha256sums = 1fa5b8edc468c800598845aa809b4a4e93058ed13af40bfacd037c44d1c4bc1d + sha256sums = 7e23b83488bce81489f063dd59a625ed3fdd5be545e10cecd256794be80a2fcf pkgname = lenmus diff --git a/0002-PortTime-included.patch b/0002-PortTime-included.patch new file mode 100644 index 000000000000..718df4372082 --- /dev/null +++ b/0002-PortTime-included.patch @@ -0,0 +1,19 @@ +--- cmake-modules/FindPortMidi__orig.cmake 2023-05-13 16:01:08.050645643 +0200 ++++ cmake-modules/FindPortMidi.cmake 2023-05-13 16:01:27.200575148 +0200 +@@ -58,14 +58,14 @@ + + #porttime is included in portmidi package + set(DISTROS_NOT_USING_PORTTIME ++ Arch + Fedora ++ ManjaroLinux + ) + #porttime is an independent package + set(DISTROS_USING_PORTTIME +- Arch + Debian + LinuxMint +- ManjaroLinux + Ubuntu + ) + @@ -3,7 +3,7 @@ pkgname=lenmus pkgver=6.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="A free program for learning music" arch=('i686' 'x86_64') url="http://www.lenmus.org/" @@ -12,12 +12,15 @@ depends=('portmidi' 'wxwidgets-gtk3' 'sqlite3' 'fluidsynth' 'soundfont-fluid') optdepends=('timidity++: for sound without external midi player') makedepends=('unittestpp' 'cmake' 'lsb-release') -source=("https://github.com/lenmus/lenmus/archive/Release_${pkgver}.tar.gz") -sha256sums=('1fa5b8edc468c800598845aa809b4a4e93058ed13af40bfacd037c44d1c4bc1d') +source=("https://github.com/lenmus/lenmus/archive/Release_${pkgver}.tar.gz" + "0002-PortTime-included.patch") +sha256sums=('1fa5b8edc468c800598845aa809b4a4e93058ed13af40bfacd037c44d1c4bc1d' + '7e23b83488bce81489f063dd59a625ed3fdd5be545e10cecd256794be80a2fcf') prepare() { cd "$srcdir"/${pkgname}-Release_${pkgver} rm cmake-modules/FindSQLite3.cmake + patch -p0 -i "$srcdir/0002-PortTime-included.patch" } build() { |