From f8041d5d9cb07b133bf8acf76ed6cc86de5ecff7 Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Sat, 13 Jun 2015 18:59:26 -0500 Subject: smplayer: add new package to [libre] --- libre/smplayer/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ libre/smplayer/smplayer.install | 12 ++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 libre/smplayer/PKGBUILD create mode 100644 libre/smplayer/smplayer.install (limited to 'libre/smplayer') diff --git a/libre/smplayer/PKGBUILD b/libre/smplayer/PKGBUILD new file mode 100644 index 000000000..43d9b0609 --- /dev/null +++ b/libre/smplayer/PKGBUILD @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer (Arch): Ionut Biru +# Contributor (Arch): Allan McRae +# Contributor (Arch): Alessio 'mOLOk' Bolognino +# Contributor (Arch): shamrok +# Maintainer : Omar Vega Ramos + +pkgname=smplayer +pkgver=14.9.0.6690 +pkgrel=1.parabola1 +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') + +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 +} diff --git a/libre/smplayer/smplayer.install b/libre/smplayer/smplayer.install new file mode 100644 index 000000000..6481cee07 --- /dev/null +++ b/libre/smplayer/smplayer.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3