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

33 lines
1.4 KiB
Text

# Template file for 'gst-plugins-good'.
pkgname=gst-plugins-good
version=0.10.31
revision=7
lib32disabled=yes
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"
makedepends="libpng-devel>=1.6 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>=0.8.9 jack-devel speex-devel"
short_desc="GStreamer set of well-maintained good plug-ins"
maintainer="Juan RP <xtraeme@gmail.org>"
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() {
mv ${DESTDIR}/usr/share/gconf/schemas/*.schemas ${wrksrc}
gconf-merge-schema ${DESTDIR}/usr/share/gconf/schemas/gstreamer-0.10.schemas \
--domain ${pkgname}-0.10 ${wrksrc}/*.schemas
}