mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-22 14:12:25 +02:00
59 lines
1.6 KiB
Plaintext
59 lines
1.6 KiB
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=gst-plugins-base
|
|
pkgver=0.10.36
|
|
pkgrel=2
|
|
pkgdesc="GStreamer Multimedia Framework Base Plugins"
|
|
url="http://gstreamer.freedesktop.org/"
|
|
arch="all"
|
|
license="GPL LGPL"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-gnome $pkgname-lang"
|
|
depends=
|
|
makedepends="pkgconfig gstreamer-dev alsa-lib-dev libvorbis-dev liboil-dev
|
|
perl libogg-dev gtk+-dev libtheora-dev libice-dev libsm-dev libxv-dev
|
|
util-linux-dev expat-dev gconf-dev gnome-vfs-dev"
|
|
# cdparanoia>=10.2 libvisual libtheora"
|
|
source="http://gstreamer.freedesktop.org/src/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
|
|
depends_dev="gstreamer-dev"
|
|
|
|
_builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
prepare() {
|
|
cd "$_builddir"
|
|
# fix building with gnu make 3.82
|
|
find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--disable-static \
|
|
--disable-experimental \
|
|
--with-default-audiosink=alsasink \
|
|
--with-package-name="GStreamer Base Plugins (Alpine Linux)" \
|
|
--with-package-origin="http://www.alpinelinux.org/" \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make -j1 DESTDIR="$pkgdir" install || return 1
|
|
rm -f "$pkgdir"/usr/lib/*.la \
|
|
"$pkgdir"/usr/lib/*.a \
|
|
"$pkgdir"/usr/lib/gstreamer*/*.la \
|
|
"$pkgdir"/usr/lib/gstreamer*/*.a
|
|
}
|
|
|
|
gnome() {
|
|
mkdir -p "$subpkgdir"/usr/lib/gstreamer-0.10
|
|
mv "$pkgdir"/usr/lib/gstreamer-0.10/libgstgnomevfs.so "$subpkgdir"/usr/lib/gstreamer-0.10/libgstgnomevfs.so
|
|
}
|
|
|
|
md5sums="776c73883e567f67b9c4a2847d8d041a gst-plugins-base-0.10.36.tar.bz2"
|