diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-06-13 18:59:26 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-06-13 18:59:26 -0500 |
commit | f8041d5d9cb07b133bf8acf76ed6cc86de5ecff7 (patch) | |
tree | 3f5a65f9d5c6e5caab64a00b42a7faf446044496 | |
parent | ccaede44f759b76f7d120ab891a50a9eb048648c (diff) |
smplayer: add new package to [libre]
-rw-r--r-- | libre/smplayer/PKGBUILD | 35 | ||||
-rw-r--r-- | libre/smplayer/smplayer.install | 12 |
2 files changed, 47 insertions, 0 deletions
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 <ibiru@archlinux.org> +# Contributor (Arch): Allan McRae <allan@archlinux.org> +# Contributor (Arch): Alessio 'mOLOk' Bolognino <themolok@gmail.com> +# Contributor (Arch): shamrok <szamrok@gmail.com> +# Maintainer : Omar Vega Ramos <ovruni@gnu.org.pe> + +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 +} |