summaryrefslogtreecommitdiff
path: root/community/exaile
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/exaile
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/exaile')
-rw-r--r--community/exaile/PKGBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/community/exaile/PKGBUILD b/community/exaile/PKGBUILD
new file mode 100644
index 000000000..5b3c1a53e
--- /dev/null
+++ b/community/exaile/PKGBUILD
@@ -0,0 +1,53 @@
+# $Id: PKGBUILD 40067 2011-02-19 20:19:46Z ebelanger $
+# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
+# Contributor: Benjamin Wild <benwild@gmx.de>
+# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=exaile
+pkgver=0.3.2.1
+pkgrel=1
+pkgdesc="A full-featured media player for GTK+"
+arch=('i686' 'x86_64')
+url="http://www.exaile.org"
+license=('GPL')
+depends=('python2' \
+ 'gstreamer0.10-python' \
+ 'gstreamer0.10-good-plugins' \
+ 'mutagen' \
+ 'dbus-python' \
+ 'pygtk>=2.10' \
+ 'librsvg')
+makedepends=('make' 'help2man')
+optdepends=('pycddb: CD metadata retrieval' \
+ 'hal: device autodetection' \
+ 'gstreamer0.10-bad-plugins: support for more formats' \
+ 'gstreamer0.10-ugly-plugins: support for more formats' \
+ 'gstreamer0.10-ffmpeg: support for more formats' \
+ 'python-sexy: UI enhancements')
+source=(https://www.launchpad.net/exaile/${pkgver%.*}/${pkgver}/+download/exaile-${pkgver}.tar.gz)
+md5sums=('7ecfa9e52a9f2882717b3483518b604b')
+sha1sums=('86e1451ab9e6f96077c9dfc59eea3d4dccb00cf0')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # python2 fix
+ for file in $(find . -name Makefile -print) tools/generate-launcher; do
+ sed -i 's_python_python2_' $file
+ done
+ for file in plugins/*/*.py exaile.py; do
+ sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' $file
+ sed -i 's_#!/usr/bin/python_#!/usr/bin/python2_' $file
+ done
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ make PREFIX=/usr DESTDIR="${pkgdir}" install
+
+ # fix for clicking files with spaces in names from nautilus
+ sed -i "s#%u#%f#" "${pkgdir}/usr/share/applications/exaile.desktop"
+}