mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
71 lines
1.8 KiB
Bash
71 lines
1.8 KiB
Bash
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="2"
|
|
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
|
|
lib:liborc_0.4$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
|
|
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$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:grep
|
|
cmd:bison
|
|
cmd:flex
|
|
cmd:python
|
|
cmd:orcc
|
|
cmd:which
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure ./configure --disable-examples --disable-debug --disable-nls \
|
|
--with-ffmpeg-extra-configure=--disable-mmx
|
|
find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \;
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|