Commit a79f6688 authored by David Demelier's avatar David Demelier

testing/hydrogen: new aport

http://hydrogen-music.org
An advanced drum machine with pattern-based programming
parent 81057cd6
Pipeline #21517 passed with stages
in 6 minutes and 45 seconds
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=hydrogen
pkgver=1.0.0_beta2
_ver=${pkgver/_/-}
pkgrel=0
pkgdesc="An advanced drum machine with pattern-based programming"
url="http://hydrogen-music.org"
arch="all"
license="GPL-2.0-only"
makedepends="
alsa-lib-dev
cmake
cppunit-dev
ladspa-dev
libarchive-dev
libsndfile-dev
lrdf-dev
pulseaudio-dev
qt5-qtbase-dev
qt5-qttools-dev
qt5-qtxmlpatterns-dev
"
subpackages="$pkgname-dev $pkgname-doc"
source="https://sourceforge.net/projects/hydrogen/files/Hydrogen/1.0.0%20Sources/hydrogen-$_ver.tar.gz"
builddir="$srcdir/hydrogen-$_ver"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=None \
$CMAKE_CROSSOPTS .
make -C build
}
check() {
CTEST_OUTPUT_ON_FAILURE=1 make -C build tests
}
package() {
make -C build DESTDIR="$pkgdir" install
}
sha512sums="8712996adbc820909d1d38ff7d45a2a49ec64c15135d5a99b08b93ebd5a0c05139ce78a317c274059a538eb68031f0f42bb9d22988312c2b9f60fa53c539a242 hydrogen-1.0.0-beta2.tar.gz"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment