core/gstreamer0.10-base/PKGBUILD

55 lines
2.3 KiB
Bash
Raw Normal View History

2010-11-08 05:49:06 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
2010-03-14 23:48:48 +08:00
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-03-14 23:48:48 +08:00
pkgbase=('gstreamer0.10-base')
pkgname=('gstreamer0.10-base' 'gstreamer0.10-base-plugins')
2011-06-17 02:31:27 +08:00
pkgver=0.10.35
pkgrel=1
2010-03-14 23:48:48 +08:00
arch=('i686' 'x86_64')
license=('LGPL')
2011-06-17 02:31:27 +08:00
makedepends=('pkgconfig' "gstreamer0.10>=${pkgver}" 'orc>=0.4.11-2' 'libxv' 'alsa-lib>=1.0.24.1-2' '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.bz2)
2011-06-17 02:31:27 +08:00
md5sums=('1d300983525f4f09030eb3ba47cb04b0')
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 \
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/" || return 1
2010-03-14 23:48:48 +08:00
make || return 1
sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile || return 1
}
package_gstreamer0.10-base() {
pkgdesc="GStreamer Multimedia Framework Base plugin libraries"
2011-06-17 02:31:27 +08:00
depends=("gstreamer0.10>=${pkgver}" 'orc' 'libxv>=1.0.5')
2010-03-14 23:48:48 +08:00
cd "${srcdir}/gst-plugins-base-${pkgver}"
make DESTDIR="${pkgdir}" install || return 1
}
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
replaces=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
conflicts=('gstreamer0.10-alsa' 'gstreamer0.10-theora' 'gstreamer0.10-libvisual' 'gstreamer0.10-pango' 'gstreamer0.10-cdparanoia' 'gstreamer0.10-vorbis' 'gstreamer0.10-ogg')
groups=('gstreamer0.10-plugins')
cd "${srcdir}/gst-plugins-base-${pkgver}"
make -C gst-libs DESTDIR="${pkgdir}" install || return 1
make -C ext DESTDIR="${pkgdir}" install || return 1
make -C gst-libs DESTDIR="${pkgdir}" uninstall || return 1
2010-12-12 20:36:19 +08:00
}