void-packages/srcpkgs/smplayer/template

22 lines
760 B
Bash
Raw Normal View History

2013-07-28 06:55:29 +00:00
# Template file for 'smplayer'
pkgname=smplayer
2014-09-12 15:29:17 +00:00
version=14.9.0
2015-01-20 08:38:59 +00:00
revision=2
makedepends="zlib-devel qt5-script-devel qt5-tools-devel"
depends="mplayer hicolor-icon-theme desktop-file-utils"
2013-07-28 06:55:29 +00:00
short_desc="A complete front-end for MPlayer"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://smplayer.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
2014-09-12 15:29:17 +00:00
checksum=429ad4edd6df1fcedd5ea4fa2b024eb5a61c9412f52762e9d9a9c2245b7ddf13
2013-07-28 06:55:29 +00:00
do_build() {
sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' src/smplayer.pro
2014-09-12 15:29:17 +00:00
sed -i 's|DOC_PATH=$(PREFIX)/share/doc/packages/smplayer|DOC_PATH=$(PREFIX)/share/doc/smplayer|' Makefile
make PREFIX=/usr ${makejobs}
2013-07-28 06:55:29 +00:00
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}