mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:38:28 +08:00
50 lines
2.6 KiB
Bash
50 lines
2.6 KiB
Bash
#
|
|
# 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>
|
|
|
|
pkgbase=gstreamer0.10-bad
|
|
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
|
|
pkgver=0.10.21
|
|
pkgrel=1
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL' 'GPL')
|
|
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.30' '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' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
options=(!libtool !emptydirs)
|
|
source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.bz2)
|
|
md5sums=('f501336ab1d18d2565f47c36ce653a82')
|
|
|
|
build() {
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--disable-static --enable-experimental \
|
|
--with-package-name="GStreamer Bad Plugins (Chakra GNU/Linux)" \
|
|
--with-package-origin="http://www.chakra-project.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' 'libvpx' 'gsm' 'rtmpdump' 'libgme' 'libsndfile' 'librsvg')
|
|
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
|
|
}
|