void-packages/srcpkgs/gst-plugins-good/template

34 lines
1.3 KiB
Bash

# Template file for 'gst-plugins-good'.
pkgname=gst-plugins-good
version=0.10.31
revision=11
build_style=gnu-configure
configure_args="--with-gudev --with-libv4l2 --enable-experimental
--disable-schemas-install --disable-aalib --disable-esd --disable-hal
--disable-libcaca --disable-libdv --disable-dv1394 --disable-shout2
--with-gconf-schema-file-dir=/usr/share/gconf/schemas --enable-speex"
# XXX: build libcaca, libdv, dv1394 and shout2 modules.
hostmakedepends="pkg-config intltool glib-devel"
makedepends="libpng-devel libxml2-devel
libgudev-devel libflac-devel libXdamage-devel gtk+-devel taglib-devel
libsoup-gnome-devel gst-plugins-base-devel GConf-devel pulseaudio-devel
orc-devel wavpack-devel v4l-utils-devel jack-devel speex-devel"
short_desc="GStreamer set of well-maintained good plug-ins"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gstreamer.freedesktop.org/"
license="LGPL-2.1"
distfiles="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$version.tar.xz"
checksum=77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64
pre_configure() {
sed -i -e "/input:/d" sys/v4l2/gstv4l2bufferpool.c
sed -i -e "/case V4L2_CID_HCENTER/d" -e "/case V4L2_CID_VCENTER/d" sys/v4l2/v4l2_calls.c
}
post_install() {
# remove gconf schemas completely
if [ -d ${DESTDIR}/usr/share/gconf ]; then
rm -r ${DESTDIR}/usr/share/gconf
fi
}