# Template file for 'ogmtools' pkgname=ogmtools version=1.5 revision=2 short_desc="Tools for information,extractions or creation of OGG media streams" maintainer="Martin Riese " license="GPL-2" homepage="http://www.bunkus.org/videotools/ogmtools/" distfiles="http://www.bunkus.org/videotools/ogmtools/ogmtools-1.5.tar.bz2" checksum="c8d61d1dbceb981dc7399c1a85e43b509fd3d071fb8d3ca89ea9385e6e40fdea" build_style=gnu-configure configure_args="--disable-oggtest --disable-vorbistest --with-dvdread --with-dvdread-includes=${XBPS_CROSS_BASE}/usr --with-dvdread-libs=${XBPS_CROSS_BASE}/usr/lib" hostmakedepends="automake libtool pkg-config" makedepends="libvorbis-devel libdvdread-devel" CFLAGS="-I./avilib" CXXFLAGS="${CFLAGS}" pre_configure() { mv configure.{in,ac} autoreconf -if if [ "$CROSS_BUILD" ]; then # Fix unneeded error when cross compiling sed -i configure \ -e '/.*test "$cross_compiling" = yes &&/d' \ -e '/.*as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5/d' fi }