mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 00:38:27 +08:00
47 lines
1.2 KiB
Bash
47 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-bad
|
|
pkgver=1.0.3
|
|
pkgrel=2
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugins"
|
|
arch=('x86_64')
|
|
license=('LGPL')
|
|
url="http://gstreamer.freedesktop.org/"
|
|
depends=('mjpegtools' 'gst-plugins-base' 'curl' 'chromaprint' 'libmms' 'faad2'
|
|
'mpg123' 'faac' 'celt' 'libdca' 'soundtouch' 'spandsp' 'libdvdnav'
|
|
'libmodplug' 'libgme' 'opus')
|
|
makedepends=('schroedinger' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2')
|
|
options=(!libtool !emptydirs)
|
|
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
|
|
sha256sums=('2eae746be0b4c7fa2f1e057c91bd36940d7c25593ab612b707904461360031f0')
|
|
|
|
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
|
|
}
|
|
|
|
check() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd $pkgname-$pkgver
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|