lmms: update to 1.2.0.

This commit is contained in:
Juan RP 2019-06-29 07:47:45 +02:00
parent 7fc8bf6c4b
commit 9cd00c0215
No known key found for this signature in database
GPG key ID: AF19F6CB482F9368
2 changed files with 6 additions and 29 deletions

View file

@ -1,11 +0,0 @@
--- include/lmms_math.h 2017-12-19 18:24:15.000000000 +0100
+++ - 2018-03-24 13:02:25.850664825 +0100
@@ -34,7 +34,7 @@
#include <cmath>
using namespace std;
-#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__) || defined(__OpenBSD__)
+#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__) || defined(__OpenBSD__) || !defined(__GLIBC__)
#ifndef isnanf
#define isnanf(x) isnan(x)
#endif

View file

@ -1,10 +1,7 @@
# Template file for 'lmms'
pkgname=lmms
version=1.2.0rc8
revision=3
wrksrc="lmms-${version/r/-r}"
_x11embed_commit=022b39a1d496d72eb3e5b5188e5559f66afca957
_rpmalloc_version=1.3.1
version=1.2.0
revision=1
build_style=cmake
configure_args="-DWANT_QT5=ON -DWANT_WEAKJACK=OFF"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake extra-cmake-modules"
@ -18,21 +15,12 @@ short_desc="Cross-platform music production software"
maintainer="Logen K. <logen@sudotask.com>"
license="GPL-2.0-or-later"
homepage="https://lmms.io/"
distfiles="https://github.com/LMMS/lmms/archive/v${version/r/-r}.tar.gz
https://github.com/Lukas-W/qt5-x11embed/archive/${_x11embed_commit}.tar.gz
https://github.com/rampantpixels/rpmalloc/archive/${_rpmalloc_version}.tar.gz"
checksum="4511687e47f6159cb2a250528bcccaa38b36b78f345466d090514214888943e8
06159c71a5eeba5662bfb309d215e733f310c2699c8c1de83297d32d13a510bc
9bc0013a0bf8c01540821e84fef0cef067f1d857a01ceceac36f83bd6fedc106"
distfiles="https://github.com/LMMS/lmms/releases/download/v${version}/lmms_${version}.tar.xz"
checksum=6503559c2b95fdf45ca6cf4fc5afe66544ad53f2a70ca2e08a52301ad8e42617
build_options="sndio"
build_options_default="sndio"
post_extract() {
[ -d "${wrksrc}/../qt5-x11embed-${_x11embed_commit}" ] &&
rm -rf src/3rdparty/qt5-x11embed &&
mv "${wrksrc}/../qt5-x11embed-${_x11embed_commit}" src/3rdparty/qt5-x11embed
[ -d "${wrksrc}/../rpmalloc-${_rpmalloc_version}" ] &&
rm -rf src/3rdparty/rpmalloc/rpmalloc &&
mv "${wrksrc}/../rpmalloc-${_rpmalloc_version}" src/3rdparty/rpmalloc/rpmalloc
post_install() {
rm -f ${DESTDIR}/usr/lib/*.a
}