mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
added extra/gstreamer0.10-bad
This commit is contained in:
parent
a3aa12739b
commit
e0699dde37
2 changed files with 69 additions and 0 deletions
58
extra/gstreamer0.10-bad/PKGBUILD
Normal file
58
extra/gstreamer0.10-bad/PKGBUILD
Normal file
|
@ -0,0 +1,58 @@
|
|||
# $Id: PKGBUILD 184389 2013-05-06 19:37:43Z foutrelis $
|
||||
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
||||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - disable soundtouch extension on v5, currently broken
|
||||
|
||||
pkgbase=gstreamer0.10-bad
|
||||
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
|
||||
pkgver=0.10.23
|
||||
pkgrel=4
|
||||
arch=('i686' 'x86_64')
|
||||
license=('LGPL' 'GPL')
|
||||
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' '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' 'librsvg' 'wildmidi' 'opus')
|
||||
url="http://gstreamer.freedesktop.org/"
|
||||
options=(!libtool !emptydirs)
|
||||
source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz)
|
||||
md5sums=('e4822fa2cc933768e2998311a1565979')
|
||||
|
||||
build() {
|
||||
cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
||||
|
||||
[[ $CARCH == 'arm' ]] && CONFIG="--disable-soundtouch"
|
||||
|
||||
./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/" $CONFIG
|
||||
|
||||
make
|
||||
sed -e 's/gst sys ext/gst/' -i Makefile
|
||||
}
|
||||
|
||||
# Disable for now: 2 tests fail, one of them is because of not having a camera during build.
|
||||
#check() {
|
||||
# cd "${srcdir}/gst-plugins-bad-${pkgver}"
|
||||
# make check
|
||||
#}
|
||||
|
||||
package_gstreamer0.10-bad() {
|
||||
pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)"
|
||||
depends=('gstreamer0.10-base>=0.10.34')
|
||||
|
||||
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' 'librsvg' 'wildmidi' 'opus')
|
||||
groups=('gstreamer0.10-plugins')
|
||||
install=gstreamer0.10-bad-plugins.install
|
||||
|
||||
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
|
||||
}
|
11
extra/gstreamer0.10-bad/gstreamer0.10-bad-plugins.install
Normal file
11
extra/gstreamer0.10-bad/gstreamer0.10-bad-plugins.install
Normal file
|
@ -0,0 +1,11 @@
|
|||
post_install() {
|
||||
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
post_install
|
||||
}
|
||||
|
||||
post_remove() {
|
||||
post_install
|
||||
}
|
Loading…
Reference in a new issue