mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
104 lines
2.9 KiB
Bash
104 lines
2.9 KiB
Bash
SUMMARY="GStreamer Base Plug-ins"
|
|
DESCRIPTION="GStreamer Base Plug-ins is a well-groomed and well-maintained collection of \
|
|
GStreamer plug-ins and elements, spanning the range of possible types of elements one \
|
|
would want to write for GStreamer. It also contains helper libraries and base classes \
|
|
useful for writing elements. A wide range of video and audio decoders, encoders, and \
|
|
filters are included."
|
|
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
|
COPYRIGHT="Erik Walthinsen"
|
|
LICENSE="GNU LGPL v2"
|
|
REVISION="2"
|
|
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="1fe45c3894903001d4d008b0713dab089f53726dcb5842d5b40c2595a984e64a"
|
|
SOURCE_DIR="gst-plugins-base-$portVersion"
|
|
|
|
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gst_plugins_base${secondaryArchSuffix} = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libgstreamer$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libvorbis$secondaryArchSuffix
|
|
lib:libtheoradec$secondaryArchSuffix
|
|
lib:libtheoraenc$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libglib_2.0$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:liborc_0.4$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
gst_plugins_base${secondaryArchSuffix}_devel = $portVersion
|
|
"
|
|
REQUIRES_devel="
|
|
gst_plugins_base${secondaryArchSuffix}
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libgstreamer$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libglib_2.0$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
devel:libxml2$secondaryArchSuffix
|
|
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
|
|
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-default-audiosink=sdlaudiosink --with-default-videosink=sdlvideosink
|
|
find -type f -name '*' -exec sed -i 's/-lpthread/-lroot/g' {} \;
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
prepareInstalledDevelLibs libgstvideo-0.10 libgsttag-0.10 libgstsdp-0.10 libgstrtsp-0.10 \
|
|
libgstriff-0.10 libgstpbutils-0.10 libgstnetbuffer-0.10 libgstinterfaces-0.10 \
|
|
libgstfft-0.10 libgstcdda-0.10 libgstaudio-0.10 libgstapp-0.10
|
|
|
|
fixPkgconfig
|
|
|
|
cd $libDir
|
|
for i in lib*.so.0.25.*;do
|
|
ln -fs $i $(echo $i | cut -f1,2 -d.).so
|
|
done
|
|
|
|
mv -f $developDir/headers/x86/gstreamer-0.10/gst $developDir/headers/x86/
|
|
rm -rf $developDir/headers/x86/gstreamer-0.10
|
|
|
|
# devel package
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|