hydrogen: update to 1.0.0.
Switch to qt5
This commit is contained in:
parent
2669983420
commit
d9e783bfc8
3 changed files with 20 additions and 39 deletions
|
@ -1,17 +0,0 @@
|
||||||
--- CMakeLists.txt.orig 2016-11-06 06:11:37.041598678 +0100
|
|
||||||
+++ CMakeLists.txt 2016-11-06 06:19:21.978622663 +0100
|
|
||||||
@@ -106,10 +106,10 @@
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
#SET(CMAKE_CXX_FLAGS "-fno-implement-inlines -finline-small-functions -findirect-inlining -fpartial-inlining")
|
|
||||||
-SET(CMAKE_CXX_FLAGS "-O2 -std=gnu++11 -Wno-deprecated-register")
|
|
||||||
-IF (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
||||||
- SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implement-inlines")
|
|
||||||
-ENDIF()
|
|
||||||
+#SET(CMAKE_CXX_FLAGS "-O2 -std=gnu++11 -Wno-deprecated-register")
|
|
||||||
+#IF (NOT CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
||||||
+# SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-implement-inlines")
|
|
||||||
+#ENDIF()
|
|
||||||
|
|
||||||
SET(CMAKE_CXX_FLAGS_RELEASE "")
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- CMakeLists.txt.orig 2016-11-06 06:21:09.000000000 +0100
|
|
||||||
+++ CMakeLists.txt 2016-11-06 06:24:00.389637026 +0100
|
|
||||||
@@ -358,7 +358,7 @@
|
|
||||||
IF(NOT MINGW AND NOT APPLE)
|
|
||||||
INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.appdata.xml DESTINATION "${CMAKE_INSTALL_PREFIX}/share/appdata")
|
|
||||||
INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
|
|
||||||
- INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_PREFIX}/man/man1")
|
|
||||||
+ INSTALL(FILES ${CMAKE_SOURCE_DIR}/linux/hydrogen.1 DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1")
|
|
||||||
ENDIF()
|
|
||||||
|
|
||||||
#
|
|
|
@ -1,22 +1,31 @@
|
||||||
# Template file for 'hydrogen'
|
# Template file for 'hydrogen'
|
||||||
pkgname=hydrogen
|
pkgname=hydrogen
|
||||||
version=0.9.7
|
version=1.0.0
|
||||||
revision=2
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
configure_args="-DWANT_LRDF=ON -DWANT_CPPUNIT=OFF"
|
# Our flags has -g already, DEBUG=ON will add -O0
|
||||||
hostmakedepends="pkg-config"
|
configure_args="-DWANT_DEBUG=OFF"
|
||||||
|
hostmakedepends="pkg-config qt5-host-tools qt5-devel qt5-tools"
|
||||||
makedepends="libsndfile-devel libarchive-devel liblrdf-devel
|
makedepends="libsndfile-devel libarchive-devel liblrdf-devel
|
||||||
pulseaudio-devel jack-devel qt-devel"
|
pulseaudio-devel jack-devel qt5-devel qt5-xmlpatterns-devel
|
||||||
|
qt5-tools-devel ladspa-sdk liblo-devel libcppunit-devel"
|
||||||
depends="desktop-file-utils"
|
depends="desktop-file-utils"
|
||||||
short_desc="Advanced drum machine"
|
short_desc="Advanced drum machine"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-2.0-or-later"
|
license="GPL-2.0-or-later"
|
||||||
homepage="http://www.hydrogen-music.org/"
|
homepage="http://www.hydrogen-music.org/"
|
||||||
distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"
|
distfiles="https://github.com/hydrogen-music/hydrogen/archive/${version}.tar.gz"
|
||||||
checksum=1e0f3d9eae901ef5f11a61e2a446b1d819f3b38e2476a2b382cc02dea693c2b7
|
checksum=c4eac296a0d20578c274faf7816cf35c16ed43b634d91d2d19686bf9bbfeb970
|
||||||
python_version=2 #unverified
|
|
||||||
|
|
||||||
if [ -n "$CROSS_BUILD" ]; then
|
post_patch() {
|
||||||
hostmakedepends+=" qt-host-tools qt-devel"
|
vsed -i '/INSTALL/s,"data,"/usr/share/hydrogen/data,' \
|
||||||
fi
|
data/i18n/CMakeLists.txt
|
||||||
CXXFLAGS="-std=gnu++11 -Wno-deprecated-register -fno-implement-inlines"
|
}
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
H2_HOME=$wrksrc ./build/src/tests/tests
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
rm -rf $DESTDIR/usr/include
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue