mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
mellowplayer: fix build
This commit is contained in:
parent
7839e891d3
commit
d943b372d8
2 changed files with 20 additions and 6 deletions
13
srcpkgs/mellowplayer/patches/no-werror.patch
Normal file
13
srcpkgs/mellowplayer/patches/no-werror.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
Index: MellowPlayer-3.6.6/src/3rdparty/boost/di.hpp
|
||||||
|
===================================================================
|
||||||
|
--- MellowPlayer-3.6.6.orig/src/3rdparty/boost/di.hpp
|
||||||
|
+++ MellowPlayer-3.6.6/src/3rdparty/boost/di.hpp
|
||||||
|
@@ -67,7 +67,7 @@ BOOST_DI_CFG_FWD
|
||||||
|
#pragma clang diagnostic error "-Wundefined-internal"
|
||||||
|
#pragma clang diagnostic ignored "-Wmissing-field-initializers"
|
||||||
|
#elif defined(__GCC__)
|
||||||
|
-#pragma GCC diagnostic error "-Wdeprecated-declarations"
|
||||||
|
+#pragma GCC diagnostic warning "-Wdeprecated-declarations"
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#if (__GNUC__ < 6)
|
||||||
|
#pragma GCC diagnostic error "-Werror"
|
|
@ -4,7 +4,7 @@ version=3.6.6
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="MellowPlayer-${version}"
|
wrksrc="MellowPlayer-${version}"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config qt5-tools qt5-qmake"
|
hostmakedepends="pkg-config qt5-tools qt5-qmake qt5-host-tools"
|
||||||
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel
|
makedepends="qt5-declarative-devel qt5-quickcontrols2-devel
|
||||||
qt5-plugin-mysql qt5-plugin-pgsql qt5-plugin-sqlite
|
qt5-plugin-mysql qt5-plugin-pgsql qt5-plugin-sqlite
|
||||||
qt5-plugin-tds qt5-plugin-odbc
|
qt5-plugin-tds qt5-plugin-odbc
|
||||||
|
@ -17,11 +17,12 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://colinduquesnoy.gitlab.io/MellowPlayer/"
|
homepage="https://colinduquesnoy.gitlab.io/MellowPlayer/"
|
||||||
distfiles="https://gitlab.com/ColinDuquesnoy/MellowPlayer/-/archive/${version}/MellowPlayer-${version}.tar.bz2"
|
distfiles="https://gitlab.com/ColinDuquesnoy/MellowPlayer/-/archive/${version}/MellowPlayer-${version}.tar.bz2"
|
||||||
checksum=17b8b25ca6b3d27b223f8be6ad80186ae5bd17ce762eb04ecd8b0e82e687b327
|
checksum=17b8b25ca6b3d27b223f8be6ad80186ae5bd17ce762eb04ecd8b0e82e687b327
|
||||||
|
patch_args=-Np1
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$XBPS_WORDSIZE" != "$XBPS_TARGET_WORDSIZE" ]; then
|
||||||
hostmakedepends+=" qt5-host-tools"
|
broken="webengine can be built only if word size matches"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
if [ "$XBPS_TARGET_ENDIAN" != "le" ]; then
|
||||||
arm*) broken="qt5-webengine not available" ;;
|
broken="webengine only supports little endian"
|
||||||
esac
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue