mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
musescore: fix to use automake
This commit is contained in:
parent
36ddb90112
commit
bf409ddcb8
@ -8,7 +8,7 @@ url="https://musescore.org/en/"
|
|||||||
license=('GPL')
|
license=('GPL')
|
||||||
depends=('alsa-lib' 'libpulse' 'libsndfile' 'libvorbis' 'portaudio' 'portmidi' 'qt5-base'
|
depends=('alsa-lib' 'libpulse' 'libsndfile' 'libvorbis' 'portaudio' 'portmidi' 'qt5-base'
|
||||||
'qt5-declarative' 'qt5-svg' 'qt5-tools' 'qt5-webengine' 'qt5-xmlpatterns' 'zlib')
|
'qt5-declarative' 'qt5-svg' 'qt5-tools' 'qt5-webengine' 'qt5-xmlpatterns' 'zlib')
|
||||||
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core' 'ccache')
|
makedepends=('cmake' 'doxygen' 'lame' 'qt5-script' 'texlive-core')
|
||||||
optdepends=('lame: MP3 export')
|
optdepends=('lame: MP3 export')
|
||||||
categories=('multimedia')
|
categories=('multimedia')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$_pkgname/archive/v$pkgver.tar.gz"
|
||||||
@ -21,17 +21,11 @@ prepare() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd build
|
cd $_pkgname-$pkgver
|
||||||
cmake ../$_pkgname-$pkgver \
|
make PREFIX='/usr' release
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
||||||
-DUSE_SYSTEM_FREETYPE=ON
|
|
||||||
|
|
||||||
make lrelease
|
|
||||||
make
|
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd build
|
cd $_pkgname-$pkgver
|
||||||
make DESTDIR=$pkgdir install
|
make DESTDIR=$pkgdir -C build.release install
|
||||||
}
|
}
|
||||||
|
@ -1 +0,0 @@
|
|||||||
snd_seq
|
|
Loading…
Reference in New Issue
Block a user