mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
gst_ffmpeg: add recipe for version 0.10.13
This commit is contained in:
69
media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe
Normal file
69
media-libs/gst_ffmpeg/gst_ffmpeg-0.10.13.recipe
Normal file
@@ -0,0 +1,69 @@
|
||||
SUMMARY="FFmpeg based gstreamer plugin"
|
||||
DESCRIPTION="GStreamer FFmpeg plug-in contains one plugin with a set of elements using the
|
||||
FFmpeg library code. It contains most popular decoders as well as very fast colorspace
|
||||
conversion elements."
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-ffmpeg/gst-ffmpeg-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="ed9cc4375100c80ce56540ac1c30b8712a94d0cb97ba33dd52dd6203cd554729"
|
||||
SOURCE_DIR="gst-ffmpeg-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gst_ffmpeg$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
gst_plugins_base${secondaryArchSuffix}
|
||||
lib:libgstreamer$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
gst_plugins_base${secondaryArchSuffix}_devel
|
||||
devel:libgstreamer$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtool
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:libtoolize
|
||||
cmd:make
|
||||
cmd:grep
|
||||
cmd:bison
|
||||
cmd:flex
|
||||
cmd:python
|
||||
cmd:pkg_config
|
||||
"
|
||||
|
||||
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
|
||||
find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \;
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user