diff options
author | Brian Bidulock | 2015-06-10 05:18:08 -0600 |
---|---|---|
committer | Brian Bidulock | 2015-06-10 05:18:08 -0600 |
commit | f360f023a870c1d299ee420eae252d439d865270 (patch) | |
tree | 9b3abae6b2bb1173b2f2ab97d687a823f4779bc4 | |
download | aur-f360f023a870c1d299ee420eae252d439d865270.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 30 | ||||
-rw-r--r-- | PKGBUILD | 40 | ||||
-rw-r--r-- | cdio-includes.patch | 12 | ||||
-rw-r--r-- | consonance.install | 14 | ||||
-rw-r--r-- | libnotify.patch | 18 |
5 files changed, 114 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1f92f847933b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,30 @@ +pkgbase = consonance + pkgdesc = Lightweight GTK+ music manager that aims to be fast, bloat-free and light on memory consumption + pkgver = 0.5.1 + pkgrel = 11 + url = http://sites.google.com/site/consonancemanager + install = consonance.install + arch = i686 + arch = x86_64 + license = GPL + depends = curl + depends = dbus-glib + depends = desktop-file-utils + depends = gtk2 + depends = libao + depends = libmad + depends = libcdio-paranoia + depends = libmodplug + depends = libnotify + depends = libsndfile + depends = sqlite3 + depends = taglib + source = http://sites.google.com/site/consonancemanager/releases-1/consonance-0.5.1.tar.gz + source = libnotify.patch + source = cdio-includes.patch + md5sums = 2a195dd2314f7b65cc57cc871a4c5a47 + md5sums = caa1e8b41723950fd926bfefccbbd8ac + md5sums = 239b451ba8795f8c287e994a7e32d859 + +pkgname = consonance + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..458001937be9 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,40 @@ +# Matinainer: Brian Bidulock <bidulock@openss7.org> +# Contributor: Jonathan Steel <mail at jsteel dot org> +# Contributor: Auguste Pop <auguste [at] gmail [dot] com> +# Contributor: boenki <boenki at gmx dot de> +# Contributor: sujith_m82 <m.sujith@gmail.com> + +pkgname=consonance +pkgver=0.5.1 +pkgrel=11 +pkgdesc='Lightweight GTK+ music manager that aims to be fast, bloat-free and light on memory consumption' +arch=('i686' 'x86_64') +url='http://sites.google.com/site/consonancemanager' +license=('GPL') +depends=('curl' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'libao' 'libmad' + 'libcdio-paranoia' 'libmodplug' 'libnotify' 'libsndfile' 'sqlite3' + 'taglib') +install=$pkgname.install +source=($url/releases-1/$pkgname-$pkgver.tar.gz + libnotify.patch + cdio-includes.patch) +md5sums=('2a195dd2314f7b65cc57cc871a4c5a47' + 'caa1e8b41723950fd926bfefccbbd8ac' + '239b451ba8795f8c287e994a7e32d859') + +build() { + cd "$srcdir"/$pkgname-$pkgver + + patch -Np1 -i "$srcdir"/libnotify.patch + patch -Np1 -i "$srcdir"/cdio-includes.patch + ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver + + make DESTDIR="$pkgdir" install +} + +# vim:set ts=2 sw=2 et: diff --git a/cdio-includes.patch b/cdio-includes.patch new file mode 100644 index 000000000000..c570468b1eb5 --- /dev/null +++ b/cdio-includes.patch @@ -0,0 +1,12 @@ +diff -upr consonance-0.5.1.orig/src/cdda.h consonance-0.5.1/src/cdda.h +--- consonance-0.5.1.orig/src/cdda.h 2013-01-14 05:14:54.000000000 +0200 ++++ consonance-0.5.1/src/cdda.h 2013-01-14 05:15:16.000000000 +0200 +@@ -18,7 +18,7 @@ + #ifndef CDDA_H + #define CDDA_H + +-#include <cdio/cdda.h> ++#include <cdio/paranoia/cdda.h> + #include <cdio/cd_types.h> + + struct con_cdda_decoder { diff --git a/consonance.install b/consonance.install new file mode 100644 index 000000000000..f1474aee395d --- /dev/null +++ b/consonance.install @@ -0,0 +1,14 @@ +post_install() +{ + usr/bin/update-desktop-database -q +} + +post_upgrade() +{ + post_install +} + +post_remove() +{ + post_install +} diff --git a/libnotify.patch b/libnotify.patch new file mode 100644 index 000000000000..f59acbfd960a --- /dev/null +++ b/libnotify.patch @@ -0,0 +1,18 @@ +diff --git a/src/statusicon.c b/src/statusicon.c +index f72e808..04efa58 100644 +--- a/src/statusicon.c ++++ b/src/statusicon.c +@@ -47,11 +47,10 @@ void show_osd(struct con_win *cwin) + + /* Create notification instance */ + +- osd = notify_notification_new_with_status_icon( ++ osd = notify_notification_new( + cwin->cstate->curr_mobj->tags->title, + (const gchar *)body, +- NULL, +- GTK_STATUS_ICON(cwin->status_icon)); ++ gtk_status_icon_get_icon_name(GTK_STATUS_ICON(cwin->status_icon))); + notify_notification_set_timeout(osd, OSD_TIMEOUT); + + /* Add album art if set */ |