mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 20:46:39 +02:00
40 lines
996 B
Text
40 lines
996 B
Text
# Maintainer: Krystian Chachuła <krystian@krystianch.com>
|
|
pkgname=qsynth
|
|
pkgver=1.0.2
|
|
pkgrel=0
|
|
pkgdesc="Qt GUI Interface for FluidSynth"
|
|
url="https://qsynth.sourceforge.io/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
makedepends="
|
|
cmake
|
|
samurai
|
|
qt6-qtbase-dev
|
|
qt6-qttools-dev
|
|
qt6-qtsvg-dev
|
|
fluidsynth-dev
|
|
"
|
|
subpackages="$pkgname-doc"
|
|
source="https://downloads.sourceforge.net/project/qsynth/qsynth/$pkgver/qsynth-$pkgver.tar.gz"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
if [ "$CBUILD" != "$CHOST" ]; then
|
|
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
|
|
fi
|
|
cmake -B build -G Ninja \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DCMAKE_BUILD_TYPE=None \
|
|
$CMAKE_CROSSOPTS
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
}
|
|
|
|
sha512sums="
|
|
a5585481ca88f65a38da75cb6355e5b0e23b04da70ac9ab8e55abafe2b0fac83905a873a990e4de8adcf3cf484b48088d83a7aec99252a48a004158504a7e137 qsynth-1.0.2.tar.gz
|
|
"
|