2012-12-07 11:58:12 +08:00
|
|
|
pkgname=gst-plugins-base
|
2015-01-09 07:46:55 +08:00
|
|
|
pkgver=1.4.5
|
2015-12-04 00:30:58 +08:00
|
|
|
pkgrel=2
|
2012-12-07 11:58:12 +08:00
|
|
|
pkgdesc="GStreamer Multimedia Framework Base Plugins"
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('LGPL')
|
|
|
|
depends=('gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual'
|
|
|
|
'libvorbis' 'libtheora' 'pango')
|
2015-12-04 00:30:58 +08:00
|
|
|
makedepends=('pkgconfig' 'gobject-introspection' 'python2')
|
2014-07-23 02:35:48 +08:00
|
|
|
options=('!emptydirs')
|
2012-12-07 11:58:12 +08:00
|
|
|
url="http://gstreamer.freedesktop.org/"
|
|
|
|
source=(${url}/src/$pkgname/$pkgname-${pkgver}.tar.xz)
|
2015-01-09 07:46:55 +08:00
|
|
|
md5sums=('357165af625c0ca353ab47c5d843920e')
|
2012-12-07 11:58:12 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
2015-01-09 07:46:55 +08:00
|
|
|
|
2012-12-07 11:58:12 +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
|
|
|
|
|
2012-12-07 11:58:12 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
|
|
|
|