diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-04 08:02:14 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-10-04 08:02:14 +0000 |
commit | f3633b129534bf3eb502de242916fd4a612631ff (patch) | |
tree | 259293a5d9c9ba65f50eb65309f7280dec25a0bb /main/gst-plugins-base1/APKBUILD | |
parent | 537e18b91b2b0b9cb62e285ea60c9fc8883e7546 (diff) | |
download | aports-f3633b129534bf3eb502de242916fd4a612631ff.tar.bz2 aports-f3633b129534bf3eb502de242916fd4a612631ff.tar.xz |
main/gst-*1,gstreamer1: moved from testing
Diffstat (limited to 'main/gst-plugins-base1/APKBUILD')
-rw-r--r-- | main/gst-plugins-base1/APKBUILD | 60 |
1 files changed, 60 insertions, 0 deletions
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 <ncopa@alpinelinux.org> +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" |