2017-05-08 01:55:40 +00:00
|
|
|
# $Id$
|
|
|
|
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
|
|
# Contributor: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - removed makedepend on valgrind
|
|
|
|
|
|
|
|
pkgname=gst-libav
|
2017-12-10 04:45:54 +00:00
|
|
|
pkgver=1.12.4
|
2017-05-08 01:55:40 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="GStreamer Multimedia Framework ffmpeg Plugin"
|
|
|
|
url="https://gstreamer.freedesktop.org/"
|
2017-12-10 04:45:54 +00:00
|
|
|
arch=(x86_64)
|
2017-05-08 01:55:40 +00:00
|
|
|
license=(GPL)
|
|
|
|
depends=(gst-plugins-base-libs bzip2 ffmpeg)
|
2017-10-23 12:24:43 +00:00
|
|
|
makedepends=(python gtk-doc autoconf-archive git yasm)
|
2017-05-08 01:55:40 +00:00
|
|
|
provides=("gst-ffmpeg=$pkgver-$pkgrel")
|
2017-12-10 04:45:54 +00:00
|
|
|
_commit=2a1098380969a52c2a89abfe52f0d034638a4e69 # tags/1.12.4^0
|
2017-05-08 01:55:40 +00:00
|
|
|
source=("git+https://anongit.freedesktop.org/git/gstreamer/gst-libav#commit=$_commit"
|
|
|
|
"gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common"
|
|
|
|
"git+https://git.videolan.org/git/ffmpeg")
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
'SKIP'
|
|
|
|
'SKIP')
|
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
|
2017-10-23 12:24:43 +00:00
|
|
|
# BRSTM/BFSTM
|
|
|
|
git cherry-pick -n a771795005fe5ebc06d788a4520e80890685aadc
|
|
|
|
|
2017-05-08 01:55:40 +00:00
|
|
|
git submodule init
|
|
|
|
git config --local submodule.common.url "$srcdir/gst-common"
|
|
|
|
git config --local submodule.gst-libs/ext/libav.url "$srcdir/ffmpeg"
|
|
|
|
git submodule update
|
|
|
|
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname
|
|
|
|
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib \
|
|
|
|
--with-package-name="GStreamer ffmpeg Plugin (Arch Linux)" \
|
2017-07-14 13:33:20 +00:00
|
|
|
--with-package-origin="https://www.archlinux.org/" \
|
2017-10-23 12:24:43 +00:00
|
|
|
--without-system-libav --with-libav-extra-configure="--enable-runtime-cpudetect" \
|
2017-05-08 01:55:40 +00:00
|
|
|
--enable-experimental --enable-gtk-doc --disable-static
|
|
|
|
|
|
|
|
# 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
|
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|