core/gstreamer0.10-good/PKGBUILD

63 lines
2.2 KiB
Bash

#
# Platform packages of Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgbase=gstreamer0.10-good
pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
pkgver=0.10.31
pkgrel=9
arch=('x86_64')
license=('LGPL')
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.36' 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv'
'flac'
'wavpack' 'taglib' 'libsoup' 'libcaca' 'bzip2' 'gdk-pixbuf2' 'pulseaudio' 'jack' 'systemd')
url="http://gstreamer.freedesktop.org/"
options=(!libtool !emptydirs)
source=("${url}/src/gst-plugins-good/gst-plugins-good-${pkgver}.tar.xz")
sha256sums=('77a8436a7c0a15f876bad29616835046890df2bcaf72da02151bd91e3d292b64')
build() {
cd "${srcdir}/gst-plugins-good-${pkgver}"
sed -i '/AC_PATH_XTRA/d' configure.ac
sed "13 i CXXFLAGS=${CXXFLAGS} -w -Wno-error" configure.ac
autoreconf
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental \
--disable-schemas-install \
--disable-hal \
--disable-gconf \
--disable-esd \
--disable-gst_v4l2 \
--with-package-name="GStreamer Good Plugins (Chakra GNU/Linux)" \
--with-package-origin="http://www.chakra-project.org/"
make
sed -e 's/gst sys ext/gst/' -i Makefile
}
package_gstreamer0.10-good() {
depends=('gstreamer0.10-base' 'bzip2')
pkgdesc="GStreamer Multimedia Framework Good plugin libraries"
cd "${srcdir}/gst-plugins-good-${pkgver}"
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}/etc/gconf"
}
package_gstreamer0.10-good-plugins() {
depends=("gstreamer0.10-good=${pkgver}" 'libavc1394' 'libiec61883' 'aalib' 'libshout' 'libdv' 'flac'
'wavpack' 'taglib' 'libsoup' 'libcaca' 'libpng' 'libjpeg' 'gdk-pixbuf2' 'jack' 'libpulse' 'udev')
pkgdesc="GStreamer Multimedia Framework Good Plugins (gst-plugins-good)"
groups=('gstreamer0.10-plugins')
cd "${srcdir}/gst-plugins-good-${pkgver}"
make -C sys DESTDIR="${pkgdir}" install
make -C ext GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
install -m644 gconf/gstreamer-0.10.schemas "${pkgdir}/usr/share/gconf/schemas/gstreamer0.10-good-plugins.schemas"
}