farstream: fix build on systems without gtk-doc

This commit is contained in:
John McQuah 2023-06-25 08:27:12 -04:00
parent 57aca5741a
commit fd0908544b
2 changed files with 12 additions and 6 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+klVm7s8bEDWf3RvgLjN0xNbkEQ04jIbG1XE0O7peJxOic0a22Zqxa+UIBNgr/rOZ+C8eivnewGLdlDojdroAw=
SHA256 (Pkgfile) = d8bba339845b55151f6d11ea6e142760c4b25445f79d0d5e2b6e82040968e9ae
RWSagIOpLGJF3x6I7Rt7htRMIO2MiTENjj1IpgjrUtEk/zAo9yX08w0kCUwTwKQ56bwHKETCPJHnFWZTLBFHINmYW8Vd7PcaEwM=
SHA256 (Pkgfile) = 4aed6fab2f59bba2760a006b64c10eba651e108f2bc304d26ed14bda1a448b09
SHA256 (.footprint) = d7641957005955e83650f778061f666793865ad675f05eb9aa60067a02e1ba97
SHA256 (farstream-0.2.9.tar.gz) = cb7d112433cf7c2e37a8ec918fb24f0ea5cb293cfa1002488e431de26482f47b
SHA256 (farstream-make-4.3.patch) = 39485c842498c57a0b88ced4897e4ac216426cdd8a8416231513af1513208f5c

View File

@ -14,7 +14,16 @@ build() {
cd $name-$version
patch -p1 -i $SRC/farstream-make-4.3.patch
./autogen.sh --disable-gtk-doc
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 \
@ -24,7 +33,4 @@ build() {
make
make DESTDIR=$PKG install
# gtk-doc is still generated!
rm -r $PKG/usr/share/gtk-doc
}