mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 18:07:14 +08:00
42 lines
1.1 KiB
Bash
42 lines
1.1 KiB
Bash
# maintainer almack@chakraos.org
|
|
# contributor Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=gstreamer
|
|
pkgver=1.6.3
|
|
pkgrel=1
|
|
pkgdesc="GStreamer Multimedia Framework"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
depends=('libxml2' 'glib2')
|
|
optdepends=('sh: feedback script')
|
|
makedepends=('intltool' 'pkgconfig' 'gobject-introspection' 'python2')
|
|
source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.xz)
|
|
sha256sums=('22f9568d67b87cf700a111f381144bd37cb93790a77e4e331db01fe854a37f24')
|
|
|
|
build() {
|
|
cd "${srcdir}/gstreamer-${pkgver}"
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--libexecdir=/usr/lib \
|
|
--with-package-name="GStreamer (Chakra GNU/Linux)" \
|
|
--with-package-origin="http://www.chakraos.org/" \
|
|
--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 "${srcdir}/gstreamer-${pkgver}"
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/gstreamer-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|