core/gst-plugins-ugly/PKGBUILD

45 lines
1.2 KiB
Bash
Raw Normal View History

2013-11-13 19:47:48 +08:00
# Maintainer: Francesco Marinucci < franzmari[at]chakra-project[dot]it>
# contributor Jan de Groot <jgc@archlinux.org>
pkgname=gst-plugins-ugly
pkgver=1.10.3
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/"
2016-01-02 13:45:18 +08:00
depends=('gst-plugins-base-libs' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'libx264' 'opencore-amr')
makedepends=('python' 'x264' 'valgrind')
2016-01-02 13:45:18 +08:00
options=(!emptydirs)
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz{,.asc})
sha256sums=('c91597d03abff9df435ad4892eae44df1ee14159c7cc7317ac9d2766ff446bd2'
'SKIP')
validpgpkeys=('7F4BC7CC3CA06F97336BBFEB0668CC1486C2D7B5')
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)" \
--with-package-origin="https://chakralinux.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
2016-01-02 13:45:18 +08:00
make
}
check() {
cd $pkgname-$pkgver
2016-01-02 13:45:18 +08:00
make check
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}