21 lines
768 B
Bash
21 lines
768 B
Bash
# Template file for 'smplayer'
|
|
pkgname=smplayer
|
|
version=14.9.0.6887
|
|
revision=1
|
|
makedepends="zlib-devel qt5-script-devel qt5-tools-devel"
|
|
depends="mplayer hicolor-icon-theme desktop-file-utils"
|
|
short_desc="A complete front-end for MPlayer"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="http://smplayer.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=39b49cad71ea5c7af6b98fc7667c616955f6cfd9d774436f8d9a8fd29d0ff327
|
|
|
|
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
|
|
}
|