mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
playback/player: Add initial build system with docs and tests and magic
This commit is contained in:
parent
7071c121b6
commit
090c766562
6 changed files with 52 additions and 40 deletions
10
playback/player/android/Makefile.am
Normal file
10
playback/player/android/Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
EXTRA_DIST = \
|
||||
AndroidManifest.xml \
|
||||
jni/Android.mk \
|
||||
jni/player.c \
|
||||
res/layout/main.xml \
|
||||
res/values/strings.xml \
|
||||
src/org/freedesktop/gstreamer/Player.java \
|
||||
src/org/freedesktop/gstreamer/player/GStreamerSurfaceView.java \
|
||||
src/org/freedesktop/gstreamer/player/Play.java
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
CFLAGS ?= -Wall -O2 -g
|
||||
PKGCONFIG ?= pkg-config
|
||||
LIBS := $(shell $(PKGCONFIG) --libs --cflags gstreamer-1.0 gstreamer-video-1.0) -lm
|
||||
|
||||
all: gst-play
|
||||
|
||||
clean:
|
||||
rm -f gst-play
|
||||
|
||||
SOURCES = \
|
||||
gst-play.c \
|
||||
gst-play-kb.c \
|
||||
../lib/gst/player/gstplayer.c
|
||||
|
||||
HEADERS = \
|
||||
gst-play-kb.h \
|
||||
../lib/gst/player/gstplayer.h
|
||||
|
||||
gst-play: $(SOURCES) $(HEADERS)
|
||||
$(CC) -o $@ $(SOURCES) $(CFLAGS) $(LIBS) -I../lib
|
||||
|
10
playback/player/gst-play/Makefile.am
Normal file
10
playback/player/gst-play/Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
bin_PROGRAMS = gst-play
|
||||
|
||||
gst_play_SOURCES = gst-play.c gst-play-kb.c gst-play-kb.h
|
||||
|
||||
LDADD = $(top_builddir)/lib/gst/player/.libs/libgstplayer-@GST_PLAYER_API_VERSION@.la \
|
||||
$(GSTREAMER_LIBS) $(GLIB_LIBS) $(LIBM)
|
||||
|
||||
AM_CFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib $(GSTREAMER_CFLAGS) $(GLIB_CFLAGS) $(WARNING_CFLAGS)
|
||||
|
||||
noinst_HEADERS = gst-play-kb.h
|
|
@ -1,19 +0,0 @@
|
|||
CFLAGS ?= -Wall -O2 -g
|
||||
PKGCONFIG ?= pkg-config
|
||||
LIBS := $(shell $(PKGCONFIG) --libs --cflags gstreamer-1.0 gstreamer-video-1.0 gtk+-3.0) -lm
|
||||
|
||||
all: gtk-play
|
||||
|
||||
clean:
|
||||
rm -f gtk-play
|
||||
|
||||
SOURCES = \
|
||||
gtk-play.c \
|
||||
../lib/gst/player/gstplayer.c
|
||||
|
||||
HEADERS = \
|
||||
../lib/gst/player/gstplayer.h
|
||||
|
||||
gtk-play: $(SOURCES) $(HEADERS)
|
||||
$(CC) -o $@ $(SOURCES) $(CFLAGS) $(LIBS) -I../lib
|
||||
|
10
playback/player/gtk/Makefile.am
Normal file
10
playback/player/gtk/Makefile.am
Normal file
|
@ -0,0 +1,10 @@
|
|||
bin_PROGRAMS = gtk-play
|
||||
|
||||
gtk_play_SOURCES = gtk-play.c
|
||||
|
||||
LDADD = $(top_builddir)/lib/gst/player/.libs/libgstplayer-@GST_PLAYER_API_VERSION@.la \
|
||||
$(GSTREAMER_LIBS) $(GTK_LIBS) $(GLIB_LIBS) $(LIBM)
|
||||
|
||||
AM_CFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib $(GSTREAMER_CFLAGS) $(GTK_CFLAGS) $(GLIB_CFLAGS)
|
||||
|
||||
noinst_HEADERS =
|
22
playback/player/ios/Makefile.am
Normal file
22
playback/player/ios/Makefile.am
Normal file
|
@ -0,0 +1,22 @@
|
|||
EXTRA_DIST = \
|
||||
GstPlay/AppDelegate.h \
|
||||
GstPlay/AppDelegate.m \
|
||||
GstPlay/EaglUIVIew.h \
|
||||
GstPlay/EaglUIVIew.m \
|
||||
GstPlay/en.lproj/InfoPlist.strings \
|
||||
GstPlay/fonts.conf \
|
||||
GstPlay/gst_ios_init.h \
|
||||
GstPlay/gst_ios_init.m \
|
||||
GstPlay/GstPlay-Info.plist \
|
||||
GstPlay/GstPlay-Prefix.pch \
|
||||
GstPlay/LibraryViewController.h \
|
||||
GstPlay/LibraryViewController.m \
|
||||
GstPlay/main.m \
|
||||
GstPlay/MainStoryboard_iPad.storyboard \
|
||||
GstPlay/MainStoryboard_iPhone.storyboard \
|
||||
GstPlay/Ubuntu-R.ttf \
|
||||
GstPlay/VideoViewController.h \
|
||||
GstPlay/VideoViewController.m \
|
||||
GstPlay.xcodeproj/project.xcworkspace/contents.xcworkspacedata \
|
||||
GstPlay.xcodeproj/project.pbxproj
|
||||
|
Loading…
Reference in a new issue