core/gst-plugins-ugly/PKGBUILD

46 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
2016-01-26 03:42:46 +08:00
pkgver=1.6.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')
2016-01-26 03:42:46 +08:00
makedepends=('python' 'x264')
2016-01-02 13:45:18 +08:00
options=(!emptydirs)
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
2016-01-26 03:42:46 +08:00
sha256sums=('2fecf7b7c7882f8f62f1900048f4013f98c214fb3d3303d8d812245bb41fd064')
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
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
}