gl: rename cocoa example and move it to its parent directory
authorJulien Isorce <julien.isorce@gmail.com>
Fri, 2 May 2014 04:46:18 +0000 (05:46 +0100)
committerJulien Isorce <julien.isorce@gmail.com>
Fri, 2 May 2014 05:03:22 +0000 (06:03 +0100)
configure.ac
tests/examples/gl/cocoa/.gitignore [new file with mode: 0644]
tests/examples/gl/cocoa/Makefile.am
tests/examples/gl/cocoa/cocoa-videooverlay.m [moved from tests/examples/gl/cocoa/videooverlay/main.m with 100% similarity]
tests/examples/gl/cocoa/videooverlay/.gitignore [deleted file]
tests/examples/gl/cocoa/videooverlay/Makefile.am [deleted file]

index e73032f..99a97d6 100644 (file)
@@ -3240,7 +3240,6 @@ tests/examples/camerabin2/Makefile
 tests/examples/directfb/Makefile
 tests/examples/gl/Makefile
 tests/examples/gl/cocoa/Makefile
-tests/examples/gl/cocoa/videooverlay/Makefile
 tests/examples/gl/clutter/Makefile
 tests/examples/gl/generic/Makefile
 tests/examples/gl/generic/cube/Makefile
diff --git a/tests/examples/gl/cocoa/.gitignore b/tests/examples/gl/cocoa/.gitignore
new file mode 100644 (file)
index 0000000..5cfb85e
--- /dev/null
@@ -0,0 +1 @@
+cocoa-videooverlay
index 716aa30..c13ec52 100755 (executable)
@@ -1,4 +1,14 @@
-
 if HAVE_WINDOW_COCOA
-SUBDIRS = videooverlay
+
+noinst_PROGRAMS = cocoa-videooverlay
+
+cocoa_videooverlay_SOURCES = cocoa-videooverlay.m
+
+cocoa_videooverlay_OBJCFLAGS=$(GST_PLUGINS_GL_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
+       $(GL_CFLAGS) ${GL_OBJCFLAGS}
+cocoa_videooverlay_LDADD=$(GST_PLUGINS_GL_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) \
+       $(GL_LIBS) -lgstvideo-$(GST_API_VERSION)
+
+cocoa_videooverlay_LIBTOOLFLAGS = --tag=OBJC
+
 endif
diff --git a/tests/examples/gl/cocoa/videooverlay/.gitignore b/tests/examples/gl/cocoa/videooverlay/.gitignore
deleted file mode 100644 (file)
index c5ee310..0000000
+++ /dev/null
@@ -1 +0,0 @@
-videooverlay
diff --git a/tests/examples/gl/cocoa/videooverlay/Makefile.am b/tests/examples/gl/cocoa/videooverlay/Makefile.am
deleted file mode 100755 (executable)
index 47dac61..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-if HAVE_WINDOW_COCOA
-
-noinst_PROGRAMS = videooverlay
-
-videooverlay_SOURCES = main.m
-
-videooverlay_OBJCFLAGS=$(GST_PLUGINS_GL_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
-       $(GL_CFLAGS) -I/usr/local/include/gstreamer-${GST_API_VERSION} ${GL_OBJCFLAGS}
-videooverlay_LDADD=$(GST_PLUGINS_GL_LIBS) $(GST_PLUGINS_BASE_LIBS) $(GST_LIBS) \
-       $(GL_LIBS) -lgstvideo-$(GST_API_VERSION)
-
-videooverlay_LIBTOOLFLAGS = --tag=OBJC
-
-endif