summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-10-04 08:02:14 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-10-04 08:02:14 +0000
commitf3633b129534bf3eb502de242916fd4a612631ff (patch)
tree259293a5d9c9ba65f50eb65309f7280dec25a0bb /main
parent537e18b91b2b0b9cb62e285ea60c9fc8883e7546 (diff)
downloadaports-f3633b129534bf3eb502de242916fd4a612631ff.tar.bz2
aports-f3633b129534bf3eb502de242916fd4a612631ff.tar.xz
main/gst-*1,gstreamer1: moved from testing
Diffstat (limited to 'main')
-rw-r--r--main/gst-libav1/APKBUILD44
-rw-r--r--main/gst-plugins-bad1/APKBUILD61
-rw-r--r--main/gst-plugins-base1/APKBUILD60
-rw-r--r--main/gst-plugins-good1/APKBUILD72
-rw-r--r--main/gst-plugins-ugly1/APKBUILD48
-rw-r--r--main/gstreamer1/APKBUILD58
6 files changed, 343 insertions, 0 deletions
diff --git a/main/gst-libav1/APKBUILD b/main/gst-libav1/APKBUILD
new file mode 100644
index 000000000..a04df2da7
--- /dev/null
+++ b/main/gst-libav1/APKBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-libav1
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="Gstreamer libav Plugin"
+url="http://www.gstreamer.net"
+arch="all"
+license="GPL"
+makedepends="
+ coreutils
+ gstreamer1-dev
+ gst-plugins-base1-dev
+ liboil-dev
+ orc-dev"
+source="http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$pkgver.tar.xz"
+
+_builddir="$srcdir"/gst-libav-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+build() {
+ cd "$_builddir"
+ export CFLAGS="$CFLAGS -fno-strict-aliasing"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-orc \
+ --with-libav-extra-configure="--enable-pic --disable-mmx --disable-mmx2" \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir"/usr/lib/ \( -name '*.la' -o -name '*.a' \) -delete
+}
+
+md5sums="49c8b54eaae25da2c866a59b284b31ea gst-libav-1.0.0.tar.xz"
diff --git a/main/gst-plugins-bad1/APKBUILD b/main/gst-plugins-bad1/APKBUILD
new file mode 100644
index 000000000..0931abd6b
--- /dev/null
+++ b/main/gst-plugins-bad1/APKBUILD
@@ -0,0 +1,61 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-bad1
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="GStreamer bad plugins"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL GPL"
+depends=""
+subpackages="$pkgname-lang"
+makedepends="
+ alsa-lib-dev
+ bzip2-dev
+ curl-dev
+ faac-dev
+ faad2-dev
+ flite-dev
+ glib-dev
+ gsm-dev
+ gst-plugins-base1-dev
+ gstreamer1-dev
+ jasper-dev
+ libdc1394-dev
+ libexif-dev
+ libmms-dev
+ libmodplug-dev
+ liboil-dev
+ librsvg-dev
+ libvdpau-dev
+ libx11-dev
+ neon-dev
+ orc-dev
+ sdl-dev
+ spandsp-dev
+ xvidcore-dev
+ "
+
+source="http://gstreamer.freedesktop.org//src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.xz"
+ldpath="/usr/lib/gstreamer-1.0"
+
+_builddir="$srcdir"/gst-plugins-bad-$pkgver
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-experimental \
+ --with-package-name="GStreamer Bad Plugins (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+
+md5sums="f2d2c432917fb639a510bb3ce85c5329 gst-plugins-bad-1.0.0.tar.xz"
diff --git a/main/gst-plugins-base1/APKBUILD b/main/gst-plugins-base1/APKBUILD
new file mode 100644
index 000000000..ffccf49a2
--- /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"
diff --git a/main/gst-plugins-good1/APKBUILD b/main/gst-plugins-good1/APKBUILD
new file mode 100644
index 000000000..45f338a7c
--- /dev/null
+++ b/main/gst-plugins-good1/APKBUILD
@@ -0,0 +1,72 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-good1
+pkgver=1.0.0
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework Good Plugins"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-lang"
+depends=
+depends_dev="gstreamer1-dev gst-plugins-base1-dev"
+makedepends="$depends_dev
+ flac-dev
+ gdk-pixbuf-dev
+ glib-dev
+ jack-dev
+ jpeg-dev
+ libavc1394-dev
+ libdv-dev
+ libice-dev
+ libiec61883-dev
+ libogg-dev
+ liboil-dev
+ libpng-dev
+ libshout-dev
+ libsm-dev
+ libsoup-dev
+ libvpx-dev
+ libxdamage-dev
+ libxext-dev
+ libxv-dev
+ orc-dev
+ taglib-dev
+ udev-dev
+ v4l-utils-dev
+ wavpack-dev
+ zlib-dev
+ "
+replaces=
+ldpath="/usr/lib/gstreamer-1.0"
+
+source="http://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz"
+
+
+_builddir="$srcdir"/gst-plugins-good-$pkgver
+
+prepare() {
+ cd "$_builddir"
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-experimental \
+ --with-package-name="GStreamer Good Plugins (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+
+md5sums="f711832cd8a9b033eb424fabe89ca9d1 gst-plugins-good-1.0.0.tar.xz"
diff --git a/main/gst-plugins-ugly1/APKBUILD b/main/gst-plugins-ugly1/APKBUILD
new file mode 100644
index 000000000..417bfff72
--- /dev/null
+++ b/main/gst-plugins-ugly1/APKBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-ugly1
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+depends=
+makedepends="
+ a52dec-dev
+ glib-dev
+ gst-plugins-base1-dev
+ gstreamer1-dev
+ lame-dev
+ libcdio-dev
+ libdvdread-dev
+ libid3tag-dev
+ libmad-dev
+ libmpeg2-dev
+ liboil-dev
+ orc-dev
+ x264-dev
+ "
+source="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+ldpath="/usr/lib/gstreamer-1.0"
+
+_builddir="$srcdir"/gst-plugins-ugly-$pkgver
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-experimental \
+ --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" || return 1
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" -name '*.la' -delete
+}
+md5sums="7f20303caf4305278573fb7ef73a07b7 gst-plugins-ugly-1.0.0.tar.xz"
diff --git a/main/gstreamer1/APKBUILD b/main/gstreamer1/APKBUILD
new file mode 100644
index 000000000..5d5af7c57
--- /dev/null
+++ b/main/gstreamer1/APKBUILD
@@ -0,0 +1,58 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gstreamer1
+pkgver=1.0.0
+pkgrel=0
+pkgdesc="GStreamer Multimedia Framework"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-tools $pkgname-lang"
+depends=
+depends_dev="glib-dev libxml2-dev"
+makedepends="$depends_dev bison flex gobject-introspection-dev"
+source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.xz
+ "
+
+_builddir="$srcdir"/gstreamer-$pkgver
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case "$i" in
+ *.patch)
+ msg "Applying $i"
+ patch -p1 -i "$srcdir"/$i || return 1
+ ;;
+ esac
+ done
+}
+
+build() {
+ cd "$srcdir"/gstreamer-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --enable-introspection \
+ --with-package-name="GStreamer (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/gstreamer-$pkgver
+ make 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
+}
+
+tools() {
+ pkgdesc="common tools and files for GStreamer streaming media framework"
+ # gst-feedback needs this
+ depends="pkgconfig"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+
+md5sums="b7c9252b83720115d0897fbbbc092dc8 gstreamer-1.0.0.tar.xz"