smplayer: update to 21.8.0.

This commit is contained in:
Helmut Pozimski 2021-08-17 20:00:21 +02:00
parent 1bb5989f6f
commit 9e738792ca

View file

@ -1,7 +1,7 @@
# Template file for 'smplayer'
pkgname=smplayer
version=21.1.0
revision=2
version=21.8.0
revision=1
build_style=gnu-makefile
build_helper=qmake
hostmakedepends="qt5-host-tools qt5-tools qt5-script-devel tar"
@ -12,14 +12,14 @@ maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="https://www.smplayer.info"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=634baadf65e843c7e92090d27117c0ee9dd161deb1d4f5994ac63201860a7ff7
checksum=c5bcdb175303baf590eaa91163043f23cfab1901ac15e7da24b4d674f1822163
export QT_SELECT=5
pre_build() {
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
vsed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' src/smplayer.pro
vsed -i 's|PREFIX=/usr/local|PREFIX=/usr|' Makefile
vsed -i 's|DOC_PATH=$(PREFIX)/share/doc/packages/smplayer|DOC_PATH=$(PREFIX)/share/doc/smplayer|' Makefile
}
do_build() {