smplayer: update to 17.4.2.

This commit is contained in:
Juan RP 2017-04-25 06:47:47 +02:00
parent 7f9c3ab7a5
commit b2ba18a368
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'smplayer'
pkgname=smplayer
version=17.4.0
version=17.4.2
revision=1
build_style=gnu-makefile
hostmakedepends="qt5-host-tools qt5-tools qt5-script-devel"
@ -11,12 +11,13 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://smplayer.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=4ec4eff9c455e445f36cb86ad418f67f48f6319704595942a85478ec2691c1d0
checksum=05577880df3620ab238a9a28055816c8e97d294ad4b2b39eb7de9be281bc85d1
pre_build() {
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|PREFIX=/usr/local|PREFIX=/usr|' Makefile
sed -i 's|DOC_PATH=$(PREFIX)/share/doc/packages/smplayer|DOC_PATH=$(PREFIX)/share/doc/smplayer|' Makefile
}
do_build() {