core/gst-plugins-ugly/PKGBUILD

48 lines
1.2 KiB
Bash
Raw Normal View History

2013-11-13 19:47:48 +08:00
#
# Platform Packages for Chakra, part of chakra-project.org
#
# Maintainer: Francesco Marinucci < franzmari[at]chakra-project[dot]it>
# contributor Jan de Groot <jgc@archlinux.org>
pkgname=gst-plugins-ugly
2015-01-09 07:46:55 +08:00
pkgver=1.4.5
2014-07-23 02:35:48 +08:00
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Ugly Plugins"
arch=('x86_64')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('gst-plugins-base' 'libdvdread' 'lame' 'libmpeg2' 'a52dec'
'libmad' 'libsidplay' 'libcdio' 'x264' 'opencore-amr')
2014-07-23 02:35:48 +08:00
options=('!emptydirs')
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
2015-01-09 07:46:55 +08:00
md5sums=('6954beed7bb9a93e426dee543ff46393')
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 Ugly 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
2015-01-09 07:46:55 +08:00
# FAIL: elements/x264enc
make check | true
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}