void-packages/srcpkgs/smplayer/template
2016-01-13 07:45:05 +01:00

21 lines
763 B
Bash

# Template file for 'smplayer'
pkgname=smplayer
version=16.1.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=d25c9b62d36c5ee63fb360e9a45566601d49d707e1364294a54967b956bdd8c9
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
}