diff --git a/srcpkgs/smplayer/patches/qt5.5.patch b/srcpkgs/smplayer/patches/qt5.5.patch deleted file mode 100644 index 11bcfca656d..00000000000 --- a/srcpkgs/smplayer/patches/qt5.5.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- src/qtsingleapplication/qtlocalpeer.cpp.orig 2015-08-10 09:29:54.493213017 +0200 -+++ src/qtsingleapplication/qtlocalpeer.cpp 2015-08-10 09:30:14.699440962 +0200 -@@ -42,6 +42,7 @@ - #include "qtlocalpeer.h" - #include - #include -+#include - - #if defined(Q_OS_WIN) - #include diff --git a/srcpkgs/smplayer/template b/srcpkgs/smplayer/template index b6ca10fa2a3..a1a8ab83c23 100644 --- a/srcpkgs/smplayer/template +++ b/srcpkgs/smplayer/template @@ -1,7 +1,8 @@ # Template file for 'smplayer' pkgname=smplayer -version=16.4.0 +version=16.6.0 revision=1 +build_style=gnu-makefile makedepends="zlib-devel qt5-script-devel qt5-tools-devel" depends="hicolor-icon-theme desktop-file-utils" short_desc="A complete front-end for mplayer and mpv" @@ -9,13 +10,10 @@ maintainer="Juan RP " license="GPL-2" homepage="http://smplayer.sourceforge.net/" distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2" -checksum=de4169c7e3a1d8bf6f3c9a77fa0a8c24c1f63db3f2b8a325bc6761c0a9d2d2ec +checksum=10220981f7260ec5f3e7201a5b5b8b534a61056f616811a118d59a8a5696d346 -do_build() { +pre_build() { + export QMAKE_OPTS="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 - make PREFIX=/usr ${makejobs} -} -do_install() { - make PREFIX=/usr DESTDIR=${DESTDIR} install }