mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
48 lines
1.2 KiB
Bash
48 lines
1.2 KiB
Bash
#
|
|
# 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
|
|
pkgver=1.4.5
|
|
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')
|
|
options=('!emptydirs')
|
|
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
|
|
md5sums=('6954beed7bb9a93e426dee543ff46393')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-experimental \
|
|
--with-package-name="GStreamer Ugly Plugins (Chakra GNU/Linux)" \
|
|
--with-package-origin="http://www.chakraos.org/"
|
|
|
|
# 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
|
|
# FAIL: elements/x264enc
|
|
make check | true
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|