From: Xavier Claessens Date: Sat, 7 Apr 2018 20:33:47 +0000 (-0400) Subject: Meson: Use pkg-config generator X-Git-Tag: 1.19.3~507^2~1215 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2efb4a7adbce2963d27ecaf6ad7057b94b18a7c5;p=platform%2Fupstream%2Fgstreamer.git Meson: Use pkg-config generator --- diff --git a/gst-libs/gst/audio/meson.build b/gst-libs/gst/audio/meson.build index db3c11a..5307f78 100644 --- a/gst-libs/gst/audio/meson.build +++ b/gst-libs/gst/audio/meson.build @@ -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, diff --git a/gst-libs/gst/codecparsers/meson.build b/gst-libs/gst/codecparsers/meson.build index 7b76f40..194cc7e 100644 --- a/gst-libs/gst/codecparsers/meson.build +++ b/gst-libs/gst/codecparsers/meson.build @@ -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) diff --git a/gst-libs/gst/insertbin/meson.build b/gst-libs/gst/insertbin/meson.build index ac8f2b3..5ca5488 100644 --- a/gst-libs/gst/insertbin/meson.build +++ b/gst-libs/gst/insertbin/meson.build @@ -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) diff --git a/gst-libs/gst/interfaces/meson.build b/gst-libs/gst/interfaces/meson.build index 5228471..a97bea7 100644 --- a/gst-libs/gst/interfaces/meson.build +++ b/gst-libs/gst/interfaces/meson.build @@ -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) diff --git a/gst-libs/gst/mpegts/meson.build b/gst-libs/gst/mpegts/meson.build index 7fdb14c..6aaf847 100644 --- a/gst-libs/gst/mpegts/meson.build +++ b/gst-libs/gst/mpegts/meson.build @@ -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) diff --git a/gst-libs/gst/player/meson.build b/gst-libs/gst/player/meson.build index a615bcd..ea8fcc8 100644 --- a/gst-libs/gst/player/meson.build +++ b/gst-libs/gst/player/meson.build @@ -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) diff --git a/gst-libs/gst/sctp/meson.build b/gst-libs/gst/sctp/meson.build index 876f990..122060b 100644 --- a/gst-libs/gst/sctp/meson.build +++ b/gst-libs/gst/sctp/meson.build @@ -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) diff --git a/gst-libs/gst/transcoder/meson.build b/gst-libs/gst/transcoder/meson.build index 7a0e841..67323a2 100644 --- a/gst-libs/gst/transcoder/meson.build +++ b/gst-libs/gst/transcoder/meson.build @@ -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, @@ -30,4 +39,6 @@ endif gst_transcoder_dep = declare_dependency(link_with: gst_transcoder, dependencies : [gst_dep, gstpbutils_dep], include_directories : [libsinc] -) \ No newline at end of file +) + +meson.override_dependency('gstreamer-transcoder-1.0', gst_transcoder_dep) diff --git a/gst-libs/gst/vulkan/meson.build b/gst-libs/gst/vulkan/meson.build index 5e315dd..d5a14ca 100644 --- a/gst-libs/gst/vulkan/meson.build +++ b/gst-libs/gst/vulkan/meson.build @@ -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 diff --git a/gst-libs/gst/wayland/meson.build b/gst-libs/gst/wayland/meson.build index 89bc6ab..d4b31af 100644 --- a/gst-libs/gst/wayland/meson.build +++ b/gst-libs/gst/wayland/meson.build @@ -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 diff --git a/gst-libs/gst/webrtc/meson.build b/gst-libs/gst/webrtc/meson.build index 981083c..efdba65 100644 --- a/gst-libs/gst/webrtc/meson.build +++ b/gst-libs/gst/webrtc/meson.build @@ -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) diff --git a/meson.build b/meson.build index d298439..9f61688 100644 --- a/meson.build +++ b/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') diff --git a/pkgconfig/.gitignore b/pkgconfig/.gitignore deleted file mode 100644 index 6fd0ef0..0000000 --- a/pkgconfig/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pc diff --git a/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in b/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in deleted file mode 100644 index 9de1a1b..0000000 --- a/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in +++ /dev/null @@ -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 diff --git a/pkgconfig/gstreamer-bad-audio.pc.in b/pkgconfig/gstreamer-bad-audio.pc.in deleted file mode 100644 index cb9b532..0000000 --- a/pkgconfig/gstreamer-bad-audio.pc.in +++ /dev/null @@ -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} diff --git a/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in b/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in deleted file mode 100644 index e5e2b12..0000000 --- a/pkgconfig/gstreamer-codecparsers-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-codecparsers.pc.in b/pkgconfig/gstreamer-codecparsers.pc.in deleted file mode 100644 index 9d1010a..0000000 --- a/pkgconfig/gstreamer-codecparsers.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-insertbin-uninstalled.pc.in b/pkgconfig/gstreamer-insertbin-uninstalled.pc.in deleted file mode 100644 index 51445dd..0000000 --- a/pkgconfig/gstreamer-insertbin-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-insertbin.pc.in b/pkgconfig/gstreamer-insertbin.pc.in deleted file mode 100644 index cbf76d3..0000000 --- a/pkgconfig/gstreamer-insertbin.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-mpegts-uninstalled.pc.in b/pkgconfig/gstreamer-mpegts-uninstalled.pc.in deleted file mode 100644 index 92924f3..0000000 --- a/pkgconfig/gstreamer-mpegts-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-mpegts.pc.in b/pkgconfig/gstreamer-mpegts.pc.in deleted file mode 100644 index 718a949..0000000 --- a/pkgconfig/gstreamer-mpegts.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-photography-uninstalled.pc.in b/pkgconfig/gstreamer-photography-uninstalled.pc.in deleted file mode 100644 index 51baf42..0000000 --- a/pkgconfig/gstreamer-photography-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-photography.pc.in b/pkgconfig/gstreamer-photography.pc.in deleted file mode 100644 index 99784d0..0000000 --- a/pkgconfig/gstreamer-photography.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-player-uninstalled.pc.in b/pkgconfig/gstreamer-player-uninstalled.pc.in deleted file mode 100644 index 6119a27..0000000 --- a/pkgconfig/gstreamer-player-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-player.pc.in b/pkgconfig/gstreamer-player.pc.in deleted file mode 100644 index 6400261..0000000 --- a/pkgconfig/gstreamer-player.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in b/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in deleted file mode 100644 index d5bd76e..0000000 --- a/pkgconfig/gstreamer-plugins-bad-uninstalled.pc.in +++ /dev/null @@ -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 diff --git a/pkgconfig/gstreamer-plugins-bad.pc.in b/pkgconfig/gstreamer-plugins-bad.pc.in deleted file mode 100644 index 752f0a0..0000000 --- a/pkgconfig/gstreamer-plugins-bad.pc.in +++ /dev/null @@ -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} diff --git a/pkgconfig/gstreamer-sctp-uninstalled.pc.in b/pkgconfig/gstreamer-sctp-uninstalled.pc.in deleted file mode 100644 index 417623a..0000000 --- a/pkgconfig/gstreamer-sctp-uninstalled.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-sctp.pc.in b/pkgconfig/gstreamer-sctp.pc.in deleted file mode 100644 index ac85897..0000000 --- a/pkgconfig/gstreamer-sctp.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-transcoder-uninstalled.pc.in b/pkgconfig/gstreamer-transcoder-uninstalled.pc.in deleted file mode 100644 index 65edca5..0000000 --- a/pkgconfig/gstreamer-transcoder-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-transcoder.pc.in b/pkgconfig/gstreamer-transcoder.pc.in deleted file mode 100644 index 645c0df..0000000 --- a/pkgconfig/gstreamer-transcoder.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-vulkan-uninstalled.pc.in b/pkgconfig/gstreamer-vulkan-uninstalled.pc.in deleted file mode 100644 index 707e634..0000000 --- a/pkgconfig/gstreamer-vulkan-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-vulkan-wayland-uninstalled.pc.in b/pkgconfig/gstreamer-vulkan-wayland-uninstalled.pc.in deleted file mode 100644 index bdefedc..0000000 --- a/pkgconfig/gstreamer-vulkan-wayland-uninstalled.pc.in +++ /dev/null @@ -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@ diff --git a/pkgconfig/gstreamer-vulkan-wayland.pc.in b/pkgconfig/gstreamer-vulkan-wayland.pc.in deleted file mode 100644 index 8e9d36d..0000000 --- a/pkgconfig/gstreamer-vulkan-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 Vulkan (Wayland Specifics) -Description: GStreamer Vulkan support (Wayland Specifics) -Requires: gstreamer-vulkan-@GST_API_VERSION@ wayland-client -Version: @VERSION@ diff --git a/pkgconfig/gstreamer-vulkan-xcb-uninstalled.pc.in b/pkgconfig/gstreamer-vulkan-xcb-uninstalled.pc.in deleted file mode 100644 index 606dc7a..0000000 --- a/pkgconfig/gstreamer-vulkan-xcb-uninstalled.pc.in +++ /dev/null @@ -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@ diff --git a/pkgconfig/gstreamer-vulkan-xcb.pc.in b/pkgconfig/gstreamer-vulkan-xcb.pc.in deleted file mode 100644 index add8c6f..0000000 --- a/pkgconfig/gstreamer-vulkan-xcb.pc.in +++ /dev/null @@ -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@ diff --git a/pkgconfig/gstreamer-vulkan.pc.in b/pkgconfig/gstreamer-vulkan.pc.in deleted file mode 100644 index 8735fff..0000000 --- a/pkgconfig/gstreamer-vulkan.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-wayland-uninstalled.pc.in b/pkgconfig/gstreamer-wayland-uninstalled.pc.in deleted file mode 100644 index 56c2da0..0000000 --- a/pkgconfig/gstreamer-wayland-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-wayland.pc.in b/pkgconfig/gstreamer-wayland.pc.in deleted file mode 100644 index fa1e2ab..0000000 --- a/pkgconfig/gstreamer-wayland.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/gstreamer-webrtc-uninstalled.pc.in b/pkgconfig/gstreamer-webrtc-uninstalled.pc.in deleted file mode 100644 index f92d3df..0000000 --- a/pkgconfig/gstreamer-webrtc-uninstalled.pc.in +++ /dev/null @@ -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 - diff --git a/pkgconfig/gstreamer-webrtc.pc.in b/pkgconfig/gstreamer-webrtc.pc.in deleted file mode 100644 index 09d438f..0000000 --- a/pkgconfig/gstreamer-webrtc.pc.in +++ /dev/null @@ -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} - diff --git a/pkgconfig/meson.build b/pkgconfig/meson.build deleted file mode 100644 index 696f366..0000000 --- a/pkgconfig/meson.build +++ /dev/null @@ -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