core/gstreamer0.10-base/PKGBUILD

49 lines
1.7 KiB
Bash
Raw Normal View History

2010-11-08 05:49:06 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
2010-11-08 05:49:06 +08:00
#
# maintainer abveritas@chakra-project.org
2010-03-14 23:48:48 +08:00
pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
pkgver=0.10.36
pkgrel=4
arch=('x86_64')
2010-03-14 23:48:48 +08:00
license=('LGPL')
makedepends=('pkgconfig' "gstreamer0.10>=${pkgver}" 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango' 'gobject-introspection')
2010-03-14 23:48:48 +08:00
options=(!libtool !emptydirs)
url="http://gstreamer.freedesktop.org/"
source=(${url}/src/gst-plugins-base/gst-plugins-base-${pkgver}.tar.xz)
md5sums=('3d2337841b132fe996e5eb2396ac9438')
2010-03-14 23:48:48 +08:00
build() {
cd "${srcdir}/gst-plugins-base-${pkgver}"
2011-06-02 06:20:15 +08:00
sed -i '/AC_PATH_XTRA/d' configure.ac
autoreconf
2010-03-14 23:48:48 +08:00
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental --disable-gnome_vfs --enable-subparse\
2010-11-08 05:49:06 +08:00
--with-package-name="GStreamer Base Plugins (Chakra GNU/Linux)" \
--with-package-origin="http://www.chakra-project.org/"
2010-03-14 23:48:48 +08:00
make
sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
2010-03-14 23:48:48 +08:00
}
package_gstreamer0.10-base() {
pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
depends=('gstreamer0.10>=0.10.36' 'orc' 'libxv')
2010-03-14 23:48:48 +08:00
cd "${srcdir}/gst-plugins-base-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-03-14 23:48:48 +08:00
}
package_gstreamer0.10-base-plugins() {
pkgdesc="GStreamer Multimedia Framework Base Plugins (gst-plugins-base)"
2011-06-02 06:20:15 +08:00
depends=("gstreamer0.10-base=${pkgver}" 'alsa-lib' 'cdparanoia' 'libvisual' 'libvorbis' 'libtheora' 'pango')
2010-03-14 23:48:48 +08:00
groups=('gstreamer0.10-plugins')
cd "${srcdir}/gst-plugins-base-${pkgver}"
make -C gst-libs DESTDIR="${pkgdir}" install
make -C ext DESTDIR="${pkgdir}" install
make -C gst-libs DESTDIR="${pkgdir}" uninstall
2010-12-12 20:36:19 +08:00
}