gst_plugins_bad: bump version

This commit is contained in:
Gerasim Troeglazov
2018-05-05 19:06:32 +10:00
parent 053f65a123
commit c91b20c3e1

View File

@@ -0,0 +1,162 @@
SUMMARY="GStreamer Bad Plug-ins"
DESCRIPTION="GStreamer Bad Plug-ins is a set of plug-ins that aren't up to par compared to the \
rest. They might be close to being good quality, but they're missing something - be it a good \
code review, some documentation, a set of tests, a real live maintainer, or some actual wide use."
HOMEPAGE="https://gstreamer.freedesktop.org/"
COPYRIGHT="Erik Walthinsen"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$portVersion.tar.xz"
CHECKSUM_SHA256="ed5e2badb6f2858f60017b93334d91fe58a0e3f85ed2f37f2e931416fafb4f9f"
SOURCE_DIR="gst-plugins-bad-$portVersion"
ARCHITECTURES="!x86_gcc2 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
gst_plugins_bad$secondaryArchSuffix = $portVersion
lib:libgstadaptivedemux_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstbadallocators_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstbadbase_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstbadaudio_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstbadvideo_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstbasecamerabinsrc_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstcodecparsers_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstinsertbin_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstisoff_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstmpegts_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstphotography_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstplayer_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgsturidownloader_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
lib:libgstwebrtc_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libcurl$secondaryArchSuffix
lib:libfaad$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libgcrypt$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libgstapp_1.0$secondaryArchSuffix
lib:libgstaudio_1.0$secondaryArchSuffix
lib:libgstreamer_1.0$secondaryArchSuffix
lib:libgstvideo_1.0$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:liblcms2$secondaryArchSuffix
lib:libmms$secondaryArchSuffix
lib:libnettle$secondaryArchSuffix
lib:libnice$secondaryArchSuffix
lib:libopus$secondaryArchSuffix
lib:liborc_0.4$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:librtmp.1$secondaryArchSuffix
lib:libsndfile$secondaryArchSuffix
lib:libsrtp$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libwebp$secondaryArchSuffix
lib:libx265$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
SUPPLEMENTS="
gstreamer$secondaryArchSuffix
"
PROVIDES_devel="
gst_plugins_bad${secondaryArchSuffix}_devel = $portVersion
devel:libgstadaptivedemux_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstbadaudio_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstbadvideo_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstbasecamerabinsrc_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstcodecparsers_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstinsertbin_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstisoff_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstmpegts_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstphotography_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstplayer_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgsturidownloader_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
devel:libgstwebrtc_1.0$secondaryArchSuffix = 0.1400.0 compat >= 0
"
REQUIRES_devel="
gst_plugins_bad${secondaryArchSuffix} == $portVersion base
haiku$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libbz2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libcurl$secondaryArchSuffix
devel:libfaad$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libgcrypt$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libgstapp_1.0$secondaryArchSuffix
devel:libgstaudio_1.0$secondaryArchSuffix
devel:libgstreamer_1.0$secondaryArchSuffix
devel:libgstvideo_1.0$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
devel:libintl$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:liblcms2$secondaryArchSuffix
devel:libmms$secondaryArchSuffix
devel:libnettle$secondaryArchSuffix
devel:libnice$secondaryArchSuffix
devel:libopus$secondaryArchSuffix
devel:liborc_0.4$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:librtmp$secondaryArchSuffix >= 1
devel:libsndfile$secondaryArchSuffix
devel:libsrtp$secondaryArchSuffix
devel:libssl$secondaryArchSuffix >= 1.0.0
devel:libwebp$secondaryArchSuffix
devel:libx265$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:bison
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:grep
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:orcc$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:python
cmd:which
"
BUILD()
{
runConfigure ./configure --disable-debug --disable-examples \
--disable-nls --enable-orc
make $jobArgs
}
INSTALL()
{
make install
rm -f $libDir/libgst*.la $libDir/gstreamer-1.0/*.la
prepareInstalledDevelLibs libgstadaptivedemux-1.0 libgstbadaudio-1.0 \
libgstbadvideo-1.0 libgstbasecamerabinsrc-1.0 libgstcodecparsers-1.0 \
libgstinsertbin-1.0 libgstisoff-1.0 libgstmpegts-1.0 libgstphotography-1.0 \
libgstplayer-1.0 libgsturidownloader-1.0 libgstwebrtc-1.0
fixPkgconfig
mv -f $includeDir/gstreamer-1.0/gst $includeDir/
rm -rf $includeDir/gstreamer-1.0
# devel package
packageEntries devel \
$developDir
}