mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
gst_plugins_ugly: add recipe for version 0.10.19
This commit is contained in:
84
media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe
Normal file
84
media-libs/gst_plugins_ugly/gst_plugins_ugly-0.10.19.recipe
Normal file
@@ -0,0 +1,84 @@
|
||||
SUMMARY="GStreamer Ugly Plug-ins"
|
||||
DESCRIPTION="GStreamer Ugly Plug-ins is a set of plug-ins that have good quality and
|
||||
correct functionality, but distributing them might pose problems. The license on
|
||||
either the plug-ins or the supporting libraries might not be how we'd like. The
|
||||
code might be widely known to present patent problems."
|
||||
HOMEPAGE="http://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="4934f65ff892637e7efaf1cfe635779189dde429d0706f40c86a3aac476ea873"
|
||||
SOURCE_DIR="gst-plugins-ugly-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 ?x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
gst_plugins_ugly${secondaryArchSuffix} = $portVersion
|
||||
"
|
||||
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
gst_plugins_base${secondaryArchSuffix}
|
||||
lib:libgstreamer$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:liba52$secondaryArchSuffix
|
||||
lib:libmad$secondaryArchSuffix
|
||||
lib:libtwolame$secondaryArchSuffix
|
||||
lib:libmp3lame$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
gst_plugins_base${secondaryArchSuffix}_devel
|
||||
devel:libgstreamer$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:liba52$secondaryArchSuffix
|
||||
devel:libmad$secondaryArchSuffix
|
||||
devel:libtwolame$secondaryArchSuffix
|
||||
devel:libmp3lame$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$secondaryArchSuffix
|
||||
"
|
||||
|
||||
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' {} \;
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
}
|
||||
Reference in New Issue
Block a user