diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2018-02-10 13:20:43 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-02-10 13:33:42 +0000 |
commit | 9c21a17a9aae78097977cd0e3797d5eb5eb6a129 (patch) | |
tree | b70a01213891dafbdbcd91d63aa3d02e9886c558 /ext | |
parent | a12f8df0c6933af629d7d75585a42371e59e9021 (diff) |
gtk: hook up to autotools build
Diffstat (limited to 'ext')
-rw-r--r-- | ext/Makefile.am | 9 | ||||
-rw-r--r-- | ext/gtk/Makefile.am | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ext/Makefile.am b/ext/Makefile.am index 7d3490205..cb1293b78 100644 --- a/ext/Makefile.am +++ b/ext/Makefile.am @@ -22,6 +22,13 @@ else GDK_PIXBUF_DIR = endif + +if USE_GTK3 +GTK_DIR=gtk +else +GTK_DIR= +endif + if USE_JACK JACK_DIR=jack else @@ -125,6 +132,7 @@ SUBDIRS = \ $(DV1394_DIR) \ $(FLAC_DIR) \ $(GDK_PIXBUF_DIR) \ + $(GTK_DIR) \ $(JACK_DIR) \ $(JPEG_DIR) \ $(LAME_DIR) \ @@ -148,6 +156,7 @@ DIST_SUBDIRS = \ dv \ flac \ gdk_pixbuf \ + gtk \ jack \ jpeg \ lame \ diff --git a/ext/gtk/Makefile.am b/ext/gtk/Makefile.am index 057ff3f18..a1eec2627 100644 --- a/ext/gtk/Makefile.am +++ b/ext/gtk/Makefile.am @@ -37,10 +37,8 @@ libgstgtk_la_SOURCES = $(sources) libgstgtk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS) if USE_GTK3_GL -if USE_GL libgstgtk_la_SOURCES += gstgtkglsink.c gstgtkglsink.h gtkgstglwidget.c gtkgstglwidget.h libgstgtk_la_LIBADD += $(GST_GL_LIBS) endif -endif plugin_LTLIBRARIES = libgstgtk.la |