From 32f4301c9b54abc0b13d643397e2c26fe3d56c4c Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Sun, 29 Nov 2015 05:09:13 +0000 Subject: [PATCH] gstreamer: enable Orc acceleration --- media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe | 9 ++++++--- .../gst_plugins_bad-0.10.23.recipe | 11 +++++++---- .../gst_plugins_base-0.10.36.recipe | 7 +++++-- .../gst_plugins_good-0.10.31.recipe | 17 ++++++++++------- .../gst_plugins_ugly-0.10.19.recipe | 9 ++++++--- media-libs/gstreamer/gstreamer-0.10.36.recipe | 11 ++++++++--- 6 files changed, 42 insertions(+), 22 deletions(-) diff --git a/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe b/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe index 9a926e4ca..f3f5b67f7 100644 --- a/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe +++ b/media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe @@ -25,6 +25,7 @@ REQUIRES=" lib:libbz2$secondaryArchSuffix lib:libxml2$secondaryArchSuffix lib:libglib_2.0$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix " BUILD_REQUIRES=" @@ -37,11 +38,13 @@ BUILD_REQUIRES=" devel:libz$secondaryArchSuffix devel:libbz2$secondaryArchSuffix devel:libxml2$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:libtool cmd:aclocal cmd:autoconf @@ -51,14 +54,14 @@ BUILD_PREREQUIRES=" cmd:bison cmd:flex cmd:python - cmd:pkg_config + cmd:orcc + cmd:which " BUILD() { - export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ runConfigure ./configure --disable-examples --disable-debug --disable-nls \ - --with-ffmpeg-extra-configure=--disable-mmx --disable-sse2 + --with-ffmpeg-extra-configure=--disable-mmx find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \; make $jobArgs } diff --git a/media-libs/gst_plugins_bad/gst_plugins_bad-0.10.23.recipe b/media-libs/gst_plugins_bad/gst_plugins_bad-0.10.23.recipe index 7a62420cb..2671c08be 100644 --- a/media-libs/gst_plugins_bad/gst_plugins_bad-0.10.23.recipe +++ b/media-libs/gst_plugins_bad/gst_plugins_bad-0.10.23.recipe @@ -35,6 +35,7 @@ REQUIRES=" # lib:libmodplug$secondaryArchSuffix lib:libsndfile$secondaryArchSuffix lib:libsdl$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix " BUILD_REQUIRES=" @@ -52,23 +53,26 @@ BUILD_REQUIRES=" # devel:libmodplug$secondaryArchSuffix devel:libsndfile$secondaryArchSuffix devel:libsdl$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:libtool cmd:aclocal cmd:autoconf - cmd:libtoolize + cmd:libtoolize cmd:make cmd:grep cmd:bison cmd:flex cmd:python - cmd:pkg_config$secondaryArchSuffix + cmd:orcc + cmd:which " - + PROVIDES_devel=" gst_plugins_bad${secondaryArchSuffix}_devel = $portVersion " @@ -80,7 +84,6 @@ REQUIRES_devel=" BUILD() { - export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ runConfigure ./configure --disable-examples --disable-debug --disable-nls \ --with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \; diff --git a/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe b/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe index ef0201fab..bb5995629 100644 --- a/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe +++ b/media-libs/gst_plugins_base/gst_plugins_base-0.10.36.recipe @@ -32,6 +32,7 @@ REQUIRES=" lib:libglib_2.0$secondaryArchSuffix lib:libiconv$secondaryArchSuffix lib:libintl$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix " PROVIDES_devel=" @@ -53,11 +54,13 @@ BUILD_REQUIRES=" devel:libtheora$secondaryArchSuffix devel:libvorbis$secondaryArchSuffix devel:libogg$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:libtool cmd:aclocal cmd:autoconf @@ -67,12 +70,12 @@ BUILD_PREREQUIRES=" cmd:bison cmd:flex cmd:python - cmd:pkg_config$secondaryArchSuffix + cmd:orcc + cmd:which " BUILD() { - export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ runConfigure ./configure --disable-examples --disable-debug --disable-nls \ --with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \; diff --git a/media-libs/gst_plugins_good/gst_plugins_good-0.10.31.recipe b/media-libs/gst_plugins_good/gst_plugins_good-0.10.31.recipe index 03af2167d..bd6b98802 100644 --- a/media-libs/gst_plugins_good/gst_plugins_good-0.10.31.recipe +++ b/media-libs/gst_plugins_good/gst_plugins_good-0.10.31.recipe @@ -29,12 +29,13 @@ REQUIRES=" lib:libjpeg$secondaryArchSuffix lib:libglib_2.0$secondaryArchSuffix lib:libiconv$secondaryArchSuffix - lib:libintl$secondaryArchSuffix + lib:libintl$secondaryArchSuffix lib:libtag$secondaryArchSuffix lib:libspeex$secondaryArchSuffix lib:libflac$secondaryArchSuffix lib:libsoup$secondaryArchSuffix - lib:libsqlite3$secondaryArchSuffix + lib:libsqlite3$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix " BUILD_REQUIRES=" @@ -45,33 +46,35 @@ BUILD_REQUIRES=" devel:libfreetype$secondaryArchSuffix devel:libpng$secondaryArchSuffix devel:libjpeg$secondaryArchSuffix - devel:libglib_2.0$secondaryArchSuffix + devel:libglib_2.0$secondaryArchSuffix devel:libz$secondaryArchSuffix devel:libxml2$secondaryArchSuffix devel:libspeex$secondaryArchSuffix devel:libflac$secondaryArchSuffix devel:libsoup$secondaryArchSuffix - devel:libsqlite3$secondaryArchSuffix + devel:libsqlite3$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:libtool cmd:aclocal cmd:autoconf - cmd:libtoolize + cmd:libtoolize cmd:make cmd:grep cmd:bison cmd:flex cmd:python - cmd:pkg_config$secondaryArchSuffix + cmd:orcc + cmd:which " BUILD() { - export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ runConfigure ./configure --disable-examples --disable-debug --disable-nls \ --with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \; diff --git a/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe b/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe index b3c04a1b1..f8c1c14be 100644 --- a/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe +++ b/media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe @@ -35,6 +35,7 @@ REQUIRES=" lib:libmad$secondaryArchSuffix lib:libtwolame$secondaryArchSuffix lib:libmp3lame$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix " BUILD_REQUIRES=" @@ -52,26 +53,28 @@ BUILD_REQUIRES=" devel:libmad$secondaryArchSuffix devel:libtwolame$secondaryArchSuffix devel:libmp3lame$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix " BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:libtool cmd:aclocal cmd:autoconf - cmd:libtoolize + cmd:libtoolize cmd:make cmd:grep cmd:bison cmd:flex cmd:python - cmd:pkg_config$secondaryArchSuffix + cmd:orcc + cmd:which " BUILD() { - export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ runConfigure ./configure --disable-examples --disable-debug --disable-nls \ --with-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \; diff --git a/media-libs/gstreamer/gstreamer-0.10.36.recipe b/media-libs/gstreamer/gstreamer-0.10.36.recipe index 09aab0266..bc8196cde 100644 --- a/media-libs/gstreamer/gstreamer-0.10.36.recipe +++ b/media-libs/gstreamer/gstreamer-0.10.36.recipe @@ -22,11 +22,13 @@ PROVIDES=" lib:libgstdataprotocol$secondaryArchSuffix = $portVersion lib:libgstnet$secondaryArchSuffix = $portVersion " + REQUIRES=" haiku$secondaryArchSuffix lib:libglib_2.0$secondaryArchSuffix lib:libz$secondaryArchSuffix lib:libxml2$secondaryArchSuffix + lib:liborc_0.4$secondaryArchSuffix " PROVIDES_devel=" @@ -48,25 +50,28 @@ BUILD_REQUIRES=" devel:libglib_2.0$secondaryArchSuffix devel:libz$secondaryArchSuffix devel:libxml2$secondaryArchSuffix + devel:liborc_0.4$secondaryArchSuffix " + BUILD_PREREQUIRES=" cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:pkg_config$secondaryArchSuffix cmd:libtool cmd:aclocal cmd:autoconf - cmd:libtoolize + cmd:libtoolize cmd:make cmd:grep cmd:bison cmd:flex cmd:python - cmd:pkg_config$secondaryArchSuffix + cmd:orcc + cmd:which " BUILD() { - export PKG_CONFIG_LIBDIR=/system/develop/lib/x86/pkgconfig/ runConfigure ./configure --disable-tests --disable-examples \ --disable-failing-tests --disable-nls find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \;