mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 21:37:13 +08:00
47 lines
2.4 KiB
Bash
47 lines
2.4 KiB
Bash
# $Id: PKGBUILD 79937 2010-05-09 17:27:50Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgbase=gstreamer0.10-bad
|
|
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
|
|
pkgver=0.10.18
|
|
pkgrel=4
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL' 'GPL')
|
|
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.29' 'xvidcore>=1.2.2' 'libdca>=0.0.5' 'bzip2' 'libdc1394>=2.1.2' 'exempi>=2.1.1' 'jack>=0.118.0' 'neon>=0.29.3' 'faac>=1.28' 'libexif>=0.6.19' 'musicbrainz>=2.1.5' 'faad2>=2.7' 'libmms>=0.5' 'libcdaudio>=0.99.12' 'libmpcdec>=1.2.6' 'mjpegtools>=1.9.0' 'libdvdnav>=4.1.3' 'libmodplug>=0.8.8' 'jasper>=1.900.1' 'liblrdf>=0.4.0' 'libofa>=0.9.3' 'soundtouch>=1.5.0' 'libvdpau>=0.4' 'schroedinger>=1.0.9' 'libass>=0.9.9')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
options=(!libtool !emptydirs)
|
|
source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.bz2)
|
|
sha256sums=('2f800127e00da0f157358f87b06563b3de23cbc630fbf6295b43405e52e02070')
|
|
|
|
build() {
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--disable-static --enable-experimental \
|
|
--with-package-name="GStreamer Bad 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-bad() {
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)"
|
|
depends=('gstreamer0.10-base>=0.10.29')
|
|
groups=('gstreamer0.10-plugins')
|
|
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
}
|
|
|
|
package_gstreamer0.10-bad-plugins() {
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)"
|
|
depends=("gstreamer0.10-bad=${pkgver}" 'xvidcore>=1.2.2' 'libdca>=0.0.5' 'bzip2' 'libdc1394>=2.1.2' 'exempi>=2.1.1' 'jack>=0.118.0' 'neon>=0.29.3' 'faac>=1.28' 'libexif>=0.6.19' 'musicbrainz>=2.1.5' 'faad2>=2.7' 'libmms>=0.5' 'libcdaudio>=0.99.12' 'libmpcdec>=1.2.6' 'mjpegtools>=1.9.0' 'libdvdnav>=4.1.3' 'libmodplug>=0.8.8' 'jasper>=1.900.1' 'liblrdf>=0.4.0' 'libofa>=0.9.3' 'libvdpau>=0.4' 'soundtouch>=1.5.0' 'libass>=0.9.9' 'schroedinger>=1.0.9')
|
|
groups=('gstreamer0.10-plugins')
|
|
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
make -C gst-libs DESTDIR="${pkgdir}" install || return 1
|
|
make -C ext DESTDIR="${pkgdir}" install || return 1
|
|
make -C sys DESTDIR="${pkgdir}" install || return 1
|
|
make -C gst-libs DESTDIR="${pkgdir}" uninstall || return 1
|
|
}
|