summaryrefslogtreecommitdiff
path: root/audio/pianobar
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2011-07-19 09:59:56 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:12 -0500
commit5d2fe40bf19ffb3a77ece62b61c46bc0aa1b4c98 (patch)
treef7f15b4409a5c0e2c6d1b6bf968950f6219c1800 /audio/pianobar
parent5cf142a29f11d10daf37ec55951667fa222b27a6 (diff)
downloadslackbuilds-5d2fe40bf19ffb3a77ece62b61c46bc0aa1b4c98.tar.gz
audio/pianobar: Updated for version 2011.07.09.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'audio/pianobar')
-rw-r--r--audio/pianobar/Makefile.diff19
-rw-r--r--audio/pianobar/pianobar.SlackBuild4
-rw-r--r--audio/pianobar/pianobar.info8
3 files changed, 18 insertions, 13 deletions
diff --git a/audio/pianobar/Makefile.diff b/audio/pianobar/Makefile.diff
index 84965d61a2..2faefac08d 100644
--- a/audio/pianobar/Makefile.diff
+++ b/audio/pianobar/Makefile.diff
@@ -1,13 +1,18 @@
---- pianobar-2011.04.27.orig/Makefile 2011-04-27 14:11:06.000000000 -0500
-+++ pianobar-2011.04.27/Makefile 2011-05-01 17:11:47.000000000 -0500
-@@ -6,9 +6,8 @@
- INCDIR:=${PREFIX}/include
+diff -ru pianobar-2011.07.09-orig/Makefile pianobar-2011.07.09/Makefile
+--- pianobar-2011.07.09-orig/Makefile 2011-07-09 04:40:54.000000000 -0400
++++ pianobar-2011.07.09/Makefile 2011-07-09 23:23:28.000000000 -0400
+@@ -7,13 +7,7 @@
MANDIR:=${PREFIX}/share/man
DYNLINK:=0
--CFLAGS:=-O2 -DNDEBUG
+
+-# Respect environment variables set by user; does not work with :=
+-ifeq (${CFLAGS},)
+- CFLAGS=-O2 -DNDEBUG
+-endif
+-ifeq (${CC},cc)
+- CC=c99
+-endif
+CFLAGS+=-std=c99 -O2 -DNDEBUG
- LDFLAGS:=
--CC:=c99
PIANOBAR_DIR=src
PIANOBAR_SRC=\
diff --git a/audio/pianobar/pianobar.SlackBuild b/audio/pianobar/pianobar.SlackBuild
index c9b95c8655..4413261cca 100644
--- a/audio/pianobar/pianobar.SlackBuild
+++ b/audio/pianobar/pianobar.SlackBuild
@@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=pianobar
-VERSION=${VERSION:-2011.04.27}
+VERSION=${VERSION:-2011.07.09}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,7 +50,7 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix Makefile and make sure the CFLAGS is respected
+# Fix Makefile
patch -p1 < $CWD/Makefile.diff
CFLAGS="$SLKCFLAGS" \
diff --git a/audio/pianobar/pianobar.info b/audio/pianobar/pianobar.info
index 0cb34e7004..d614ecdb7f 100644
--- a/audio/pianobar/pianobar.info
+++ b/audio/pianobar/pianobar.info
@@ -1,10 +1,10 @@
PRGNAM="pianobar"
-VERSION="2011.04.27"
+VERSION="2011.07.09"
HOMEPAGE="http://6xq.net/html/00/17.html"
-DOWNLOAD="http://6xq.net/media/00/16/pianobar-2011.04.27.tar.bz2"
-MD5SUM="0fa84d8e8a091f82a9fd580d50c0967b"
+DOWNLOAD="http://6xq.net/media/00/16/pianobar-2011.07.09.tar.bz2"
+MD5SUM="7de0981ac459c0d61c983ee7b7911502"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Phillip Warner"
EMAIL="pc_warner@yahoo.com"
-APPROVED="dsomero,Niels Horn,Erik Hanson"
+APPROVED="dsomero,Erik Hanson,Niels Horn"