summaryrefslogtreecommitdiffstats
path: root/main/gst-ffmpeg/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/gst-ffmpeg/APKBUILD')
-rw-r--r--main/gst-ffmpeg/APKBUILD16
1 files changed, 4 insertions, 12 deletions
diff --git a/main/gst-ffmpeg/APKBUILD b/main/gst-ffmpeg/APKBUILD
index 739f2e484..d9441e8ca 100644
--- a/main/gst-ffmpeg/APKBUILD
+++ b/main/gst-ffmpeg/APKBUILD
@@ -1,28 +1,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gst-ffmpeg
pkgver=0.10.10
-pkgrel=0
+pkgrel=1
pkgdesc="Gstreamer FFMpeg Plugin"
url="http://www.gstreamer.net"
license="GPL"
-makedepends="gstreamer-dev gst-plugins-base-dev liboil-dev ffmpeg-dev"
+makedepends="gstreamer-dev gst-plugins-base-dev liboil-dev coreutils"
source="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$pkgver.tar.bz2"
build() {
cd "$srcdir"/gst-ffmpeg-$pkgver
- sed -i \
- -e 's,ffmpeg/avformat.h,libavformat/avformat.h,' \
- -e 's,ffmpeg/avcodec.h,libavcodec/avcodec.h,' \
- -e 's,ffmpeg/swscale.h,libswscale/swscale.h,' \
- ext/ffmpeg/gst* \
- ext/libpostproc/gstpostproc.c \
- || return 1
-
export CFLAGS="$CFLAGS -fno-strict-aliasing"
./configure --prefix=/usr \
--sysconfdir=/etc \
- --with-system-ffmpeg \
- --localstatedir=/var || return 1
+ --localstatedir=/var \
+ --with-ffmpeg-extra-configure="--enable-pic --disable-mmx --disable-mmx2" || return 1
make || return 1
}