# $Id$ # Maintainer (Arch): Ionut Biru # Contributor (Arch): Allan McRae # Contributor (Arch): Alessio 'mOLOk' Bolognino # Contributor (Arch): shamrok # Maintainer: Omar Vega Ramos # Maintainer: André Silva pkgname=smplayer pkgver=14.9.0.6690 pkgrel=1.parabola2 pkgdesc="A complete front-end for MPlayer, without nonfree smtube recommendation" arch=('i686' 'x86_64') url="http://smplayer.sourceforge.net/" license=('GPL') depends=('qt5-script' 'mplayer' 'hicolor-icon-theme' 'libxkbcommon-x11') makedepends=('qt5-tools') optdepends=('smplayer-themes: icon themes collection' 'smplayer-skins: skin themes collection' 'mpv: for using mpv instead of mplayer') install=smplayer.install source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('75d8947682de96f7bf29c6f1a2f21391') prepare() { cd "$pkgname-$pkgver" sed -i 's|DEFINES [+][=] YOUTUBE_SUPPORT|#DEFINES += YOUTUBE_SUPPORT| s|DEFINES [+][=] YT_USE_SCRIPT|#DEFINES += YT_USE_SCRIPT| ' src/smplayer.pro } build() { cd "$pkgname-$pkgver" make PREFIX=/usr \ DOC_PATH="\\\"/usr/share/doc/smplayer\\\"" \ QMAKE_OPTS=DEFINES+=NO_DEBUG_ON_CONSOLE } package() { cd "$pkgname-$pkgver" make DOC_PATH=/usr/share/doc/smplayer \ DESTDIR="$pkgdir" PREFIX="/usr" install }