~alpine/aports

testing/fluidsynth: new aport v1 PROPOSED

Bart Ribbers: 2
 testing/fluidsynth: new aport
 testing/minuet: new aport

 2 files changed, 63 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2970/mbox | git am -3
Learn more about email & git

[PATCH 1/2] testing/fluidsynth: new aport Export this patch

---
 testing/fluidsynth/APKBUILD | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 testing/fluidsynth/APKBUILD

diff --git a/testing/fluidsynth/APKBUILD b/testing/fluidsynth/APKBUILD
new file mode 100644
index 0000000000..4c0b724237
--- /dev/null
+++ b/testing/fluidsynth/APKBUILD
@@ -0,0 +1,32 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=fluidsynth
pkgver=2.0.6
pkgrel=0
arch="all"
url="http://www.fluidsynth.org"
pkgdesc="A real-time software synthesizer based on the SoundFont 2 specifications"
license="LGPL-2.1-or-later"
depends_dev="glib-dev libsndfile-dev alsa-lib-dev pulseaudio-dev readline-dev dbus-dev"
makedepends="$depends_dev cmake doxygen graphviz"
source="$pkgname-$pkgver.tar.gz::https://github.com/fluidsynth/fluidsynth/archive/v$pkgver.tar.gz"
subpackages="$pkgname-dev $pkgname-doc"

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DLIB_INSTALL_DIR=lib \
		-DFLUID_DAEMON_ENV_FILE=/etc/conf.d/fluidsynth
	make
}

check() {
	make -k check
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="c160e3d7c6ad62d5cc014642eb18a0f65eb90b5ad91db4049e1b45446034e989a4f9e5b805270967d4eaf47a6e2da0e81bdb5ae95500cc80d7021e8e61cd7107  fluidsynth-2.0.6.tar.gz"
-- 
2.23.0

[PATCH 2/2] testing/minuet: new aport Export this patch

---
 testing/minuet/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/minuet/APKBUILD

diff --git a/testing/minuet/APKBUILD b/testing/minuet/APKBUILD
new file mode 100644
index 0000000000..2c701630df
--- /dev/null
+++ b/testing/minuet/APKBUILD
@@ -0,0 +1,31 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=minuet
pkgver=19.08.0
pkgrel=0
arch="all"
url="https://minuet.kde.org/"
pkgdesc="Minuet Music Education"
license="GPL-2.0-or-later AND GFDL-1.2-only"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev qt5-qtquickcontrols2-dev qt5-qtsvg-dev kcoreaddons-dev ki18n-dev kcrash-dev kdoctools-dev fluidsynth-dev"
source="https://download.kde.org/stable/applications/$pkgver/src/minuet-$pkgver.tar.xz"
subpackages="$pkgname-doc $pkgname-lang"
options="!check" # No tests

build() {
	cmake \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	make
}

check() {
	CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="bffe36bae1d2f2d39a402f9758cf4a6307909bf8a6d56576c3986c97e3b51088a5e72c5e409188b5039026d6a675881c40177bec143ae78d96a12bdb76c94c38  minuet-19.08.0.tar.xz"
-- 
2.23.0