diff options
Diffstat (limited to 'community/parole')
-rw-r--r-- | community/parole/PKGBUILD | 37 | ||||
-rw-r--r-- | community/parole/parole.install | 12 |
2 files changed, 49 insertions, 0 deletions
diff --git a/community/parole/PKGBUILD b/community/parole/PKGBUILD new file mode 100644 index 000000000..e7e52123f --- /dev/null +++ b/community/parole/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 93130 2013-06-25 14:39:40Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: TDY <tdy@gmx.com> + +pkgname=parole +pkgver=0.5.1 +pkgrel=2 +pkgdesc="A modern media player based on the GStreamer framework" +arch=('i686' 'x86_64') +url="http://goodies.xfce.org/projects/applications/parole/" +license=('GPL') +depends=('gstreamer' 'gst-plugins-base-libs' 'hicolor-icon-theme' 'libnotify>=0.4.1' + 'libxfce4ui>=4.7.0' 'taglib>=1.4' 'desktop-file-utils' 'gst-plugins-good') +makedepends=('pkgconfig>=0.9.0' 'xfce4-dev-tools') +optdepends=('xulrunner: browser plugin' + 'gst-libav' + 'gst-plugins-bad' + 'gst-plugins-base' + 'gst-plugins-ugly') +conflicts=('parole-media-player-git') +options=('!libtool') +install=parole.install +source=(http://git.xfce.org/apps/parole/snapshot/parole-$pkgver.tar.bz2) +md5sums=('0236073ad67916092a75fcaa59583780') + +build() { + cd "$srcdir/$pkgname-$pkgver" + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g' configure.ac.in + ./autogen.sh --prefix=/usr --libexecdir=/usr/lib \ + --enable-taglib --enable-libnotify --with-gstreamer=1.0 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/community/parole/parole.install b/community/parole/parole.install new file mode 100644 index 000000000..dcc06de40 --- /dev/null +++ b/community/parole/parole.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |