summaryrefslogtreecommitdiff
path: root/community-testing/parole
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-30 00:01:38 +0000
committerroot <root@rshg054.dnsready.net>2012-04-30 00:01:38 +0000
commitb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (patch)
treedc5e84c1f7271cf0c8ec0221b5a22e48a884081a /community-testing/parole
parent4412991f6b4fd655fc1f51f8d79a0be0c10158b7 (diff)
Mon Apr 30 00:01:38 UTC 2012
Diffstat (limited to 'community-testing/parole')
-rw-r--r--community-testing/parole/PKGBUILD35
-rw-r--r--community-testing/parole/parole.install12
2 files changed, 47 insertions, 0 deletions
diff --git a/community-testing/parole/PKGBUILD b/community-testing/parole/PKGBUILD
new file mode 100644
index 000000000..fc68c9d76
--- /dev/null
+++ b/community-testing/parole/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 70071 2012-04-29 02:54:14Z foutrelis $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: TDY <tdy@gmx.com>
+
+pkgname=parole
+pkgver=0.2.0.6
+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=('gstreamer0.10-base>=0.10.11' 'hicolor-icon-theme' 'libnotify>=0.4.1'
+ 'libxfcegui4>=4.6.0' 'taglib>=1.4' 'desktop-file-utils')
+makedepends=('pkgconfig>=0.9.0' 'xfce4-dev-tools')
+optdepends=('xulrunner>=1.9.1: browser plugin')
+conflicts=('parole-media-player-git')
+options=('!libtool')
+install=parole.install
+source=(http://archive.xfce.org/src/apps/$pkgname/${pkgver%.*.*}/$pkgname-$pkgver.tar.bz2)
+md5sums=('5d7e5ab7535bdf89508a8d7e551f9187')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Work around DSO linking issue
+ LDFLAGS+=' -lX11'
+
+ ./configure --prefix=/usr --libexecdir=/usr/lib --enable-taglib --enable-libnotify
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/community-testing/parole/parole.install b/community-testing/parole/parole.install
new file mode 100644
index 000000000..dcc06de40
--- /dev/null
+++ b/community-testing/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
+}