| 1 | # Description: Gstreamer is a library that allows the construction of graphs of media-handling components. |
| 2 | # URL: http://gstreamer.freedesktop.org/ |
| 3 | # Packager: Matt Housh, jaeger at morpheus dot net |
| 4 | # Maintainer: Jose V Beneyto, sepen at crux dot nu |
| 5 | # Arch Maintainer System Team devel at crux-arm dot nu |
| 6 | # Depends on: glib libxml2 python |
| 7 | |
| 8 | name=gstreamer |
| 9 | version=0.10.30 |
| 10 | release=1 |
| 11 | source=(http://gstreamer.freedesktop.org/src/$name/$name-$version.tar.bz2) |
| 12 | |
| 13 | build() { |
| 14 | export DEFAULT_LIBS="-L$CLFS/usr/lib" |
| 15 | export DEFAULT_CFLAGS="-I$CLFS/usr/include" |
| 16 | export XML_LIBS="$DEFAULT_LIBS -lxml2" |
| 17 | export XML_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/libxml2" |
| 18 | export GLIB_LIBS="-pthread -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0" |
| 19 | export GLIB_CFLAGS="-pthread -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include -I$CLFS/usr/include/gio-unix-2.0" |
| 20 | |
| 21 | cd $name-$version |
| 22 | |
| 23 | ./configure --build=$CHOST \ |
| 24 | --host=$CTARGET \ |
| 25 | --prefix=/usr \ |
| 26 | --mandir=/usr/man \ |
| 27 | --libexecdir=/usr/lib \ |
| 28 | --disable-static \ |
| 29 | --disable-debug \ |
| 30 | --disable-nls \ |
| 31 | --disable-dependency-tracking \ |
| 32 | --disable-valgrind \ |
| 33 | --disable-examples |
| 34 | |
| 35 | make |
| 36 | make DESTDIR=$PKG install |
| 37 | rm -r $PKG/usr/share/gtk-doc |
| 38 | } |