2018-05-24 05:54:20 +08:00
|
|
|
# maintainer almack@chakralinux.org
|
2012-12-07 11:58:12 +08:00
|
|
|
# contributor Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
pkgname=gstreamer
|
2018-05-24 05:54:20 +08:00
|
|
|
pkgver=1.14.1
|
2012-12-07 11:58:12 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="GStreamer Multimedia Framework"
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('LGPL')
|
|
|
|
url="http://gstreamer.freedesktop.org/"
|
2018-05-24 05:54:20 +08:00
|
|
|
depends=(libxml2 glib2 libunwind libcap libelf)
|
2012-12-07 11:58:12 +08:00
|
|
|
optdepends=('sh: feedback script')
|
2018-05-24 05:54:20 +08:00
|
|
|
makedepends=(gtk-doc gobject-introspection autoconf-archive git valgrind bash-completion)
|
|
|
|
_commit=cba2c7dd89dc4cefebe6592b9b98e6e097bd840e # tags/1.14.1^0
|
|
|
|
install=gstreamer.install
|
|
|
|
source=("git+https://anongit.freedesktop.org/git/gstreamer/gstreamer#commit=$_commit"
|
|
|
|
"gst-common::git+https://anongit.freedesktop.org/git/gstreamer/common")
|
|
|
|
sha256sums=('SKIP'
|
2017-02-03 15:42:20 +08:00
|
|
|
'SKIP')
|
2018-05-24 05:54:20 +08:00
|
|
|
|
|
|
|
pkgver() {
|
|
|
|
cd $pkgname
|
|
|
|
git describe --tags | sed 's/-/+/g'
|
|
|
|
}
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd $pkgname
|
|
|
|
|
|
|
|
git submodule init
|
|
|
|
git config --local submodule.common.url "$srcdir/gst-common"
|
|
|
|
git submodule update
|
|
|
|
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
}
|
2012-12-07 11:58:12 +08:00
|
|
|
|
|
|
|
build() {
|
2018-05-24 05:54:20 +08:00
|
|
|
cd $pkgname
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--libexecdir=/usr/lib \
|
|
|
|
--with-package-name="GStreamer (Chakra Linux)" \
|
|
|
|
--with-package-origin="https://chakralinux.org/" \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--disable-static
|
2016-01-02 13:45:18 +08:00
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
2012-12-07 11:58:12 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
2018-05-24 05:54:20 +08:00
|
|
|
cd $pkgname
|
2012-12-07 11:58:12 +08:00
|
|
|
make check
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-05-24 05:54:20 +08:00
|
|
|
cd $pkgname
|
|
|
|
make DESTDIR="$pkgdir" install
|
2012-12-07 11:58:12 +08:00
|
|
|
}
|