diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-07 14:57:56 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2018-03-07 14:57:56 +0000 |
commit | 211d04bf7ff17b60c2f301f72ef111477433bf4c (patch) | |
tree | 8635b88514ccf1d7e0b7596a9c82724d4d2173ee /community/gst-ffmpeg0.10/APKBUILD | |
parent | dd9560bd1b48dfdc0a107c3a13eaab2fc8e81f37 (diff) | |
download | aports-211d04bf7ff17b60c2f301f72ef111477433bf4c.tar.bz2 aports-211d04bf7ff17b60c2f301f72ef111477433bf4c.tar.xz |
{main => community}/gst-ffmpeg0.10: move
Diffstat (limited to 'community/gst-ffmpeg0.10/APKBUILD')
-rw-r--r-- | community/gst-ffmpeg0.10/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/community/gst-ffmpeg0.10/APKBUILD b/community/gst-ffmpeg0.10/APKBUILD new file mode 100644 index 0000000000..deaef6cad4 --- /dev/null +++ b/community/gst-ffmpeg0.10/APKBUILD @@ -0,0 +1,50 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gst-ffmpeg0.10 +pkgver=0.10.13 +pkgrel=1 +pkgdesc="Gstreamer FFMpeg Plugin" +url="http://www.gstreamer.net" +arch="all !armhf" +license="GPL" +makedepends="gstreamer0.10-dev gst-plugins-base0.10-dev liboil-dev coreutils + orc-dev" +source="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$pkgver.tar.bz2 + libavutil-fortify.patch + " + +_builddir="$srcdir"/gst-ffmpeg-$pkgver +prepare() { + cd "$_builddir" + update_config_sub || return 1 + 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 \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-orc \ + --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="7f5beacaf1312db2db30a026b36888c4 gst-ffmpeg-0.10.13.tar.bz2 +bcb461a6480dc46abdce021bc91e9e11 libavutil-fortify.patch" +sha256sums="76fca05b08e00134e3cb92fa347507f42cbd48ddb08ed3343a912def187fbb62 gst-ffmpeg-0.10.13.tar.bz2 +17d7515db788e8c379d4995938e72312d9d32b096b4f7e80804f9673b6b480f3 libavutil-fortify.patch" +sha512sums="f1141fc73b4bf1d774053ce53c4a67d5e600d6f0118ee7824cd2ff4fc8af8ba1dfbd5cf82d9e15872f3e6f8730112ddfc520a7d8df3cf605a9725e959f37e6ed gst-ffmpeg-0.10.13.tar.bz2 +7d387440912abb81a0561852b32d42583acc07aa1069c39d9d53eed84ad95e920704a6c4acaa68404db2d3aa4c8915a7add6316fa3ee05de495d078c980f2f62 libavutil-fortify.patch" |