mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
45 lines
2.8 KiB
Bash
45 lines
2.8 KiB
Bash
# $Id: PKGBUILD 51080 2009-09-04 18:46:00Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgbase=gstreamer0.10-good
|
|
pkgname=('gstreamer0.10-good' 'gstreamer0.10-good-plugins')
|
|
pkgver=0.10.16
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL')
|
|
makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base' 'libavc1394>=0.5.3-3' 'hal>=0.5.13' 'libiec61883>=1.2.0' 'aalib>=1.4rc5-5' 'libshout>=2.2.2' 'libdv>=1.0.0' 'esound>=0.2.41' 'flac>=1.2.1' 'gconf>=2.26.2' 'wavpack>=4.50.1' 'taglib>=1.5' 'libsoup>=2.26.3' 'libv4l>=0.6.0' 'libcaca>=0.99.beta16' 'bzip2')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
options=(!libtool)
|
|
source=(${url}/src/gst-plugins-good/gst-plugins-good-${pkgver}.tar.bz2)
|
|
md5sums=('f0af97464bb6e060a99df39bb21b7a42')
|
|
|
|
build() {
|
|
cd "${srcdir}/gst-plugins-good-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--disable-static --enable-experimental \
|
|
--with-package-name="GStreamer Good Plugins (Archlinux)" \
|
|
--with-package-origin="http://www.archlinux.org/" || return 1
|
|
|
|
make || return 1
|
|
sed -e 's/gst sys ext/gst/' -i Makefile || return 1
|
|
}
|
|
|
|
package_gstreamer0.10-good() {
|
|
depends=('gstreamer0.10-base>=0.10.24' 'bzip2')
|
|
pkgdesc="GStreamer Multimedia Framework Good plugin libraries"
|
|
|
|
cd "${srcdir}/gst-plugins-good-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|
|
|
|
package_gstreamer0.10-good-plugins() {
|
|
depends=("gstreamer0.10-good=${pkgver}" 'libavc1394>=0.5.3-3' 'hal>=0.5.13' 'libiec61883>=1.2.0' 'aalib>=1.4rc5-5' 'libshout>=2.2.2' 'libdv>=1.0.0' 'esound>=0.2.41' 'flac>=1.2.1' 'gconf>=2.26.2' 'wavpack>=4.50.1' 'taglib>=1.5' 'libsoup>=2.26.3' 'libv4l>=0.6.0' 'libcaca>=0.99.beta16')
|
|
pkgdesc="GStreamer Multimedia Framework Good Plugins (gst-plugins-good)"
|
|
groups=('gstreamer0.10-plugins')
|
|
replaces=('gstreamer0.10-aalib' 'gstreamer0.10-wavpack' 'gstreamer0.10-shout2' 'gstreamer0.10-taglib' 'gstreamer0.10-libcaca' 'gstreamer0.10-libpng' 'gstreamer0.10-jpeg' 'gstreamer0.10-cairo' 'gstreamer0.10-flac' 'gstreamer0.10-speex' 'gstreamer0.10-gdkpixbuf' 'gstreamer0.10-hal' 'gstreamer0.10-dv1394' 'gstreamer0.10-annodex' 'gstreamer0.10-gconf' 'gstreamer0.10-esd' 'gstreamer0.10-cdio' 'gstreamer0.10-dv' 'gstreamer0.10-soup')
|
|
conflicts=('gstreamer0.10-aalib' 'gstreamer0.10-wavpack' 'gstreamer0.10-shout2' 'gstreamer0.10-taglib' 'gstreamer0.10-libcaca' 'gstreamer0.10-libpng' 'gstreamer0.10-jpeg' 'gstreamer0.10-cairo' 'gstreamer0.10-flac' 'gstreamer0.10-speex' 'gstreamer0.10-gdkpixbuf' 'gstreamer0.10-hal' 'gstreamer0.10-dv1394' 'gstreamer0.10-annodex' 'gstreamer0.10-gconf' 'gstreamer0.10-esd' 'gstreamer0.10-cdio' 'gstreamer0.10-dv' 'gstreamer0.10-bad-plugins<0.10.7' 'gstreamer0.10-soup')
|
|
|
|
cd "${srcdir}/gst-plugins-good-${pkgver}"
|
|
make -C sys DESTDIR="${pkgdir}" install || return 1
|
|
make -C ext GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
|
|
}
|