mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
gst_libav: bump version
This commit is contained in:
@@ -6,21 +6,24 @@ HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2
|
||||
GNU GPL v2"
|
||||
REVISION="3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="c724f612700c15a933c7356fbeabb0bb9571fb5538f8b1b54d4d2d94188deef2"
|
||||
CHECKSUM_SHA256="42f93f5ce9a3fc22051e5f783a4574b56ebf213f331f75dcbc3552459bd3a06a"
|
||||
SOURCE_DIR="gst-libav-$portVersion"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
libVersion="0.1602.0"
|
||||
libVersion="0.1800.0"
|
||||
|
||||
PROVIDES="
|
||||
gst_libav$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libavcodec$secondaryArchSuffix
|
||||
lib:libavformat$secondaryArchSuffix
|
||||
lib:libavutil$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgstapp_1.0$secondaryArchSuffix
|
||||
@@ -39,6 +42,9 @@ SUPPLEMENTS="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libavcodec$secondaryArchSuffix
|
||||
devel:libavformat$secondaryArchSuffix
|
||||
devel:libavutil$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgstapp_1.0$secondaryArchSuffix >= $libVersion
|
||||
@@ -52,37 +58,46 @@ BUILD_REQUIRES="
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:bison
|
||||
cmd:cmake
|
||||
cmd:flex
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:grep
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:meson
|
||||
cmd:ninja
|
||||
cmd:orcc$secondaryArchSuffix
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:python
|
||||
cmd:python3
|
||||
cmd:yasm
|
||||
cmd:which
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd $sourceDir
|
||||
./configure \
|
||||
--enable-orc \
|
||||
--enable-gpl \
|
||||
--with-libav-extra-configure="--disable-mmx --disable-asm"
|
||||
make $jobArgs
|
||||
export CFLAGS="-lnetwork"
|
||||
|
||||
meson build \
|
||||
--prefix=$prefix \
|
||||
--bindir=$binDir \
|
||||
--libdir=$libDir \
|
||||
--libexecdir=$libDir \
|
||||
--datadir=$dataDir \
|
||||
--mandir=$manDir \
|
||||
--includedir=$includeDir \
|
||||
-D doc=disabled \
|
||||
-D package-name="GStreamer Plugins LibAV (Haiku)" \
|
||||
-D package-origin="https://www.haiku-os.org/" \
|
||||
-D examples=disabled \
|
||||
-D test=disabled \
|
||||
-D nls=disabled \
|
||||
-D orc=enabled
|
||||
|
||||
meson compile -C build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $libDir/gstreamer-1.0
|
||||
cp -f $sourceDir/ext/libav/.libs/libgstlibav.so $libDir/gstreamer-1.0
|
||||
strip $libDir/gstreamer-1.0/libgstlibav.so
|
||||
meson install -C build
|
||||
}
|
||||
Reference in New Issue
Block a user