void-packages/srcpkgs/smplayer/template
2013-07-28 08:55:29 +02:00

27 lines
751 B
Text

# Template file for 'smplayer'
pkgname=smplayer
version=0.8.5
revision=1
makedepends="mplayer qt-devel hicolor-icon-theme desktop-file-utils"
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"
checksum=3c772738bbd4da2f5ff0e28408dab57dbf3fcdebc9d58097da45b0f2b0da6e6d
do_build() {
sed -i 's:#\(DEFINES += NO_DEBUG_ON_CONSOLE\):\1:' src/smplayer.pro
make PREFIX=/usr QMAKE=qmake LRELEASE=lrelease ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
}
smplayer_package() {
depends="mplayer hicolor-icon-theme desktop-file-utils"
pkg_install() {
vmove all
}
}