Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
George Kiagiadakis
gst-plugins-good
Commits
1fa24b0b
Commit
1fa24b0b
authored
Jun 23, 2017
by
Tim-Philipp Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meson: build oss plugin
https://bugzilla.gnome.org/show_bug.cgi?id=784134
parent
c438545d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
sys/meson.build
sys/meson.build
+2
-2
sys/oss/meson.build
sys/oss/meson.build
+28
-0
No files found.
sys/meson.build
View file @
1fa24b0b
subdir('directsound')
subdir('oss')
subdir('v4l2')
subdir('ximage')
subdir('directsound')
# FIXME: Implement these
#subdir('oss')
#subdir('oss4')
#subdir('osxaudio')
#subdir('osxvideo')
...
...
sys/oss/meson.build
0 → 100644
View file @
1fa24b0b
oss_header_locations = [
# Linux and newer BSD versions
['sys/soundcard.h', 'HAVE_OSS_INCLUDE_IN_SYS', 'OSS includes are in sys/'],
# Some old BSD versions and also newer OpenBSD versions
['soundcard.h', 'HAVE_OSS_INCLUDE_IN_ROOT', 'OSS includes are in root'],
# Some old BSD versions
['machine/soundcard.h', 'HAVE_OSS_INCLUDE_IN_MACHINE', 'OSS includes are in machine/'],
]
have_oss = false
foreach hdr : oss_header_locations
if not have_oss
if cc.has_header(hdr[0])
cdata.set(hdr[1], 1, description: hdr[2])
have_oss = true
endif
endif
endforeach
if have_oss
library('gstossaudio',
'gstossaudio.c', 'gstosshelper.c', 'gstosssink.c', 'gstosssrc.c',
c_args : gst_plugins_good_args,
include_directories : [configinc, libsinc],
dependencies : [gstaudio_dep, gstbase_dep],
install : true,
install_dir : plugins_install_dir)
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment