You are not logged in.
Would be great to have a pkgbuild for this so h264 streaming is possible ![]()
Offline
I've never tried to build anything from github before, but this looked like a simple matter of defining a few variables in the relevant PKGBUILD template. I came up with the following:
pkgname=flumotion-ugly-git
pkgver=20110506
pkgrel=1
arch=('i686')
license=('GPL')
depends=('flumotion')
makedepends=('git')
_gitroot="https://github.com/wulczer/flumotion-ugly.git"
_gitname="flumotion-ugly"
build() {
cd "$srcdir"
msg "Connecting to GIT server...."
if [ -d $_gitname ] ; then
cd $_gitname && git pull origin
msg "The local files are updated."
else
git clone $_gitroot $_gitname
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$_gitname-build"
git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$_gitname-build"
make DESTDIR="$pkgdir/" install
} which downloads the package, extracts it, and gets through ./configure without complaining. It aborts during the make, however, apparently due to an inability to find a Makefile in one of the sub-directories. Pasting the script output here (build is taking place in my home directory /home/mph/builds/flumotion-ugly/) :
Making all in flumotion
make[1]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion'
Making all in component
make[2]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component'
Making all in encoders
make[3]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders'
Making all in x264
make[4]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders/x264'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders/x264'
Making all in lamemp3
make[4]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders/lamemp3'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders/lamemp3'
Making all in faac
make[4]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders/faac'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders/faac'
make[4]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders'
make[3]: Leaving directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/encoders'
Making all in muxers
make[3]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/muxers'
Making all in gstflv
make[4]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/muxers/gstflv'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/muxers/gstflv'
Making all in lamemp3
make[4]: Entering directory `/home/mph/builds/flumotion-ugly/src/flumotion-ugly-build/flumotion/component/muxers/lamemp3'
make[4]: *** No rule to make target `all'. Stop.Offline
Thanks however, in the quick test I did, the flumotion wizard did not give the options for these additional codecs.
The need I had for flumotion went away but perhaps someone else can use this as a starting point if they need to ![]()
Offline