From a28a75652edc4ef925eee3568c886eb68ea5775e Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Sat, 7 Apr 2018 20:52:12 -0400 Subject: [PATCH] Meson: Use pkg-config generator --- gst-libs/gst/allocators/meson.build | 10 ++ gst-libs/gst/app/meson.build | 10 ++ gst-libs/gst/audio/meson.build | 10 ++ gst-libs/gst/fft/meson.build | 10 ++ gst-libs/gst/gl/meson.build | 45 +++++++ gst-libs/gst/pbutils/meson.build | 8 ++ gst-libs/gst/riff/meson.build | 10 ++ gst-libs/gst/rtp/meson.build | 10 ++ gst-libs/gst/rtsp/meson.build | 10 ++ gst-libs/gst/sdp/meson.build | 10 ++ gst-libs/gst/tag/meson.build | 10 ++ gst-libs/gst/video/meson.build | 10 ++ meson.build | 26 +++- .../gstreamer-allocators-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-allocators.pc.in | 16 --- pkgconfig/gstreamer-app-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-app.pc.in | 16 --- pkgconfig/gstreamer-audio-uninstalled.pc.in | 17 --- pkgconfig/gstreamer-audio.pc.in | 17 --- pkgconfig/gstreamer-fft-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-fft.pc.in | 16 --- pkgconfig/gstreamer-gl-egl-uninstalled.pc.in | 13 -- pkgconfig/gstreamer-gl-egl.pc.in | 11 -- .../gstreamer-gl-prototypes-uninstalled.pc.in | 11 -- pkgconfig/gstreamer-gl-prototypes.pc.in | 11 -- pkgconfig/gstreamer-gl-uninstalled.pc.in | 17 --- .../gstreamer-gl-wayland-uninstalled.pc.in | 11 -- pkgconfig/gstreamer-gl-wayland.pc.in | 9 -- pkgconfig/gstreamer-gl-x11-uninstalled.pc.in | 11 -- pkgconfig/gstreamer-gl-x11.pc.in | 9 -- pkgconfig/gstreamer-gl.pc.in | 15 --- pkgconfig/gstreamer-pbutils-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-pbutils.pc.in | 16 --- .../gstreamer-plugins-base-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-plugins-base.pc.in | 14 --- pkgconfig/gstreamer-riff-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-riff.pc.in | 16 --- pkgconfig/gstreamer-rtp-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-rtp.pc.in | 16 --- pkgconfig/gstreamer-rtsp-uninstalled.pc.in | 16 --- pkgconfig/gstreamer-rtsp.pc.in | 16 --- pkgconfig/gstreamer-sdp-uninstalled.pc.in | 17 --- pkgconfig/gstreamer-sdp.pc.in | 17 --- pkgconfig/gstreamer-tag-uninstalled.pc.in | 17 --- pkgconfig/gstreamer-tag.pc.in | 17 --- pkgconfig/gstreamer-video-uninstalled.pc.in | 17 --- pkgconfig/gstreamer-video.pc.in | 17 --- pkgconfig/meson.build | 115 ------------------ 48 files changed, 178 insertions(+), 624 deletions(-) delete mode 100644 pkgconfig/gstreamer-allocators-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-allocators.pc.in delete mode 100644 pkgconfig/gstreamer-app-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-app.pc.in delete mode 100644 pkgconfig/gstreamer-audio-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-audio.pc.in delete mode 100644 pkgconfig/gstreamer-fft-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-fft.pc.in delete mode 100644 pkgconfig/gstreamer-gl-egl-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-gl-egl.pc.in delete mode 100644 pkgconfig/gstreamer-gl-prototypes-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-gl-prototypes.pc.in delete mode 100644 pkgconfig/gstreamer-gl-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-gl-wayland-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-gl-wayland.pc.in delete mode 100644 pkgconfig/gstreamer-gl-x11-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-gl-x11.pc.in delete mode 100644 pkgconfig/gstreamer-gl.pc.in delete mode 100644 pkgconfig/gstreamer-pbutils-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-pbutils.pc.in delete mode 100644 pkgconfig/gstreamer-plugins-base-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-plugins-base.pc.in delete mode 100644 pkgconfig/gstreamer-riff-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-riff.pc.in delete mode 100644 pkgconfig/gstreamer-rtp-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-rtp.pc.in delete mode 100644 pkgconfig/gstreamer-rtsp-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-rtsp.pc.in delete mode 100644 pkgconfig/gstreamer-sdp-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-sdp.pc.in delete mode 100644 pkgconfig/gstreamer-tag-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-tag.pc.in delete mode 100644 pkgconfig/gstreamer-video-uninstalled.pc.in delete mode 100644 pkgconfig/gstreamer-video.pc.in delete mode 100644 pkgconfig/meson.build diff --git a/gst-libs/gst/allocators/meson.build b/gst-libs/gst/allocators/meson.build index 56f156dc37..0ebd0ceb6c 100644 --- a/gst-libs/gst/allocators/meson.build +++ b/gst-libs/gst/allocators/meson.build @@ -19,6 +19,14 @@ gstallocators = library('gstallocators-@0@'.format(api_version), dependencies : [gst_dep], ) +pkgconfig.generate(gstallocators, + libraries : [gst_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-allocators-1.0', + description : 'Allocators implementation', +) + allocators_gen_sources = [] if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/allocators/allocators.h' ] @@ -41,3 +49,5 @@ allocators_dep = declare_dependency(link_with: gstallocators, include_directories : [libsinc], dependencies : [gst_dep], sources : allocators_gen_sources) + +meson.override_dependency('gstreamer-allocators-1.0', allocators_dep) diff --git a/gst-libs/gst/app/meson.build b/gst-libs/gst/app/meson.build index 7a90f5e106..803dcb638a 100644 --- a/gst-libs/gst/app/meson.build +++ b/gst-libs/gst/app/meson.build @@ -30,6 +30,14 @@ gstapp = library('gstapp-@0@'.format(api_version), dependencies : [gst_base_dep], ) +pkgconfig.generate(gstapp, + libraries : [gst_dep, gst_base_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-app-1.0', + description : 'Helper functions and base classes for application integration', +) + if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/app/app.h' ] app_gir = gnome.generate_gir(gstapp, @@ -52,3 +60,5 @@ app_dep = declare_dependency(link_with: gstapp, include_directories : [libsinc], dependencies : [gst_base_dep], sources : app_gen_sources) + +meson.override_dependency('gstreamer-app-1.0', app_dep) diff --git a/gst-libs/gst/audio/meson.build b/gst-libs/gst/audio/meson.build index 7a259d4675..dcc79ecf11 100644 --- a/gst-libs/gst/audio/meson.build +++ b/gst-libs/gst/audio/meson.build @@ -152,6 +152,14 @@ gstaudio = library('gstaudio-@0@'.format(api_version), dependencies : gstaudio_deps, ) +pkgconfig.generate(gstaudio, + libraries : [gst_dep, gst_base_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-audio-1.0', + description : 'Audio helper functions and base classes', +) + if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/audio/audio.h' ] audio_gir = gnome.generate_gir(gstaudio, @@ -173,3 +181,5 @@ audio_dep = declare_dependency(link_with : gstaudio, include_directories : [libsinc], dependencies : gstaudio_deps, sources : audio_gen_sources) + +meson.override_dependency('gstreamer-audio-1.0', audio_dep) diff --git a/gst-libs/gst/fft/meson.build b/gst-libs/gst/fft/meson.build index 1caf543fd9..3bdad445e4 100644 --- a/gst-libs/gst/fft/meson.build +++ b/gst-libs/gst/fft/meson.build @@ -36,6 +36,16 @@ gstfft = library('gstfft-@0@'.format(api_version), dependencies : [gst_dep, libm], ) +pkgconfig.generate(gstfft, + libraries : [gst_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-fft-1.0', + description : 'FFT implementation', +) + fft_dep = declare_dependency(link_with: gstfft, include_directories : [libsinc], dependencies : [gst_dep]) + +meson.override_dependency('gstreamer-fft-1.0', fft_dep) diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build index bdd7eb1097..800bb9c4b0 100644 --- a/gst-libs/gst/gl/meson.build +++ b/gst-libs/gst/gl/meson.build @@ -1004,6 +1004,26 @@ if build_gstgl # don't confuse EGL/egl.h with gst-libs/gl/egl/egl.h on case-insensitive file systems implicit_include_directories : false) + pkgconfig.generate(gstgl, + libraries : [gstvideo, gst_base_dep, gst_dep], + variables : pkgconfig_variables + [ + 'gl_platforms=' + ' '.join(enabled_gl_platforms), + 'gl_winsys=' + ' '.join(enabled_gl_winsys), + 'gl_apis=' + ' '.join(enabled_gl_apis), + ], + subdirs : pkgconfig_subdirs, + extra_cflags : ['-I${libdir}/gstreamer-1.0/include'], + name : 'gstreamer-gl-1.0', + description : 'Streaming media framework, OpenGL plugins libraries', + ) + + pkgconfig.generate(gstgl, + libraries : [gstgl, gl_dep], + subdirs : pkgconfig_subdirs, + name : 'gstreamer-gl-prototypes-1.0', + description : 'Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes)', + ) + if build_gir gl_gir = gnome.generate_gir(gstgl, sources : gl_sources + [gl_enumtypes_h] + [gl_enumtypes_c] + gir_gl_headers, @@ -1025,9 +1045,18 @@ if build_gstgl sources: gen_sources, dependencies : [video_dep, gst_base_dep]) gstglproto_dep = declare_dependency(dependencies : [gstgl_dep] + gl_lib_deps) + meson.override_dependency('gstreamer-gl-1.0', gstgl_dep) + meson.override_dependency('gstreamer-gl-prototypes-1.0', gstglproto_dep) if gl_x11_headers.length() > 0 install_headers(gl_x11_headers, subdir : 'gstreamer-1.0/gst/gl/x11') + pkgconfig.generate( + libraries : [gstgl], + requires: ['x11-xcb'], + subdirs : pkgconfig_subdirs, + name : 'gstreamer-gl-x11-1.0', + description : 'Streaming media framework, OpenGL plugins libraries (X11 specifics)', + ) gl_x11_gir = [] if build_gir gl_x11_gir = gnome.generate_gir(gstgl, @@ -1045,10 +1074,18 @@ if build_gstgl endif gstglx11_dep = declare_dependency(dependencies : [gstgl_dep], sources : gl_x11_gir) + meson.override_dependency('gstreamer-gl-x11-1.0', gstglx11_dep) endif if gl_wayland_headers.length() > 0 install_headers(gl_wayland_headers, subdir : 'gstreamer-1.0/gst/gl/wayland') + pkgconfig.generate( + libraries : [gstgl], + requires: ['wayland-egl', 'wayland-client'], + subdirs : pkgconfig_subdirs, + name : 'gstreamer-gl-wayland-1.0', + description : 'Streaming media framework, OpenGL plugins libraries (Wayland specifics)', + ) gl_wayland_gir = [] if build_gir gl_wayland_gir = gnome.generate_gir(gstgl, @@ -1066,10 +1103,17 @@ if build_gstgl endif gstglwayland_dep = declare_dependency(dependencies : [gstgl_dep], sources : gl_wayland_gir) + meson.override_dependency('gstreamer-gl-wayland-1.0', gstglwayland_dep) endif if gl_egl_headers.length() > 0 install_headers(gl_egl_headers, subdir : 'gstreamer-1.0/gst/gl/egl') + pkgconfig.generate( + libraries : [gstgl, egl_dep], + subdirs : pkgconfig_subdirs, + name : 'gstreamer-gl-egl-1.0', + description : 'Streaming media framework, OpenGL plugins libraries (EGL specifics)', + ) gl_egl_gir = [] if build_gir gl_egl_gir = gnome.generate_gir(gstgl, @@ -1087,6 +1131,7 @@ if build_gstgl endif gstglegl_dep = declare_dependency(dependencies : [gstgl_dep], sources : gl_egl_gir) + meson.override_dependency('gstreamer-gl-egl-1.0', gstglegl_dep) endif elif get_option('gl').enabled() diff --git a/gst-libs/gst/pbutils/meson.build b/gst-libs/gst/pbutils/meson.build index 0e96722fde..085384aeda 100644 --- a/gst-libs/gst/pbutils/meson.build +++ b/gst-libs/gst/pbutils/meson.build @@ -60,6 +60,14 @@ pbutils = library('gstpbutils-@0@'.format(api_version), dependencies : gstpbutils_deps, ) +pkgconfig.generate(pbutils, + libraries : [gst_dep, video_dep, audio_dep, gst_base_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-pbutils-1.0', + description : 'General utility functions', +) + pbutils_gen_sources = [gstpbutils_h, gst_pbutils_version_h] if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/pbutils/pbutils.h' ] diff --git a/gst-libs/gst/riff/meson.build b/gst-libs/gst/riff/meson.build index ddda376c85..f39a688272 100644 --- a/gst-libs/gst/riff/meson.build +++ b/gst-libs/gst/riff/meson.build @@ -25,6 +25,14 @@ gstriff = library('gstriff-@0@'.format(api_version), dependencies : riff_deps, ) +pkgconfig.generate(gstriff, + libraries : [gst_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-riff-1.0', + description : 'RIFF helper functions', +) + riff_gen_sources = [] # *** GIR DISABLED for this library *** @@ -50,3 +58,5 @@ riff_dep = declare_dependency(link_with: gstriff, include_directories : [libsinc], dependencies : riff_deps, sources : riff_gen_sources ) + +meson.override_dependency('gstreamer-riff-1.0', riff_dep) diff --git a/gst-libs/gst/rtp/meson.build b/gst-libs/gst/rtp/meson.build index 7ea6658d5c..cdc17171b7 100644 --- a/gst-libs/gst/rtp/meson.build +++ b/gst-libs/gst/rtp/meson.build @@ -46,6 +46,14 @@ gst_rtp = library('gstrtp-@0@'.format(api_version), dependencies : gstrtp_deps, ) +pkgconfig.generate(gst_rtp, + libraries : [gst_dep, gst_base_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-rtp-1.0', + description : 'RTP base classes and helper functions', +) + rtp_gen_sources = [gstrtp_enum_h] if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/rtp/rtp.h' ] @@ -70,3 +78,5 @@ rtp_dep = declare_dependency(link_with : gst_rtp, include_directories : [libsinc], dependencies : gstrtp_deps, sources : rtp_gen_sources) + +meson.override_dependency('gstreamer-rtp-1.0', rtp_dep) diff --git a/gst-libs/gst/rtsp/meson.build b/gst-libs/gst/rtsp/meson.build index 3632adceb9..fb8b9207b6 100644 --- a/gst-libs/gst/rtsp/meson.build +++ b/gst-libs/gst/rtsp/meson.build @@ -51,6 +51,14 @@ gst_rtsp = library('gstrtsp-@0@'.format(api_version), dependencies : gstrtsp_deps, ) +pkgconfig.generate(gst_rtsp, + libraries : [gst_dep, sdp_dep, gio_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-rtsp-1.0', + description : 'RTSP base classes and helper functions', +) + rtsp_gen_sources = [gstrtsp_h] if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/rtsp/rtsp.h' ] @@ -73,3 +81,5 @@ rtsp_dep = declare_dependency(link_with : gst_rtsp, include_directories : [libsinc], dependencies : gstrtsp_deps, sources : rtsp_gen_sources) + +meson.override_dependency('gstreamer-rtsp-1.0', rtsp_dep) diff --git a/gst-libs/gst/sdp/meson.build b/gst-libs/gst/sdp/meson.build index 24cdb52937..8705ef477e 100644 --- a/gst-libs/gst/sdp/meson.build +++ b/gst-libs/gst/sdp/meson.build @@ -20,6 +20,14 @@ gstsdp = library('gstsdp-@0@'.format(api_version), dependencies : rtsp_deps, ) +pkgconfig.generate(gstsdp, + libraries : [glib_deps], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-sdp-1.0', + description : 'SDP helper functions', +) + sdp_gen_sources = [] if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/sdp/sdp.h' ] @@ -43,3 +51,5 @@ sdp_dep = declare_dependency(link_with: gstsdp, include_directories : [libsinc], dependencies : rtsp_deps, sources: sdp_gen_sources) + +meson.override_dependency('gstreamer-sdp-1.0', sdp_dep) diff --git a/gst-libs/gst/tag/meson.build b/gst-libs/gst/tag/meson.build index 5ec37392ad..0bd85b16a2 100644 --- a/gst-libs/gst/tag/meson.build +++ b/gst-libs/gst/tag/meson.build @@ -91,6 +91,14 @@ gsttag = library('gsttag-@0@'.format(api_version), dependencies : tag_deps, ) +pkgconfig.generate(gsttag, + libraries : [gst_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-tag-1.0', + description : 'Tag base classes and helper functions', +) + if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/tag/tag.h' ] tag_gir = gnome.generate_gir(gsttag, @@ -113,6 +121,8 @@ tag_dep = declare_dependency(link_with: gsttag, dependencies : tag_deps, sources: tag_gen_sources) +meson.override_dependency('gstreamer-tag-1.0', tag_dep) + # Little program that reads iso_639.xml and outputs tables for us as fallback # for when iso-codes are not available (and so we don't have to read the xml # just to map codes) diff --git a/gst-libs/gst/video/meson.build b/gst-libs/gst/video/meson.build index d1d0492099..54ab62d3d6 100644 --- a/gst-libs/gst/video/meson.build +++ b/gst-libs/gst/video/meson.build @@ -137,6 +137,14 @@ gstvideo = library('gstvideo-@0@'.format(api_version), dependencies : gstvideo_deps, ) +pkgconfig.generate(gstvideo, + libraries : [gst_dep, gst_base_dep], + variables : pkgconfig_variables, + subdirs : pkgconfig_subdirs, + name : 'gstreamer-video-1.0', + description : 'Video base classes and helper functions', +) + if build_gir gst_gir_extra_args = gir_init_section + [ '--c-include=gst/video/video.h' ] video_gir = gnome.generate_gir(gstvideo, @@ -158,3 +166,5 @@ video_dep = declare_dependency(link_with : gstvideo, include_directories : [libsinc], dependencies : gstvideo_deps, sources : video_gen_sources) + +meson.override_dependency('gstreamer-video-1.0', video_dep) diff --git a/meson.build b/meson.build index 876eb0ebf4..01690ff270 100644 --- a/meson.build +++ b/meson.build @@ -431,6 +431,16 @@ 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', + 'libexecdir=${prefix}/libexec'] +pkgconfig_subdirs = ['gstreamer-1.0'] + python3 = import('python').find_installation() subdir('gst-libs') subdir('gst') @@ -440,7 +450,7 @@ if not get_option('tools').disabled() subdir('tools') endif subdir('tests') -subdir('pkgconfig') + # xgettext is optional (on Windows for instance) if find_program('xgettext', required : get_option('nls')).found() core_conf.set('ENABLE_NLS', 1) @@ -449,6 +459,20 @@ endif subdir('docs') subdir('scripts') +base_libraries = ['allocators', 'app', 'audio', 'fft', 'pbutils', 'riff', 'rtp', 'rtsp', 'sdp', 'tag', 'video'] +if build_gstgl + base_libraries += 'gl' +endif +pkgconfig.generate( + libraries : [gst_dep], + variables : pkgconfig_variables + [ + 'libraries=' + ' '.join(base_libraries), + ], + subdirs : pkgconfig_subdirs, + name : 'gstreamer-plugins-base-1.0', + description : 'Streaming media framework, base plugins libraries', +) + if have_orcc update_orc_dist_files = find_program('scripts/update-orc-dist-files.py') diff --git a/pkgconfig/gstreamer-allocators-uninstalled.pc.in b/pkgconfig/gstreamer-allocators-uninstalled.pc.in deleted file mode 100644 index 58739e24a2..0000000000 --- a/pkgconfig/gstreamer-allocators-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@allocatorslibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/allocators -typelibdir=@abs_top_builddir@/gst-libs/gst/allocators - -Name: GStreamer Allocators Library, Uninstalled -Description: Allocators implementation, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ -Libs: -L${libdir} -lgstallocators-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-allocators.pc.in b/pkgconfig/gstreamer-allocators.pc.in deleted file mode 100644 index f1091583f7..0000000000 --- a/pkgconfig/gstreamer-allocators.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer Allocators Library -Description: Allocators implementation -Requires: gstreamer-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgstallocators-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-app-uninstalled.pc.in b/pkgconfig/gstreamer-app-uninstalled.pc.in deleted file mode 100644 index 419ba2483b..0000000000 --- a/pkgconfig/gstreamer-app-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@applibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/app -typelibdir=@abs_top_builddir@/gst-libs/gst/app - -Name: GStreamer Application Library, Uninstalled -Description: Helper functions and base classes for application integration, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ -Libs: -L${libdir} -lgstapp-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-app.pc.in b/pkgconfig/gstreamer-app.pc.in deleted file mode 100644 index aa1e552b25..0000000000 --- a/pkgconfig/gstreamer-app.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer Application Library -Description: Helper functions and base classes for application integration -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgstapp-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-audio-uninstalled.pc.in b/pkgconfig/gstreamer-audio-uninstalled.pc.in deleted file mode 100644 index 50b683821f..0000000000 --- a/pkgconfig/gstreamer-audio-uninstalled.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@audiolibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/audio -typelibdir=@abs_top_builddir@/gst-libs/gst/audio - -Name: GStreamer Audio Library, Uninstalled -Description: Audio helper functions and base classes, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-tag-@GST_API_VERSION@ -Requires.private: @ORC_PC@ -Libs: -L${libdir} -lgstaudio-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-audio.pc.in b/pkgconfig/gstreamer-audio.pc.in deleted file mode 100644 index 1f8a04fe12..0000000000 --- a/pkgconfig/gstreamer-audio.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer Audio library -Description: Audio helper functions and base classes -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-tag-@GST_API_VERSION@ -Requires.private: @ORC_PC@ -Version: @VERSION@ -Libs: -L${libdir} -lgstaudio-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-fft-uninstalled.pc.in b/pkgconfig/gstreamer-fft-uninstalled.pc.in deleted file mode 100644 index 8593a344b3..0000000000 --- a/pkgconfig/gstreamer-fft-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@fftlibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/fft -typelibdir=@abs_top_builddir@/gst-libs/gst/fft - -Name: GStreamer FFT Library, Uninstalled -Description: FFT implementation, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ -Libs: -L${libdir} -lgstfft-@GST_API_VERSION@ @LIBM@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-fft.pc.in b/pkgconfig/gstreamer-fft.pc.in deleted file mode 100644 index 7f2d2ca7fc..0000000000 --- a/pkgconfig/gstreamer-fft.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer FFT Library -Description: FFT implementation -Requires: gstreamer-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgstfft-@GST_API_VERSION@ @LIBM@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-gl-egl-uninstalled.pc.in b/pkgconfig/gstreamer-gl-egl-uninstalled.pc.in deleted file mode 100644 index 20a24dddef..0000000000 --- a/pkgconfig/gstreamer-gl-egl-uninstalled.pc.in +++ /dev/null @@ -1,13 +0,0 @@ -prefix= -exec_prefix= -libdir=@gllibdir@ -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/gl -typelibdir=@abs_top_builddir@/gst-libs/gst/gl - -Name: GStreamer OpenGL Plugins Libraries (EGL Specifics), Uninstalled -Description: Streaming media framework, OpenGL plugins libraries (EGL specifics), uninstalled -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ @GL_EGL_EXTRA_REQUIRES@ - -Libs: @GL_EGL_EXTRA_LIBS@ diff --git a/pkgconfig/gstreamer-gl-egl.pc.in b/pkgconfig/gstreamer-gl-egl.pc.in deleted file mode 100644 index fb227376c9..0000000000 --- a/pkgconfig/gstreamer-gl-egl.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ - -Name: GStreamer OpenGL Plugins Libraries (Wayland specifics) -Description: Streaming media framework, OpenGL plugins libraries (EGL specifics) -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ @GL_EGL_EXTRA_REQUIRES@ - -Libs: @GL_EGL_EXTRA_LIBS@ diff --git a/pkgconfig/gstreamer-gl-prototypes-uninstalled.pc.in b/pkgconfig/gstreamer-gl-prototypes-uninstalled.pc.in deleted file mode 100644 index 05141d80a6..0000000000 --- a/pkgconfig/gstreamer-gl-prototypes-uninstalled.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix= -exec_prefix= -libdir=@gllibdir@ -includedir=@abs_top_builddir@/gst-libs - -Name: GStreamer OpenGL Plugins Libraries (OpenGL Prototypes), Uninstalled -Description: Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes), uninstalled -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ @GL_PROTO_EXTRA_REQUIRES@ - -Libs: @GL_PROTO_EXTRA_LIBS@ diff --git a/pkgconfig/gstreamer-gl-prototypes.pc.in b/pkgconfig/gstreamer-gl-prototypes.pc.in deleted file mode 100644 index cdc1bed58b..0000000000 --- a/pkgconfig/gstreamer-gl-prototypes.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ - -Name: GStreamer OpenGL Plugins Libraries (OpenGL Prototypes) -Description: Streaming media framework, OpenGL plugins libraries (OpenGL Prototypes) -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ @GL_PROTO_EXTRA_REQUIRES@ - -Libs: @GL_PROTO_EXTRA_LIBS@ diff --git a/pkgconfig/gstreamer-gl-uninstalled.pc.in b/pkgconfig/gstreamer-gl-uninstalled.pc.in deleted file mode 100644 index 74cc776bdb..0000000000 --- a/pkgconfig/gstreamer-gl-uninstalled.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix= -exec_prefix= -libdir=@gllibdir@ -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/gl -typelibdir=@abs_top_builddir@/gst-libs/gst/gl -gl_platforms=@GL_PLATFORMS@ -gl_winsys=@GL_WINDOWS@ -gl_apis=@GL_APIS@ - -Name: GStreamer OpenGL Plugins Libraries, Uninstalled -Description: Streaming media framework, OpenGL plugins libraries, uninstalled -Version: @VERSION@ -Requires: gstreamer-video-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ - -Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs diff --git a/pkgconfig/gstreamer-gl-wayland-uninstalled.pc.in b/pkgconfig/gstreamer-gl-wayland-uninstalled.pc.in deleted file mode 100644 index ff9632dfb9..0000000000 --- a/pkgconfig/gstreamer-gl-wayland-uninstalled.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix= -exec_prefix= -libdir=@gllibdir@ -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/gl -typelibdir=@abs_top_builddir@/gst-libs/gst/gl - -Name: GStreamer OpenGL Plugins Libraries (Wayland Specifics), Uninstalled -Description: Streaming media framework, OpenGL plugins libraries (Wayland specifics), uninstalled -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ wayland-egl wayland-client diff --git a/pkgconfig/gstreamer-gl-wayland.pc.in b/pkgconfig/gstreamer-gl-wayland.pc.in deleted file mode 100644 index d0686cd311..0000000000 --- a/pkgconfig/gstreamer-gl-wayland.pc.in +++ /dev/null @@ -1,9 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ - -Name: GStreamer OpenGL Plugins Libraries (Wayland specifics) -Description: Streaming media framework, OpenGL plugins libraries (Wayland specifics) -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ wayland-egl wayland-client diff --git a/pkgconfig/gstreamer-gl-x11-uninstalled.pc.in b/pkgconfig/gstreamer-gl-x11-uninstalled.pc.in deleted file mode 100644 index b0630b1a05..0000000000 --- a/pkgconfig/gstreamer-gl-x11-uninstalled.pc.in +++ /dev/null @@ -1,11 +0,0 @@ -prefix= -exec_prefix= -libdir=@gllibdir@ -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/gl -typelibdir=@abs_top_builddir@/gst-libs/gst/gl - -Name: GStreamer OpenGL Plugins Libraries (X11 Specifics), Uninstalled -Description: Streaming media framework, OpenGL plugins libraries (X11 specifics), uninstalled -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ x11-xcb diff --git a/pkgconfig/gstreamer-gl-x11.pc.in b/pkgconfig/gstreamer-gl-x11.pc.in deleted file mode 100644 index 0d50fd6892..0000000000 --- a/pkgconfig/gstreamer-gl-x11.pc.in +++ /dev/null @@ -1,9 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ - -Name: GStreamer OpenGL Plugins Libraries (X11 specifics) -Description: Streaming media framework, OpenGL plugins libraries (X11 specifics) -Version: @VERSION@ -Requires: gstreamer-gl-@GST_API_VERSION@ x11-xcb diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in deleted file mode 100644 index aa0bb364fc..0000000000 --- a/pkgconfig/gstreamer-gl.pc.in +++ /dev/null @@ -1,15 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -gl_platforms=@GL_PLATFORMS@ -gl_winsys=@GL_WINDOWS@ -gl_apis=@GL_APIS@ - -Name: GStreamer OpenGL Plugins Libraries -Description: Streaming media framework, OpenGL plugins libraries -Version: @VERSION@ -Requires: gstreamer-video-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ - -Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ -Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include diff --git a/pkgconfig/gstreamer-pbutils-uninstalled.pc.in b/pkgconfig/gstreamer-pbutils-uninstalled.pc.in deleted file mode 100644 index 9ae4464000..0000000000 --- a/pkgconfig/gstreamer-pbutils-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@pbutilslibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/pbutils -typelibdir=@abs_top_builddir@/gst-libs/gst/pbutils - -Name: GStreamer Base Utils Library, Uninstalled -Description: General utility functions, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ gstreamer-audio-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ gstreamer-tag-@GST_API_VERSION@ -Libs: -L${libdir} -lgstpbutils-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-pbutils.pc.in b/pkgconfig/gstreamer-pbutils.pc.in deleted file mode 100644 index 116a565784..0000000000 --- a/pkgconfig/gstreamer-pbutils.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer Base Utils Library -Description: General utility functions -Requires: gstreamer-@GST_API_VERSION@ gstreamer-audio-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-video-@GST_API_VERSION@ gstreamer-tag-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgstpbutils-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-plugins-base-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-base-uninstalled.pc.in deleted file mode 100644 index 300b04b479..0000000000 --- a/pkgconfig/gstreamer-plugins-base-uninstalled.pc.in +++ /dev/null @@ -1,16 +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 Base Plugins Libraries, Uninstalled -Description: Streaming media framework, base plugins libraries, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ -Libs: -L@allocatorslibdir@ -L@applibdir@ -L@audiolibdir@ -L@fftlibdir@ -L@pbutilslibdir@ -L@rifflibdir@ -L@rtplibdir@ -L@rtsplibdir@ -L@sdplibdir@ -L@taglibdir@ -L@videolibdir@ @glliblinkerflag@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - -libraries=allocators app audio fft pbutils riff rtp rtsp sdp tag video @gl_lib_name@ diff --git a/pkgconfig/gstreamer-plugins-base.pc.in b/pkgconfig/gstreamer-plugins-base.pc.in deleted file mode 100644 index 89292ae7b5..0000000000 --- a/pkgconfig/gstreamer-plugins-base.pc.in +++ /dev/null @@ -1,14 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -pluginsdir=@libdir@/gstreamer-@GST_API_VERSION@ - -Name: GStreamer Base Plugins Libraries -Description: Streaming media framework, base plugins libraries -Requires: gstreamer-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -Cflags: -I${includedir} - -libraries=allocators app audio fft pbutils riff rtp rtsp sdp tag video @gl_lib_name@ diff --git a/pkgconfig/gstreamer-riff-uninstalled.pc.in b/pkgconfig/gstreamer-riff-uninstalled.pc.in deleted file mode 100644 index 117cc7fbfe..0000000000 --- a/pkgconfig/gstreamer-riff-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@rifflibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/riff -typelibdir=@abs_top_builddir@/gst-libs/gst/riff - -Name: GStreamer RIFF Library, Uninstalled -Description: RIFF helper functions, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ -Libs: -L${libdir} -lgstriff-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-riff.pc.in b/pkgconfig/gstreamer-riff.pc.in deleted file mode 100644 index 000ef3e64f..0000000000 --- a/pkgconfig/gstreamer-riff.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer RIFF Library -Description: RIFF helper functions -Requires: gstreamer-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgstriff-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-rtp-uninstalled.pc.in b/pkgconfig/gstreamer-rtp-uninstalled.pc.in deleted file mode 100644 index e0963f4ecd..0000000000 --- a/pkgconfig/gstreamer-rtp-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@rtplibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/rtp -typelibdir=@abs_top_builddir@/gst-libs/gst/rtp - -Name: GStreamer RTP Library, Uninstalled -Description: RTP base classes and helper functions, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ -Libs: -L${libdir} -lgstrtp-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-rtp.pc.in b/pkgconfig/gstreamer-rtp.pc.in deleted file mode 100644 index 56e45226e6..0000000000 --- a/pkgconfig/gstreamer-rtp.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer RTP Library -Description: RTP base classes and helper functions -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgstrtp-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-rtsp-uninstalled.pc.in b/pkgconfig/gstreamer-rtsp-uninstalled.pc.in deleted file mode 100644 index 80869e5f95..0000000000 --- a/pkgconfig/gstreamer-rtsp-uninstalled.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@rtsplibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/rtsp -typelibdir=@abs_top_builddir@/gst-libs/gst/rtsp - -Name: GStreamer RTSP Library, Uninstalled -Description: RTSP base classes and helper functions, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ gstreamer-sdp-@GST_API_VERSION@ gio-2.0 -Libs: -L${libdir} -lgstrtsp-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-rtsp.pc.in b/pkgconfig/gstreamer-rtsp.pc.in deleted file mode 100644 index 5e8a17a929..0000000000 --- a/pkgconfig/gstreamer-rtsp.pc.in +++ /dev/null @@ -1,16 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer RTSP Library -Description: RTSP base classes and helper functions -Requires: gstreamer-@GST_API_VERSION@ gstreamer-sdp-@GST_API_VERSION@ gio-2.0 -Version: @VERSION@ -Libs: -L${libdir} -lgstrtsp-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-sdp-uninstalled.pc.in b/pkgconfig/gstreamer-sdp-uninstalled.pc.in deleted file mode 100644 index 0ea8116c75..0000000000 --- a/pkgconfig/gstreamer-sdp-uninstalled.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@sdplibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/sdp -typelibdir=@abs_top_builddir@/gst-libs/gst/sdp - -Name: GStreamer SDP Library, Uninstalled -Description: SDP helper functions, uninstalled -Version: @VERSION@ -Requires: glib-2.0 gstreamer-@GST_API_VERSION@ gstreamer-rtp-@GST_API_VERSION@ -Requires.private: gio-2.0 -Libs: -L${libdir} -lgstsdp-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-sdp.pc.in b/pkgconfig/gstreamer-sdp.pc.in deleted file mode 100644 index cb6b03a49f..0000000000 --- a/pkgconfig/gstreamer-sdp.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer SDP Library -Description: SDP helper functions -Requires: glib-2.0 gstreamer-@GST_API_VERSION@ gstreamer-rtp-@GST_API_VERSION@ -Requires.private: gio-2.0 -Version: @VERSION@ -Libs: -L${libdir} -lgstsdp-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-tag-uninstalled.pc.in b/pkgconfig/gstreamer-tag-uninstalled.pc.in deleted file mode 100644 index 02d3317a46..0000000000 --- a/pkgconfig/gstreamer-tag-uninstalled.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@taglibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/tag -typelibdir=@abs_top_builddir@/gst-libs/gst/tag - -Name: GStreamer Tag Library, Uninstalled -Description: Tag base classes and helper functions, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ -Libs: -L${libdir} -lgsttag-@GST_API_VERSION@ -Libs.Private: @ZLIB_LIBS@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-tag.pc.in b/pkgconfig/gstreamer-tag.pc.in deleted file mode 100644 index b8d318770b..0000000000 --- a/pkgconfig/gstreamer-tag.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer Tag Library -Description: Tag base classes and helper functions -Requires: gstreamer-@GST_API_VERSION@ -Version: @VERSION@ -Libs: -L${libdir} -lgsttag-@GST_API_VERSION@ -Libs.private: @ZLIB_LIBS@ -Cflags: -I${includedir} - diff --git a/pkgconfig/gstreamer-video-uninstalled.pc.in b/pkgconfig/gstreamer-video-uninstalled.pc.in deleted file mode 100644 index 4dd1d09cda..0000000000 --- a/pkgconfig/gstreamer-video-uninstalled.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -# the standard variables don't make sense for an uninstalled copy -prefix= -exec_prefix= -libdir=@videolibdir@ -# includedir is builddir because it is used to find gstconfig.h in places -includedir=@abs_top_builddir@/gst-libs -girdir=@abs_top_builddir@/gst-libs/gst/video -typelibdir=@abs_top_builddir@/gst-libs/gst/video - -Name: GStreamer Video Library, Uninstalled -Description: Video base classes and helper functions, uninstalled -Version: @VERSION@ -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ -Requires.private: @ORC_PC@ -Libs: -L${libdir} -lgstvideo-@GST_API_VERSION@ -Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs - diff --git a/pkgconfig/gstreamer-video.pc.in b/pkgconfig/gstreamer-video.pc.in deleted file mode 100644 index af96773edb..0000000000 --- a/pkgconfig/gstreamer-video.pc.in +++ /dev/null @@ -1,17 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@/gstreamer-@GST_API_VERSION@ -datarootdir=${prefix}/share -datadir=${datarootdir} -girdir=${datadir}/gir-1.0 -typelibdir=${libdir}/girepository-1.0 - -Name: GStreamer Video Library -Description: Video base classes and helper functions -Requires: gstreamer-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ -Requires.private: @ORC_PC@ -Version: @VERSION@ -Libs: -L${libdir} -lgstvideo-@GST_API_VERSION@ -Cflags: -I${includedir} - diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build deleted file mode 100644 index 438cb1e866..0000000000 --- a/pkgconfig/meson.build +++ /dev/null @@ -1,115 +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) -pkgconf.set('LIBM', libm.found() ? '-lm' : '') -pkgconf.set('ZLIB_LIBS', zlib_dep.found() ? '-lz' : '') -pkgconf.set('ORC_PC', have_orcc ? 'orc-0.4' : '') - -# 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('allocatorslibdir', join_paths(meson.build_root(), gstallocators.outdir())) -pkgconf.set('applibdir', join_paths(meson.build_root(), gstapp.outdir())) -pkgconf.set('audiolibdir', join_paths(meson.build_root(), gstaudio.outdir())) -pkgconf.set('fftlibdir', join_paths(meson.build_root(), gstfft.outdir())) -pkgconf.set('pbutilslibdir', join_paths(meson.build_root(), pbutils.outdir())) -pkgconf.set('rifflibdir', join_paths(meson.build_root(), gstriff.outdir())) -pkgconf.set('rtplibdir', join_paths(meson.build_root(), gst_rtp.outdir())) -pkgconf.set('rtsplibdir', join_paths(meson.build_root(), gst_rtsp.outdir())) -pkgconf.set('sdplibdir', join_paths(meson.build_root(), gstsdp.outdir())) -pkgconf.set('taglibdir', join_paths(meson.build_root(), gsttag.outdir())) -pkgconf.set('videolibdir', join_paths(meson.build_root(), gstvideo.outdir())) - -pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir')) - -pkg_files = [ - 'gstreamer-allocators', - 'gstreamer-app', - 'gstreamer-audio', - 'gstreamer-fft', - 'gstreamer-pbutils', - 'gstreamer-plugins-base', - 'gstreamer-riff', - 'gstreamer-rtp', - 'gstreamer-rtsp', - 'gstreamer-sdp', - 'gstreamer-tag', - 'gstreamer-video', -] - -# XXX: requires the meson.build to be parsed/executed after gst-libs/gl/meson.build -if build_gstgl - gllibdir = join_paths(meson.build_root(), gstgl.outdir()) - pkgconf.set('gllibdir', gllibdir) - pkgconf.set('glliblinkerflag', '-L' + gllibdir) - pkg_files += ['gstreamer-gl', 'gstreamer-gl-prototypes'] - pkgconf.set('GL_APIS', ' '.join(enabled_gl_apis)) - pkgconf.set('GL_WINDOWS', ' '.join(enabled_gl_winsys)) - pkgconf.set('GL_PLATFORMS', ' '.join(enabled_gl_platforms)) - pkgconf.set('gl_lib_name', 'gl') - gl_proto_requires = '' - gl_proto_libs = '' - if enabled_gl_apis.contains('gl') - if gl_dep.type_name() == 'pkgconfig' - gl_proto_requires += ' gl' - elif gl_dep.type_name() == 'library' - if 'wgl' in enabled_gl_platforms - gl_proto_libs += ' -lopengl32' - else - gl_proto_libs += ' -lGL' - endif - elif gl_dep.type_name() == 'appleframework' - gl_proto_libs += ' -framework OpenGL' - endif - endif - if enabled_gl_apis.contains('gles2') - if gles2_dep.type_name() == 'pkgconfig' - gl_proto_requires += ' glesv2' - elif gles2_dep.type_name() == 'library' - gl_proto_libs += ' -lGLESv2' - elif gles2_dep.type_name() == 'appleframework' - gl_proto_libs += ' -framework OpenGLES' - endif - endif - pkgconf.set('GL_PROTO_EXTRA_REQUIRES', gl_proto_requires) - pkgconf.set('GL_PROTO_EXTRA_LIBS', gl_proto_libs) - if enabled_gl_platforms.contains('egl') - pkg_files += ['gstreamer-gl-egl'] - if egl_dep.type_name() == 'pkgconfig' - pkgconf.set('GL_EGL_EXTRA_REQUIRES', 'egl') - pkgconf.set('GL_EGL_EXTRA_LIBS', '') - elif egl_dep.type_name() == 'library' - pkgconf.set('GL_EGL_EXTRA_REQUIRES', '') - pkgconf.set('GL_EGL_EXTRA_LIBS', '-lEGL') - endif - endif - if enabled_gl_winsys.contains('x11') - pkg_files += ['gstreamer-gl-x11'] - endif - if enabled_gl_winsys.contains('wayland') - pkg_files += ['gstreamer-gl-wayland'] - endif -else - pkgconf.set('glliblinkerflag', '') - pkgconf.set('gl_lib_name', '') -endif - -foreach p : pkg_files - infile = p + '.pc.in' - outfile = p + '-1.0.pc' - configure_file(input : infile, - output : outfile, - configuration : pkgconf, - install_dir : pkg_install_dir) - - infile = p + '-uninstalled.pc.in' - outfile = p + '-1.0-uninstalled.pc' - configure_file(input : infile, - output : outfile, - configuration : pkgconf) -endforeach