mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
Meson: Use pkg-config generator
This commit is contained in:
parent
f22fc190e7
commit
2efb4a7adb
42 changed files with 147 additions and 403 deletions
|
@ -14,10 +14,20 @@ gstbadaudio = library('gstbadaudio-' + api_version,
|
|||
dependencies : [gstaudio_dep, gstbase_dep],
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstbadaudio,
|
||||
libraries : [gst_dep, gstbase_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-bad-audio-1.0',
|
||||
description : 'Bad audio library for GStreamer elements',
|
||||
)
|
||||
|
||||
gstbadaudio_dep = declare_dependency(link_with : gstbadaudio,
|
||||
include_directories : [libsinc],
|
||||
dependencies : [gstaudio_dep, gstbase_dep])
|
||||
|
||||
meson.override_dependency('gstreamer-bad-audio-1.0', gstbadaudio_dep)
|
||||
|
||||
if build_gir
|
||||
audio_gir = gnome.generate_gir(gstbadaudio,
|
||||
sources : badaudio_sources + badaudio_headers,
|
||||
|
|
|
@ -53,6 +53,16 @@ gstcodecparsers = library('gstcodecparsers-' + api_version,
|
|||
dependencies : [gstbase_dep, libm],
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstcodecparsers,
|
||||
libraries : [gst_dep, gstbase_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-codecparsers-1.0',
|
||||
description : 'Bitstream parsers for GStreamer elements',
|
||||
)
|
||||
|
||||
gstcodecparsers_dep = declare_dependency(link_with : gstcodecparsers,
|
||||
include_directories : [libsinc],
|
||||
dependencies : [gstbase_dep])
|
||||
|
||||
meson.override_dependency('gstreamer-codecparsers-1.0', gstcodecparsers_dep)
|
||||
|
|
|
@ -13,6 +13,14 @@ gstinsertbin = library('gstinsertbin-' + api_version,
|
|||
dependencies : [gst_dep],
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstinsertbin,
|
||||
libraries : [gst_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-insertbin-1.0',
|
||||
description : 'Bin to automatically and insertally link elements',
|
||||
)
|
||||
|
||||
gen_sources = []
|
||||
if build_gir
|
||||
insertbin_gir = gnome.generate_gir(gstinsertbin,
|
||||
|
@ -34,3 +42,5 @@ gstinsertbin_dep = declare_dependency(link_with : gstinsertbin,
|
|||
include_directories : [libsinc],
|
||||
sources: gen_sources,
|
||||
dependencies : [gst_dep])
|
||||
|
||||
meson.override_dependency('gstreamer-insertbin-1.0', gstinsertbin_dep)
|
||||
|
|
|
@ -24,7 +24,17 @@ gstphotography = library('gstphotography-' + api_version,
|
|||
dependencies : [gst_dep],
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstphotography,
|
||||
libraries : [gst_dep, gstbase_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-photography-1.0',
|
||||
description : 'High level API for transcoding using GStreamer',
|
||||
)
|
||||
|
||||
gstphotography_dep = declare_dependency(link_with : gstphotography,
|
||||
include_directories : [libsinc],
|
||||
dependencies : [gst_dep],
|
||||
sources : [photoenum_h])
|
||||
|
||||
meson.override_dependency('gstreamer-photography-1.0', gstphotography_dep)
|
||||
|
|
|
@ -41,6 +41,15 @@ gstmpegts = library('gstmpegts-' + api_version,
|
|||
install : true,
|
||||
dependencies : [gst_dep],
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstmpegts,
|
||||
libraries : [gst_dep, gstbase_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-mpegts-1.0',
|
||||
description : 'GStreamer MPEG-TS support',
|
||||
)
|
||||
|
||||
if build_gir
|
||||
mpegts_gir = gnome.generate_gir(gstmpegts,
|
||||
sources : mpegts_sources + mpegts_headers,
|
||||
|
@ -62,3 +71,5 @@ gstmpegts_dep = declare_dependency(link_with : gstmpegts,
|
|||
include_directories : [libsinc],
|
||||
dependencies : [gst_dep],
|
||||
sources : gen_sources)
|
||||
|
||||
meson.override_dependency('gstreamer-mpegts-1.0', gstmpegts_dep)
|
||||
|
|
|
@ -35,6 +35,14 @@ gstplayer = library('gstplayer-' + api_version,
|
|||
gsttag_dep, gstpbutils_dep],
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstplayer,
|
||||
libraries : [gst_dep, gstvideo_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-player-1.0',
|
||||
description : 'GStreamer Player convenience library',
|
||||
)
|
||||
|
||||
gen_sources = []
|
||||
if build_gir
|
||||
player_gir = gnome.generate_gir(gstplayer,
|
||||
|
@ -59,3 +67,5 @@ gstplayer_dep = declare_dependency(link_with : gstplayer,
|
|||
sources: gen_sources,
|
||||
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep,
|
||||
gsttag_dep, gstpbutils_dep])
|
||||
|
||||
meson.override_dependency('gstreamer-player-1.0', gstplayer_dep)
|
||||
|
|
|
@ -21,6 +21,16 @@ libgstsctp = library('gstsctp-' + api_version,
|
|||
dependencies : [gstbase_dep],
|
||||
)
|
||||
|
||||
pkgconfig.generate(libgstsctp,
|
||||
libraries : [gst_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-sctp-1.0',
|
||||
description : 'SCTP helper functions',
|
||||
)
|
||||
|
||||
gstsctp_dep = declare_dependency(link_with : libgstsctp,
|
||||
include_directories : [libsinc],
|
||||
dependencies : [gstbase_dep])
|
||||
|
||||
meson.override_dependency('gstreamer-sctp-1.0', gstsctp_dep)
|
||||
|
|
|
@ -11,6 +11,15 @@ gst_transcoder = library('gsttranscoder-' + api_version,
|
|||
c_args: gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API', '-DBUILDING_GST_TRANSCODER'],
|
||||
soversion : soversion,
|
||||
)
|
||||
|
||||
pkgconfig.generate(gst_transcoder,
|
||||
libraries : [gst_dep, gstbase_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-transcoder-1.0',
|
||||
description : 'High level API for transcoding using GStreamer',
|
||||
)
|
||||
|
||||
if build_gir
|
||||
transcoder_gir = gnome.generate_gir(gst_transcoder,
|
||||
sources : sources + headers,
|
||||
|
@ -31,3 +40,5 @@ gst_transcoder_dep = declare_dependency(link_with: gst_transcoder,
|
|||
dependencies : [gst_dep, gstpbutils_dep],
|
||||
include_directories : [libsinc]
|
||||
)
|
||||
|
||||
meson.override_dependency('gstreamer-transcoder-1.0', gst_transcoder_dep)
|
||||
|
|
|
@ -322,6 +322,14 @@ gstvulkan = library('gstvulkan-' + api_version,
|
|||
# don't confuse gst/vulkan/xcb/xcb.h with xcb/xcb.h
|
||||
implicit_include_directories : false)
|
||||
|
||||
pkgconfig.generate(gstvulkan,
|
||||
libraries : [gst_dep, gstbase_dep, gstvideo_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-vulkan-1.0',
|
||||
description : 'GStreamer Vulkan support',
|
||||
)
|
||||
|
||||
if build_gir
|
||||
extra_gir_includes = []
|
||||
gobject_introspection_dep = dependency('gobject-introspection-1.0')
|
||||
|
@ -350,8 +358,17 @@ gstvulkan_dep = declare_dependency(link_with : gstvulkan,
|
|||
sources: gen_sources,
|
||||
dependencies : [gstvideo_dep, gstbase_dep, vulkan_dep] + optional_deps)
|
||||
|
||||
meson.override_dependency('gstreamer-vulkan-1.0', gstvulkan_dep)
|
||||
|
||||
if enabled_vulkan_winsys.contains('xcb')
|
||||
install_headers(vulkan_xcb_headers, subdir : 'gstreamer-1.0/gst/vulkan/xcb')
|
||||
pkgconfig.generate(
|
||||
libraries : [gstvulkan],
|
||||
requires : ['xcb'],
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-vulkan-xcb-1.0',
|
||||
description : 'GStreamer Vulkan support (XCB Specifics)',
|
||||
)
|
||||
vulkan_xcb_gir = []
|
||||
if build_gir
|
||||
vulkan_xcb_gir = gnome.generate_gir(gstvulkan,
|
||||
|
@ -369,10 +386,18 @@ if enabled_vulkan_winsys.contains('xcb')
|
|||
endif
|
||||
gstvulkanxcb_dep = declare_dependency(dependencies : [gstvulkan_dep],
|
||||
sources : vulkan_xcb_gir)
|
||||
meson.override_dependency('gstreamer-vulkan-xcb-1.0', gstvulkanxcb_dep)
|
||||
endif
|
||||
|
||||
if enabled_vulkan_winsys.contains('wayland')
|
||||
install_headers(vulkan_wayland_headers, subdir : 'gstreamer-1.0/gst/vulkan/wayland')
|
||||
pkgconfig.generate(
|
||||
libraries : [gstvulkan],
|
||||
requires : ['wayland-client'],
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-vulkan-wayland-1.0',
|
||||
description : 'GStreamer Vulkan support (Wayland Specifics)',
|
||||
)
|
||||
vulkan_wayland_gir = []
|
||||
if build_gir
|
||||
vulkan_wayland_gir = gnome.generate_gir(gstvulkan,
|
||||
|
@ -390,4 +415,5 @@ if enabled_vulkan_winsys.contains('wayland')
|
|||
endif
|
||||
gstvulkanwayland_dep = declare_dependency(dependencies : [gstvulkan_dep],
|
||||
sources : vulkan_wayland_gir)
|
||||
meson.override_dependency('gstreamer-vulkan-wayland-1.0', gstvulkanwayland_dep)
|
||||
endif
|
||||
|
|
|
@ -18,7 +18,17 @@ if use_wayland
|
|||
dependencies : [gst_dep, gstvideo_dep, wl_client_dep]
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstwayland,
|
||||
libraries : [gst_dep, gstvideo_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-wayland-1.0',
|
||||
description : 'GStreamer Wayland support',
|
||||
)
|
||||
|
||||
gstwayland_dep = declare_dependency(link_with : gstwayland,
|
||||
include_directories : [libsinc],
|
||||
dependencies : [gst_dep, gstvideo_dep])
|
||||
|
||||
meson.override_dependency('gstreamer-wayland-1.0', gstwayland_dep)
|
||||
endif
|
||||
|
|
|
@ -53,6 +53,14 @@ gstwebrtc = library('gstwebrtc-' + api_version,
|
|||
dependencies : gstwebrtc_dependencies,
|
||||
)
|
||||
|
||||
pkgconfig.generate(gstwebrtc,
|
||||
libraries : [gst_dep, gstbase_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-webrtc-1.0',
|
||||
description : 'GStreamer WebRTC support',
|
||||
)
|
||||
|
||||
if build_gir
|
||||
webrtc_gir = gnome.generate_gir(gstwebrtc,
|
||||
sources : webrtc_sources + webrtc_headers + [gstwebrtc_h],
|
||||
|
@ -75,3 +83,5 @@ gstwebrtc_dep = declare_dependency(link_with: gstwebrtc,
|
|||
include_directories : libsinc,
|
||||
sources: webrtc_gen_sources,
|
||||
dependencies: gstwebrtc_dependencies)
|
||||
|
||||
meson.override_dependency('gstreamer-webrtc-1.0', gstwebrtc_dep)
|
||||
|
|
19
meson.build
19
meson.build
|
@ -462,6 +462,24 @@ if get_option('default_library') == 'shared'
|
|||
plugins_pkgconfig_install_dir = disabler()
|
||||
endif
|
||||
|
||||
pkgconfig_variables = ['exec_prefix=${prefix}',
|
||||
'toolsdir=${exec_prefix}/bin',
|
||||
'pluginsdir=${libdir}/gstreamer-1.0',
|
||||
'datarootdir=${prefix}/share',
|
||||
'datadir=${datarootdir}',
|
||||
'girdir=${datadir}/gir-1.0',
|
||||
'typelibdir=${libdir}/girepository-1.0']
|
||||
|
||||
pkgconfig_subdirs = ['gstreamer-1.0']
|
||||
|
||||
pkgconfig.generate(
|
||||
libraries : [gst_dep],
|
||||
variables : pkgconfig_variables,
|
||||
subdirs : pkgconfig_subdirs,
|
||||
name : 'gstreamer-plugins-bad-1.0',
|
||||
description : 'Streaming media framework, bad plugins libraries',
|
||||
)
|
||||
|
||||
subdir('gst-libs')
|
||||
subdir('gst')
|
||||
subdir('sys')
|
||||
|
@ -469,7 +487,6 @@ subdir('ext')
|
|||
subdir('tests')
|
||||
subdir('data')
|
||||
subdir('tools')
|
||||
subdir('pkgconfig')
|
||||
|
||||
if have_orcc
|
||||
update_orc_dist_files = find_program('scripts/update-orc-dist-files.py')
|
||||
|
|
1
pkgconfig/.gitignore
vendored
1
pkgconfig/.gitignore
vendored
|
@ -1 +0,0 @@
|
|||
*.pc
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@audiolibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer bad audio library, uninstalled
|
||||
Description: Bad audio library for GStreamer, Not Installed
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} -lgstbadaudio-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
|
@ -1,13 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer bad audio library, uninstalled
|
||||
Description: Bad audio library for GStreamer elements, Not Installed
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
|
||||
Libs: -L${libdir} -lgstbadaudio-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@codecparserslibdir@
|
||||
includedir=@abs_top_builddir@/gst-libs
|
||||
|
||||
Name: GStreamer codec parsers, Uninstalled
|
||||
Description: Bitstream parsers for GStreamer elements, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstcodecparsers-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer codec parsers
|
||||
Description: Bitstream parsers for GStreamer elements
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstcodecparsers-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@insertbinlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Insert Bin, Uninstalled
|
||||
Description: Bin to automatically and insertally link elements, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstinsertbin-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Insert Bin
|
||||
Description: Bin to automatically and insertally link elements
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstinsertbin-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@mpegtslibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer MPEG-TS, Uninstalled
|
||||
Description: GStreamer MPEG-TS support, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstmpegts-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer MPEG-TS
|
||||
Description: GStreamer MPEG-TS support
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstmpegts-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@playerlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Photography, Uninstalled
|
||||
Description: GStreamer Photography digital image capture library, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstphotography-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Photography
|
||||
Description: GStreamer Photography digital image capture library
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstphotography-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@playerlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Player, Uninstalled
|
||||
Description: GStreamer Player convenience library, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstplayer-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Player
|
||||
Description: GStreamer Player convenience library
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstplayer-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
# the standard variables don't make sense for an uninstalled copy
|
||||
prefix=
|
||||
exec_prefix=
|
||||
libdir=
|
||||
# includedir is builddir because it is used to find gstconfig.h in places
|
||||
includedir=@abs_top_builddir@/gst-libs
|
||||
pluginsdir=@abs_top_builddir@
|
||||
|
||||
Name: GStreamer Bad Plugin libraries, Uninstalled
|
||||
Description: Streaming media framework, bad plugins libraries, uninstalled
|
||||
Version: @VERSION@
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Libs: -L@audiolibdir@ -L@basecamerabinsrclibdir@ -L@codecparserslibdir@ -L@insertbinlibdir@ -L@photographylibdir@ -L@mpegtslibdir@ -L@playerlibdir@ -L@webrtclibdir@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
|
@ -1,13 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
|
||||
Name: GStreamer Bad Plugin libraries
|
||||
Description: Streaming media framework, bad plugins libraries
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir}
|
||||
Cflags: -I${includedir}
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=${pcfiledir}/../gst-libs/gst/sctp
|
||||
includedir=${pcfiledir}/../gst-libs
|
||||
|
||||
Name: GStreamer SCTP Library
|
||||
Description: SCTP helper functions, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} ${libdir}/libgstsctp-@GST_API_VERSION@.la
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer SCTP Library
|
||||
Description: SCTP helper functions
|
||||
Requires: gstreamer-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstsctp-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@playerlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Transcoder, Uninstalled
|
||||
Description: GStreamer Transcoder library, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-pbutils-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgsttranscoder-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Transcoder
|
||||
Description: GStreamer Transcoder library
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-pbutils-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgsttranscoder-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@vulkanlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
vulkan_winsys=@VULKAN_WINSYS@
|
||||
|
||||
|
||||
Name: GStreamer Vulkan, Uninstalled
|
||||
Description: GStreamer Vulkan support, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstvulkan-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@vulkanlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Vulkan (Wayland Specifics), Uninstalled
|
||||
Description: GStreamer Vulkan support (Wayland Specifics), uninstalled
|
||||
Requires: gstreamer-vulkan-@GST_API_VERSION@ wayland-client
|
||||
Version: @VERSION@
|
|
@ -1,9 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Vulkan (Wayland Specifics)
|
||||
Description: GStreamer Vulkan support (Wayland Specifics)
|
||||
Requires: gstreamer-vulkan-@GST_API_VERSION@ wayland-client
|
||||
Version: @VERSION@
|
|
@ -1,9 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@vulkanlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Vulkan (XCB Specifics), Uninstalled
|
||||
Description: GStreamer Vulkan support (XCB Specifics), uninstalled
|
||||
Requires: gstreamer-vulkan-@GST_API_VERSION@ xcb
|
||||
Version: @VERSION@
|
|
@ -1,9 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Vulkan (XCB Specifics)
|
||||
Description: GStreamer Vulkan support (XCB Specifics)
|
||||
Requires: gstreamer-vulkan-@GST_API_VERSION@ xcb
|
||||
Version: @VERSION@
|
|
@ -1,13 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
vulkan_winsys=@VULKAN_WINSYS@
|
||||
|
||||
Name: GStreamer Vulkan
|
||||
Description: GStreamer Vulkan support
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstvulkan-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@waylandlibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer Wayland, Uninstalled
|
||||
Description: GStreamer Wayland support, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstwayland-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer Wayland
|
||||
Description: GStreamer Wayland support
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstwayland-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=
|
||||
exec_prefix=
|
||||
libdir=@webrtclibdir@
|
||||
includedir=@abs_top_srcdir@/gst-libs
|
||||
|
||||
Name: GStreamer WebRTC, Uninstalled
|
||||
Description: GStreamer WebRTC support, uninstalled
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-sdp-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstwebrtc-@GST_API_VERSION@
|
||||
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@/gstreamer-@GST_API_VERSION@
|
||||
|
||||
Name: GStreamer WebRTC
|
||||
Description: GStreamer WebRTC support
|
||||
Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-sdp-@GST_API_VERSION@
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -lgstwebrtc-@GST_API_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
|
|
@ -1,69 +0,0 @@
|
|||
pkgconf = configuration_data()
|
||||
|
||||
pkgconf.set('prefix', join_paths(get_option('prefix')))
|
||||
pkgconf.set('exec_prefix', '${prefix}')
|
||||
pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
|
||||
pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))
|
||||
pkgconf.set('GST_API_VERSION', api_version)
|
||||
pkgconf.set('VERSION', gst_version)
|
||||
|
||||
# needed for generating -uninstalled.pc files
|
||||
pkgconf.set('abs_top_builddir', join_paths(meson.current_build_dir(), '..'))
|
||||
pkgconf.set('abs_top_srcdir', join_paths(meson.current_source_dir(), '..'))
|
||||
pkgconf.set('audiolibdir', join_paths(meson.build_root(), gstbadaudio.outdir()))
|
||||
pkgconf.set('transcoderlibdir', join_paths(meson.build_root(), gst_transcoder.outdir()))
|
||||
pkgconf.set('codecparserslibdir', join_paths(meson.build_root(), gstcodecparsers.outdir()))
|
||||
pkgconf.set('insertbinlibdir', join_paths(meson.build_root(), gstinsertbin.outdir()))
|
||||
pkgconf.set('mpegtslibdir', join_paths(meson.build_root(), gstmpegts.outdir()))
|
||||
pkgconf.set('playerlibdir', join_paths(meson.build_root(), gstplayer.outdir()))
|
||||
pkgconf.set('basecamerabinsrclibdir', join_paths(meson.build_root(), gstbasecamerabin.outdir()))
|
||||
pkgconf.set('photographylibdir', join_paths(meson.build_root(), gstphotography.outdir()))
|
||||
pkgconf.set('webrtclibdir', join_paths(meson.build_root(), gstwebrtc.outdir()))
|
||||
|
||||
pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
|
||||
|
||||
pkg_libs = [
|
||||
'bad-audio',
|
||||
'codecparsers',
|
||||
'insertbin',
|
||||
'mpegts',
|
||||
'photography',
|
||||
'player',
|
||||
'plugins-bad',
|
||||
'sctp',
|
||||
'transcoder',
|
||||
'webrtc',
|
||||
]
|
||||
|
||||
#if use_wayland
|
||||
# pkgconf.set('waylandlibdir', join_paths(meson.build_root(), gstwayland.outdir()))
|
||||
# pkg_libs += 'wayland'
|
||||
#endif
|
||||
|
||||
if gstvulkan_dep.found()
|
||||
pkgconf.set('vulkanlibdir', join_paths(meson.build_root(), gstvulkan.outdir()))
|
||||
pkgconf.set('VULKAN_WINSYS', ' '.join(enabled_vulkan_winsys))
|
||||
pkg_libs += 'vulkan'
|
||||
|
||||
if enabled_vulkan_winsys.contains('xcb')
|
||||
pkg_libs += 'vulkan-xcb'
|
||||
endif
|
||||
if enabled_vulkan_winsys.contains('wayland')
|
||||
pkg_libs += 'vulkan-wayland'
|
||||
endif
|
||||
endif
|
||||
|
||||
foreach p : pkg_libs
|
||||
infile = 'gstreamer-@0@.pc.in'.format(p)
|
||||
outfile = 'gstreamer-@0@-@1@.pc'.format(p, api_version)
|
||||
configure_file(input : infile,
|
||||
output : outfile,
|
||||
configuration : pkgconf,
|
||||
install_dir : pkg_install_dir)
|
||||
|
||||
infile = 'gstreamer-@0@-uninstalled.pc.in'.format(p)
|
||||
outfile = 'gstreamer-@0@-@1@-uninstalled.pc'.format(p, api_version)
|
||||
configure_file(input : infile,
|
||||
output : outfile,
|
||||
configuration : pkgconf)
|
||||
endforeach
|
Loading…
Reference in a new issue