mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 10:27: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 abveritas@chakra-project.org
|
|
# contributor Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=gst-plugins-base
|
|
pkgver=1.0.3
|
|
pkgrel=1
|
|
pkgdesc="GStreamer Multimedia Framework Base Plugins"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
depends=('gstreamer' 'orc' 'libxv' 'alsa-lib' 'cdparanoia' 'libvisual'
|
|
'libvorbis' 'libtheora' 'pango')
|
|
makedepends=('pkgconfig' 'gobject-introspection')
|
|
options=(!libtool !emptydirs)
|
|
url="http://gstreamer.freedesktop.org/"
|
|
source=(${url}/src/$pkgname/$pkgname-${pkgver}.tar.xz)
|
|
sha256sums=('066ba8a7fa709a25ad291f7b21329b73f513637aafceee00396e588e723d7f9e')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
sed -i '/AC_PATH_XTRA/d' configure.ac
|
|
autoreconf
|
|
./configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--enable-experimental \
|
|
--with-package-name="GStreamer (Chakra GNU/Linux)" \
|
|
--with-package-origin="http://www.chakra-project.org/"
|
|
make
|
|
sed -e 's/^SUBDIRS_EXT =.*/SUBDIRS_EXT =/' -i Makefile
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
|