diff options
-rw-r--r-- | main/gstreamer/APKBUILD | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/main/gstreamer/APKBUILD b/main/gstreamer/APKBUILD index a7c684ea60..1434e085cc 100644 --- a/main/gstreamer/APKBUILD +++ b/main/gstreamer/APKBUILD @@ -8,9 +8,25 @@ license="LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="pkgconfig libxml2-dev glib-dev bison flex gettext-dev libiconv-dev" -source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.bz2" +source="http://gstreamer.freedesktop.org/src/gstreamer/gstreamer-$pkgver.tar.bz2 + " depends_dev="glib-dev libxml2-dev" +_builddir="$srcdir"/gstreamer-$pkgver +prepare() { + cd "$_builddir" + # fix building with gnu make 3.82 + find -name Makefile.in | xargs sed -i -e "s/^ /\t/" || return 1 + + 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 |