forked from ports/contrib
37 lines
915 B
Plaintext
37 lines
915 B
Plaintext
# Description: Audio/video communications framework.
|
|
# URL: http://www.freedesktop.org/wiki/Software/Farstream
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: gst-plugins-base libnice
|
|
# Optional: gst-plugins-bad gst-plugins-good
|
|
|
|
name=farstream
|
|
version=0.2.9
|
|
release=1
|
|
source=(https://freedesktop.org/software/$name/releases/$name/$name-$version.tar.gz
|
|
farstream-make-4.3.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 -i $SRC/farstream-make-4.3.patch
|
|
|
|
sed -i '/gtk-doc.mak/d;' $(grep -lr gtk-doc.mak)
|
|
sed -i '/gtk-doc-plugins.mak/d;' $(grep -lr gtk-doc-plugins.mak)
|
|
|
|
sed '/parameters for aclocal/a AC_CONFIG_MACRO_DIRS([common/m4])' \
|
|
-i configure.ac
|
|
|
|
aclocal
|
|
libtoolize -f
|
|
automake --add-missing
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--with-package-name='CRUX Linux farstream package' \
|
|
--with-package-origin='http://crux.nu' \
|
|
--disable-gtk-doc
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|