mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 22:37:14 +08:00
56 lines
2.3 KiB
Bash
56 lines
2.3 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.22
|
|
pkgrel=8
|
|
arch=('i686' 'x86_64')
|
|
license=('LGPL' 'GPL')
|
|
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.34' 'xvidcore' 'libdca' 'bzip2' 'libdc1394'
|
|
'neon' 'faac' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools'
|
|
'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau'
|
|
'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
options=(!libtool !emptydirs)
|
|
source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.bz2
|
|
gst-plugins-bad-0.10.22-mjpegtools2.0.patch)
|
|
md5sums=('9a2acee1f386f71247003d0d7090fb1c'
|
|
'f12e8a12d04bab5d0b59d87a71b4ff9a')
|
|
|
|
build() {
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
patch -p1 -i "${srcdir}/gst-plugins-bad-0.10.22-mjpegtools2.0.patch"
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--disable-static --enable-experimental --disable-celt --disable-rsvg \
|
|
--with-package-name="GStreamer Bad Plugins (Chakra GNU/Linux)" \
|
|
--with-package-origin="http://www.chakra-project.org/"
|
|
|
|
make
|
|
sed -e 's/gst sys ext/gst/' -i Makefile
|
|
}
|
|
|
|
package_gstreamer0.10-bad() {
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)"
|
|
depends=('gstreamer0.10-base>=0.10.34')
|
|
groups=('gstreamer0.10-plugins')
|
|
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|
|
package_gstreamer0.10-bad-plugins() {
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)"
|
|
depends=("gstreamer0.10-bad=${pkgver}" 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'faac' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'libvdpau' 'soundtouch' 'libass' 'schroedinger' 'libvpx' 'gsm' 'rtmpdump' 'libgme' 'libsndfile')
|
|
groups=('gstreamer0.10-plugins')
|
|
|
|
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
|
make -C gst-libs DESTDIR="${pkgdir}" install
|
|
make -C ext DESTDIR="${pkgdir}" install
|
|
make -C sys DESTDIR="${pkgdir}" install
|
|
make -C gst-libs DESTDIR="${pkgdir}" uninstall
|
|
}
|