void-packages/srcpkgs/smplayer/template

22 lines
764 B
Bash

# Template file for 'smplayer'
pkgname=smplayer
version=15.11.0
revision=1
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"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
homepage="http://smplayer.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=968901fa2c86c13934c5228a8ae8a74188cdb27e49ecc05546e71eac642f19c1
do_build() {
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
}