[arch-commits] Commit in streamtuner/trunk (PKGBUILD shoutcast-redesign-patch.diff)
andyrtr at archlinux.org
andyrtr at archlinux.org
Mon Sep 29 17:52:22 UTC 2008
Date: Monday, September 29, 2008 @ 13:52:22
Author: andyrtr
Revision: 13911
upgpkg: streamtuner 0.99.99-9
fix #11463
Added:
streamtuner/trunk/shoutcast-redesign-patch.diff
Modified:
streamtuner/trunk/PKGBUILD
-------------------------------+
PKGBUILD | 25 ++++++++++++++-----------
shoutcast-redesign-patch.diff | 12 ++++++++++++
2 files changed, 26 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-09-29 17:12:27 UTC (rev 13910)
+++ PKGBUILD 2008-09-29 17:52:22 UTC (rev 13911)
@@ -1,10 +1,10 @@
# $Id$
# Contributor: Greg Grabinski <greg at grabinski.ch>
-# Maintainer: dorphell <dorphell at archlinux.org>
+# Maintainer: ndreas Radke <andyrtr at archlinux.org>
pkgname=streamtuner
pkgver=0.99.99
-pkgrel=8
+pkgrel=9
pkgdesc="A stream directory browser"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/streamtuner/"
@@ -15,24 +15,27 @@
source=(http://savannah.nongnu.org/download/streamtuner/$pkgname-$pkgver.tar.gz \
http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-live365.diff \
http://savannah.nongnu.org/download/streamtuner/streamtuner-0.99.99-pygtk-2.6.diff
- streamtuner-0.99.99-shoutcast.diff)
+ streamtuner-0.99.99-shoutcast.diff
+ shoutcast-redesign-patch.diff)
options=('!libtool' '!emptydirs')
md5sums=('2027b7c34e85b594524b0b4351c14362'
'8aa1994a849b05d2b8fffbda702b8a25'
'7aff45a41c60358cb2332c7ce644f661'
- '1eab6edce130e1a1e5f208cd3ed6766a')
+ '1eab6edce130e1a1e5f208cd3ed6766a'
+ '8a3a17a1719a79353d6ad7ac8564947b')
build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -p0 -i $startdir/src/streamtuner-0.99.99-live365.diff || return 1
- patch -p0 -i $startdir/src/streamtuner-0.99.99-pygtk-2.6.diff || return 1
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -p0 -i ${srcdir}/streamtuner-0.99.99-live365.diff || return 1
+ patch -p0 -i ${srcdir}/streamtuner-0.99.99-pygtk-2.6.diff || return 1
# fix http://bugs.archlinux.org/task/10308
- patch -p0 -i $startdir/src/streamtuner-0.99.99-shoutcast.diff || return 1
+ patch -p0 -i ${srcdir}/streamtuner-0.99.99-shoutcast.diff || return 1
+ # fix http://bugs.archlinux.org/task/11463
+ patch -p1 -i ${srcdir}/shoutcast-redesign-patch.diff || return 1
./configure --prefix=/usr
make || return 1
- make prefix=$startdir/pkg/usr install
+ make prefix=${pkgdir}/usr install
#Add license file
- install -Dm0644 $startdir/src/$pkgname-$pkgver/COPYING \
- $startdir/pkg/usr/share/licenses/$pkgname/COPYING
+ install -Dm0644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
}
Added: shoutcast-redesign-patch.diff
===================================================================
--- shoutcast-redesign-patch.diff (rev 0)
+++ shoutcast-redesign-patch.diff 2008-09-29 17:52:22 UTC (rev 13911)
@@ -0,0 +1,12 @@
+diff -uar streamtuner-0.99.99-orig/src/plugins/shoutcast/shoutcast.c streamtuner-0.99.99-patched/src/plugins/shoutcast/shoutcast.c
+--- streamtuner-0.99.99-orig/src/plugins/shoutcast/shoutcast.c 2008-09-12 18:04:00.229785732 -0400
++++ streamtuner-0.99.99-patched/src/plugins/shoutcast/shoutcast.c 2008-09-12 18:05:56.716440720 -0400
+@@ -37,7 +37,7 @@
+
+ /*** cpp *********************************************************************/
+
+-#define SHOUTCAST_ROOT "http://www.shoutcast.com/"
++#define SHOUTCAST_ROOT "http://classic.shoutcast.com/"
+
+ #define MAX_STREAMS_PER_PAGE 100 /* enforced by SHOUTcast */
+
More information about the arch-commits
mailing list