From 889e2737dda6485a7f3a250d02b82f36641c79cf Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Wed, 19 Nov 2008 16:42:03 -0300 Subject: [PATCH 077/118] yplayer: add the package. yplayer is a command-line gstreamer based player. Signed-off-by: Lauro Ramos Venancio --- recipes/yplayer/files/fix_makefile.patch | 20 ++++++++++++++++++++ recipes/yplayer/yplayer_svn.bb | 12 ++++++++++++ 2 files changed, 32 insertions(+), 0 deletions(-) create mode 100644 recipes/yplayer/files/fix_makefile.patch create mode 100644 recipes/yplayer/yplayer_svn.bb diff --git a/recipes/yplayer/files/fix_makefile.patch b/recipes/yplayer/files/fix_makefile.patch new file mode 100644 index 0000000..f3c93b6 --- /dev/null +++ b/recipes/yplayer/files/fix_makefile.patch @@ -0,0 +1,20 @@ +Index: trunk/Makefile +=================================================================== +--- trunk.orig/Makefile 2008-11-19 14:42:43.000000000 -0300 ++++ trunk/Makefile 2008-11-19 16:25:04.000000000 -0300 +@@ -1,12 +1,9 @@ + yplayer: player.c getch.c playlist.c uri.c +- gcc -o yplayer player.c getch.c playlist.c uri.c `pkg-config --libs --cflags gstreamer-0.10` +- +-debugyplayer: player.c getch.c playlist.c uri.c +- gcc -g -o yplayer player.c getch.c playlist.c uri.c `pkg-config --libs --cflags gstreamer-0.10` +- ++ $(CC) $(CFLAGS) -o yplayer player.c getch.c playlist.c uri.c `pkg-config --libs --cflags gstreamer-0.10` + + install: +- install yplayer /usr/bin ++ install -d $(DESTDIR)/usr/bin ++ install -m 755 yplayer $(DESTDIR)/usr/bin + clean: + rm *.o + rm yplayer diff --git a/recipes/yplayer/yplayer_svn.bb b/recipes/yplayer/yplayer_svn.bb new file mode 100644 index 0000000..90c97f3 --- /dev/null +++ b/recipes/yplayer/yplayer_svn.bb @@ -0,0 +1,12 @@ +DESCRIPTION = "Command-line Gstreamer based player" +LICENSE = "GPL" +DEPENDS = "gstreamer" +PV = "0.0.0+svnr${SRCREV}" +PR = "r0" + +SRC_URI = "svn://yplayer.googlecode.com/svn/;module=trunk;proto=http \ + file://fix_makefile.patch;patch=1 \ +" + +inherit autotools +S = "${WORKDIR}/trunk" -- 1.6.3.3