diff --git a/srcpkgs/smplayer/template b/srcpkgs/smplayer/template index 8eb3c76193..46960439f1 100644 --- a/srcpkgs/smplayer/template +++ b/srcpkgs/smplayer/template @@ -1,7 +1,7 @@ # Template file for 'smplayer' pkgname=smplayer -version=17.2.0 -revision=2 +version=17.3.0 +revision=1 build_style=gnu-makefile hostmakedepends="qt5-host-tools qt5-tools qt5-script-devel" makedepends="zlib-devel qt5-script-devel qt5-tools-devel" @@ -11,10 +11,11 @@ maintainer="Juan RP " license="GPL-2" homepage="http://smplayer.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" -checksum=adc1080de88b2fac4a63844091968c8f9df475084743766efc9efe01fde5d816 +checksum="b26686329fb9e0fded08cd2c42c7d1a6e778953e8059c5aa00b88d3c8b38677b" pre_build() { - export QMAKE_OPTS="QMAKE_CXXFLAGS=\"${CXXFLAGS}\" QMAKE_LFLAGS=\"${LDFLAGS}\"" + export QMAKE_OPTS="QMAKE_CC=$CC QMAKE_CXX=$CXX QMAKE_LINK=$CXX QMAKE_CFLAGS=\"${CFLAGS}\" \ + QMAKE_CXXFLAGS=\"${CXXFLAGS}\" QMAKE_LFLAGS=\"${LDFLAGS}\"" sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' src/smplayer.pro sed -i 's|DOC_PATH=$(PREFIX)/share/doc/packages/smplayer|DOC_PATH=$(PREFIX)/share/doc/smplayer|' Makefile }