diff options
Diffstat (limited to 'community/pragha')
-rw-r--r-- | community/pragha/PKGBUILD | 17 | ||||
-rw-r--r-- | community/pragha/cdio-includes.patch | 12 |
2 files changed, 23 insertions, 6 deletions
diff --git a/community/pragha/PKGBUILD b/community/pragha/PKGBUILD index 079899c3d..7ea9fb4c5 100644 --- a/community/pragha/PKGBUILD +++ b/community/pragha/PKGBUILD @@ -1,27 +1,32 @@ -# $Id: PKGBUILD 75419 2012-08-22 19:34:43Z ttopper $ +# $Id: PKGBUILD 82336 2013-01-15 11:35:08Z allan $ # Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de> # Contributor: Alois Nespor <alois.nespor@gmail.com> # Contributor: JerichoKru <jerichokru(AT)htomail.com> pkgname=pragha pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="A lightweight GTK+ music manager - fork of Consonance Music Manager." arch=('i686' 'x86_64' 'mips64el') url="http://pragha.wikispaces.com/" license=('GPL3') -depends=('libnotify' 'libcdio' 'gstreamer0.10-base' +depends=('libnotify' 'libcdio-paranoia' 'gstreamer0.10-base' 'taglib' 'hicolor-icon-theme' 'gtk2' 'dbus-glib' 'sqlite' 'desktop-file-utils' 'libclastfm') optdepends=('notification-daemon: OSD notification') replaces=('dissonance') install=pragha.install -source=("https://github.com/downloads/matiasdelellis/pragha/$pkgname-$pkgver.tar.bz2") -sha1sums=('a7b839df5799263f870ea65a7f272015e24637e9') +source=("https://github.com/downloads/matiasdelellis/pragha/$pkgname-$pkgver.tar.bz2" + cdio-includes.patch) +sha1sums=('a7b839df5799263f870ea65a7f272015e24637e9' + '05a2e007800dc5395a0bb7f026ec7e388cd9488c') build() { cd "$srcdir/$pkgname-$pkgver" + + patch -Np1 -i "$srcdir/cdio-includes.patch" + LIBS+="-ldbus-glib-1" ./configure --prefix=/usr make } @@ -29,7 +34,7 @@ build() { package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir/" install - + install -m 644 "data/$pkgname.desktop" "$pkgdir/usr/share/applications" install -d "$pkgdir/usr/share/pixmaps" install -m 644 "data/$pkgname.png" "$pkgdir/usr/share/pixmaps/" diff --git a/community/pragha/cdio-includes.patch b/community/pragha/cdio-includes.patch new file mode 100644 index 000000000..9f93044d1 --- /dev/null +++ b/community/pragha/cdio-includes.patch @@ -0,0 +1,12 @@ +diff -upr pragha-1.1.1.orig/src/cdda.h pragha-1.1.1/src/cdda.h +--- pragha-1.1.1.orig/src/cdda.h 2013-01-14 04:58:09.000000000 +0200 ++++ pragha-1.1.1/src/cdda.h 2013-01-14 04:58:52.000000000 +0200 +@@ -21,7 +21,7 @@ + + #include <glib.h> + +-#include <cdio/cdda.h> ++#include <cdio/paranoia/cdda.h> + #include <cdio/cd_types.h> + #ifdef __CDIO_CONFIG_H__ + #include <cdio/cdio_unconfig.h> |