mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 19:57:14 +08:00
45 lines
1.2 KiB
Bash
45 lines
1.2 KiB
Bash
# Maintainer: Francesco Marinucci < franzmari[at]chakra-project[dot]it>
|
|
# contributor Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=gst-plugins-ugly
|
|
pkgver=1.12.4
|
|
pkgrel=1
|
|
pkgdesc="GStreamer Multimedia Framework Ugly Plugins"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
depends=('gst-plugins-base-libs' 'libdvdread' 'lame' 'libmpeg2' 'a52dec' 'libmad' 'libsidplay' 'libcdio' 'libx264' 'opencore-amr')
|
|
makedepends=('python' 'x264' 'valgrind')
|
|
options=(!emptydirs)
|
|
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz{,.asc})
|
|
sha256sums=('1c165b8d888ed350acd8e6ac9f6fe06508e6fcc0a3afc6ccc9fbeb30df9be522'
|
|
'SKIP')
|
|
validpgpkeys=('7F4BC7CC3CA06F97336BBFEB0668CC1486C2D7B5')
|
|
|
|
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="https://chakralinux.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
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|