summaryrefslogtreecommitdiff
path: root/community/xnoise
diff options
context:
space:
mode:
Diffstat (limited to 'community/xnoise')
-rwxr-xr-xcommunity/xnoise/PKGBUILD37
-rw-r--r--community/xnoise/xnoise.install13
2 files changed, 50 insertions, 0 deletions
diff --git a/community/xnoise/PKGBUILD b/community/xnoise/PKGBUILD
new file mode 100755
index 000000000..0add992ea
--- /dev/null
+++ b/community/xnoise/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id: PKGBUILD 90300 2013-05-11 05:30:04Z fyan $
+# Maintainer: Felix Yan <felixonmars@gmail.com>
+# Contributor: archtux <antonio dot arias99999 at gmail dot com>
+
+pkgname=xnoise
+pkgver=0.2.18
+pkgrel=1
+pkgdesc="Media player with a slick GUI, great speed and lots of features."
+arch=('i686' 'x86_64')
+url="http://www.xnoise-media-player.com/"
+license=('GPL2')
+depends=('desktop-file-utils' 'gnome-icon-theme' 'gst-plugins-base-libs' 'gst-plugins-good' 'gtk3' 'libsoup' 'sqlite' 'libtaginfo' 'librsvg')
+optdepends=('gst-plugins-base: Basic media codecs'
+ 'gst-plugins-bad: Extra media codecs'
+ 'gst-plugins-ugly: Extra media codecs'
+ 'gst-libav: Extra media codecs'
+ 'gvfs: Needed for fetching album art')
+makedepends=('gettext' 'intltool')
+options=('!libtool')
+install=$pkgname.install
+source=("https://bitbucket.org/shuerhaaken/xnoise/downloads/$pkgname-$pkgver.tar.gz")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+
+ # Remove obsolete files
+ rm -rf "$pkgdir/usr/include" "$pkgdir/usr/share/vala"
+}
+sha512sums=('afe6d380f84c96d3612ed6a01a31b279b06d101252304a83be081eb25d4342e3487aa0f1955c3aa6b70297f8858d3c01be5f708a37c3741a1c2b6afd76127e9b')
diff --git a/community/xnoise/xnoise.install b/community/xnoise/xnoise.install
new file mode 100644
index 000000000..8f2bcd263
--- /dev/null
+++ b/community/xnoise/xnoise.install
@@ -0,0 +1,13 @@
+
+post_install() {
+ gtk-update-icon-cache -t -f /usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}