From f3633b129534bf3eb502de242916fd4a612631ff Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Thu, 4 Oct 2012 08:02:14 +0000 Subject: main/gst-*1,gstreamer1: moved from testing --- main/gst-plugins-base1/APKBUILD | 60 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 main/gst-plugins-base1/APKBUILD (limited to 'main/gst-plugins-base1/APKBUILD') diff --git a/main/gst-plugins-base1/APKBUILD b/main/gst-plugins-base1/APKBUILD new file mode 100644 index 0000000000..ffccf49a29 --- /dev/null +++ b/main/gst-plugins-base1/APKBUILD @@ -0,0 +1,60 @@ +# Maintainer: Natanael Copa +pkgname=gst-plugins-base1 +pkgver=1.0.0 +pkgrel=0 +pkgdesc="GStreamer Multimedia Framework Base Plugins" +url="http://gstreamer.freedesktop.org/" +arch="all" +license="GPL LGPL" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +depends= +depends_dev="gstreamer1-dev glib-dev" +makedepends="$depends_dev + alsa-lib-dev + cdparanoia-dev + expat-dev + gtk+3.0-dev + libice-dev + libogg-dev + liboil-dev + libsm-dev + libtheora-dev + libvorbis-dev + libxv-dev + orc-dev + perl + " +source="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$pkgver.tar.xz" +ldpath="/usr/lib/gstreamer-1.0" + + +_builddir="$srcdir"/gst-plugins-base-$pkgver + +prepare() { + cd "$_builddir" +} + +build() { + cd "$_builddir" + ./configure --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://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 +} + +md5sums="428f5a0beaa7f76262bea0f431f8337e gst-plugins-base-1.0.0.tar.xz" -- cgit v1.2.3