summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
Diffstat (limited to 'ext')
-rw-r--r--ext/Makefile.am8
-rw-r--r--ext/lame/Makefile.am2
-rw-r--r--ext/lame/meson.build2
-rw-r--r--ext/meson.build1
4 files changed, 11 insertions, 2 deletions
diff --git a/ext/Makefile.am b/ext/Makefile.am
index 1bb540bb5..fee653f55 100644
--- a/ext/Makefile.am
+++ b/ext/Makefile.am
@@ -34,6 +34,12 @@ else
JPEG_DIR =
endif
+if USE_LAME
+LAME_DIR = lame
+else
+LAME_DIR =
+endif
+
if USE_LIBCACA
LIBCACA_DIR = libcaca
else
@@ -115,6 +121,7 @@ SUBDIRS = \
$(GDK_PIXBUF_DIR) \
$(JACK_DIR) \
$(JPEG_DIR) \
+ $(LAME_DIR) \
$(LIBCACA_DIR) \
$(LIBDV_DIR) \
$(LIBMNG_DIR) \
@@ -136,6 +143,7 @@ DIST_SUBDIRS = \
gdk_pixbuf \
jack \
jpeg \
+ lame \
libcaca \
libpng \
mpg123 \
diff --git a/ext/lame/Makefile.am b/ext/lame/Makefile.am
index 5e5b3a02d..46198c8ec 100644
--- a/ext/lame/Makefile.am
+++ b/ext/lame/Makefile.am
@@ -3,7 +3,7 @@ plugin_LTLIBRARIES = libgstlame.la
libgstlame_la_SOURCES = gstlamemp3enc.c plugin.c
libgstlame_la_CFLAGS = \
$(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LAME_CFLAGS)
-libgstlame_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \
+libgstlame_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstaudio-$(GST_API_VERSION) \
$(GST_BASE_LIBS) $(GST_LIBS) $(LAME_LIBS)
libgstlame_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
diff --git a/ext/lame/meson.build b/ext/lame/meson.build
index 2812cb930..e3e61b68f 100644
--- a/ext/lame/meson.build
+++ b/ext/lame/meson.build
@@ -10,7 +10,7 @@ if lame_dep.found() and cc.has_header_symbol('lame/lame.h', 'lame_init')
endif
lame = library('gstlame',
['gstlamemp3enc.c', 'plugin.c'],
- c_args : ugly_args + lame_extra_c_args,
+ c_args : gst_plugins_good_args + lame_extra_c_args,
include_directories : [configinc, libsinc],
dependencies : [gstaudio_dep, lame_dep],
install : true,
diff --git a/ext/meson.build b/ext/meson.build
index 92f75ef10..3bc8c8212 100644
--- a/ext/meson.build
+++ b/ext/meson.build
@@ -4,6 +4,7 @@ subdir('flac')
subdir('gdk_pixbuf')
subdir('jack')
subdir('jpeg')
+subdir('lame')
subdir('libcaca')
# FIXME: dv plugin fails to link with msvc, wants pthread.lib
if cc.get_id() != 'msvc'