core/gst-plugins-base/PKGBUILD

44 lines
1014 B
Bash
Raw Normal View History

pkgname=gst-plugins-base
2015-01-09 07:46:55 +08:00
pkgver=1.4.5
pkgrel=2
pkgdesc="GStreamer Multimedia Framework Base Plugins"
arch=('x86_64')
license=('LGPL')
depends=('gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual'
'libvorbis' 'libtheora' 'pango')
makedepends=('pkgconfig' 'gobject-introspection' 'python2')
2014-07-23 02:35:48 +08:00
options=('!emptydirs')
url="http://gstreamer.freedesktop.org/"
source=(${url}/src/$pkgname/$pkgname-${pkgver}.tar.xz)
2015-01-09 07:46:55 +08:00
md5sums=('357165af625c0ca353ab47c5d843920e')
build() {
cd $pkgname-$pkgver
2015-01-09 07:46:55 +08:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-experimental \
2015-01-09 07:46:55 +08:00
--with-package-name="GStreamer Base Plugins (Chakra GNU/Linux)" \
2014-07-23 02:35:48 +08:00
--with-package-origin="http://www.chakraos.org/"
2015-01-09 07:46:55 +08:00
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $pkgname-$pkgver
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}