mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
gst_plugins_good: Enable gdkpixbuf and gtk (#7969)
- Split gtk plugin into separate package
This commit is contained in:
@@ -5,7 +5,7 @@ for the supporting library)."
|
||||
HOMEPAGE="https://gstreamer.freedesktop.org/"
|
||||
COPYRIGHT="Erik Walthinsen"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$portVersion.tar.xz"
|
||||
CHECKSUM_SHA256="582e617271e7f314d1a2211e3e3856ae2e4303c8c0d6114e9c4a5ea5719294b0"
|
||||
SOURCE_DIR="gst-plugins-good-$portVersion"
|
||||
@@ -27,13 +27,18 @@ REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbrotlidec$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libcairo_gobject$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libflac$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
lib:libgirepository_1.0$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libgstapp_1.0$secondaryArchSuffix
|
||||
lib:libgstaudio_1.0$secondaryArchSuffix
|
||||
lib:libgstbase_1.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libgstvideo_1.0$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
@@ -61,19 +66,44 @@ SUPPLEMENTS="
|
||||
gstreamer$secondaryArchSuffix
|
||||
"
|
||||
|
||||
# GTK
|
||||
SUMMARY_gtk="GStreamer GTK+ 3 Plug-in"
|
||||
DESCRIPTION_gtk="A plugin to render video to a GTK widget using OpenGL."
|
||||
|
||||
PROVIDES_gtk="
|
||||
gst_plugins_good${secondaryArchSuffix}_gtk = $portVersion
|
||||
"
|
||||
REQUIRES_gtk="
|
||||
gst_plugins_good$secondaryArchSuffix
|
||||
lib:libcairo$secondaryArchSuffix
|
||||
lib:libgdk_3$secondaryArchSuffix
|
||||
lib:libglib_2.0$secondaryArchSuffix
|
||||
lib:libgobject_2.0$secondaryArchSuffix
|
||||
lib:libgstreamer_1.0$secondaryArchSuffix
|
||||
lib:libgstvideo_1.0$secondaryArchSuffix
|
||||
lib:libgtk_3$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbrotlidec$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libcairo$secondaryArchSuffix
|
||||
devel:libcairo_gobject$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libflac$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libgdk_pixbuf_2.0$secondaryArchSuffix
|
||||
devel:libgirepository_1.0$secondaryArchSuffix
|
||||
devel:libglib_2.0$secondaryArchSuffix
|
||||
devel:libgobject_2.0$secondaryArchSuffix
|
||||
devel:libgstapp_1.0$secondaryArchSuffix >= $libVersion
|
||||
devel:libgstaudio_1.0$secondaryArchSuffix >= $libVersion
|
||||
devel:libgstbase_1.0$secondaryArchSuffix >= $libVersion
|
||||
devel:libgstreamer_1.0$secondaryArchSuffix >= $libVersion
|
||||
devel:libgstvideo_1.0$secondaryArchSuffix >= $libVersion
|
||||
devel:libgdk_3$secondaryArchSuffix
|
||||
devel:libgtk_3$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
@@ -117,7 +147,7 @@ BUILD()
|
||||
{
|
||||
export CFLAGS="-lnetwork"
|
||||
|
||||
meson build \
|
||||
meson setup build \
|
||||
--buildtype=release \
|
||||
--prefix=$prefix \
|
||||
--bindir=$binDir \
|
||||
@@ -144,4 +174,7 @@ INSTALL()
|
||||
|
||||
cd $sourceDir2
|
||||
cp -f libgsthaikuaudiosink.so $libDir/gstreamer-1.0
|
||||
|
||||
packageEntries "gtk" \
|
||||
$libDir/gstreamer-1.0/libgstgtk.so
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user