contrib/farstream/Pkgfile

37 lines
890 B
Plaintext
Raw Normal View History

2016-02-18 10:37:31 +01:00
# Description: Audio/video communications framework.
# URL: http://www.freedesktop.org/wiki/Software/Farstream
2023-08-14 21:44:06 +02:00
# Maintainer: UNMAINTAINED
2016-09-30 12:13:35 +02:00
# Depends on: gst-plugins-base libnice
# Optional: gst-plugins-bad gst-plugins-good
2016-02-18 10:37:31 +01:00
name=farstream
2020-04-17 15:44:50 +02:00
version=0.2.9
2016-02-18 10:37:31 +01:00
release=1
2020-04-17 15:44:50 +02:00
source=(https://freedesktop.org/software/$name/releases/$name/$name-$version.tar.gz
farstream-make-4.3.patch)
2016-02-18 10:37:31 +01:00
build() {
cd $name-$version
2020-04-17 15:44:50 +02:00
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
2020-04-17 15:44:50 +02:00
2016-02-18 10:37:31 +01:00
./configure \
--prefix=/usr \
--with-package-name='CRUX Linux farstream package' \
2020-04-17 15:44:50 +02:00
--with-package-origin='http://crux.nu' \
--disable-gtk-doc
2016-02-18 10:37:31 +01:00
make
make DESTDIR=$PKG install
}