You are not logged in.

#1 2008-09-08 20:07:52

luuuciano
Member
Registered: 2007-01-27
Posts: 310

[request] pkgbuild for peercast ?

peercast: PeerCast is a simple, free way to listen to radio and watch video on the Internet. It uses P2P technology to let anyone become a broadcaster without the costs of traditional streaming. This means you get to hear and watch stations not normally found on commercially funded sites.

http://www.peercast.org/
http://www.peercast.org/download/
http://www.peercast.org/code/

I think that peercast is a really interesting tool
we have icecast in extra, but no peercast... as a plus, peercast can stream video too... and you know, its p2p!

maybe someone wants to do the pkgbuild for it?

Last edited by luuuciano (2008-09-08 20:08:29)


I arch, you arch, he arch, she arch, we arch, they arch...

Offline

#2 2008-09-08 20:30:19

Tib05
Member
From: France
Registered: 2007-07-02
Posts: 31

Re: [request] pkgbuild for peercast ?

PeerCast for Linux doesn't need any installation.
You just have to download the .tgz file (here : http://www.peercast.org/peercast-linux.tgz), unpack it, and run the "peercast" executable.
And afterwards, go to http://127.0.0.1:7144 to see your peercast server's statu.
I just mean that I think a package for peercast seems to be useless ...

(sorry for my english ! smile).

Offline

#3 2008-09-09 07:19:57

drag0nl0rd
Package Maintainer (PM)
From: Czech Republic
Registered: 2007-10-24
Posts: 127
Website

Re: [request] pkgbuild for peercast ?

The precompiled binary died on my machine, the compiled ran just fine. So I think there is a reason to make a PKGBUILD. If I get some time later today, maybe I will give it a try. The app looks interesting.

Edit:
If someone is interested in finishing this one, feel free to grab this:

PKGBUILD

pkgname=peercast-svn
pkgver=347
pkgrel=1
pkgdesc=""
arch=('i686')
url="http://www.peercast.org"
license=('GPL')
depends=()

source=($pkgname-install.diff)
md5sums=('389eec3b4569e3031d629356d260c938')

_svntrunk=svn://peercast.org/peercast/trunk
_svnmod=trunk

build() {
  cd "${srcdir}"

  if [ -d $_svnmod/.svn ]; then
    (cd $_svnmod && svn up -r $pkgver)
  else
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  fi

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  rm -r "${srcdir}/$_svnmod-build"
  cp -r "${srcdir}/$_svnmod" "$srcdir/$_svnmod-build"
  cd "${srcdir}/$_svnmod-build/ui/linux"

#BUILD
  make || return 1
  patch -Np0 -i "${srcdir}/$pkgname-install.diff" || return 1
  sh install.sh || return 1

#removing unneeded
  rm -rf `find ${pkgdir}/usr -type d -name .svn` || return 1
}

peercast-svn-install.diff

--- install.sh.orig    2008-09-15 15:21:15.000000000 +0200
+++ install.sh    2008-09-15 15:25:14.000000000 +0200
@@ -11,3 +11,3 @@
 if [ "$PREFIX" = "" ]; then
-    PREFIX="/usr/local"
+    PREFIX="../../../../pkg/usr"
 fi

Last edited by drag0nl0rd (2008-09-15 13:54:11)

Offline

Board footer

Powered by FluxBB