From bb3ddb5df2b506f67ebcc9f1ed9f09d80c16e1bf Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 12 Dec 2009 10:17:52 +0100 Subject: [PATCH 1/1] Package VDR. The upstream Makefile needs to be patched to use the headers from the staging area. Signed-off-by: Paul Menzel --- conf/checksums.ini | 4 ++++ recipes/vdr/files/fixpaths.patch | 11 +++++++++++ recipes/vdr/vdr_1.7.10.bb | 11 +++++++++++ 3 files changed, 26 insertions(+), 0 deletions(-) create mode 100644 recipes/vdr/files/fixpaths.patch create mode 100644 recipes/vdr/vdr_1.7.10.bb diff --git a/conf/checksums.ini b/conf/checksums.ini index 3bf9854..e717f1b 100644 --- a/conf/checksums.ini +++ b/conf/checksums.ini @@ -27046,6 +27046,10 @@ sha256=05b473815f9706387a3c5eaeb4da2e492f624e0b7783432179454f9d69bb973c md5=d97a8dbc72942c57542f50322b538a48 sha256=05b473815f9706387a3c5eaeb4da2e492f624e0b7783432179454f9d69bb973c +[ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.10.tar.bz2] +md5=c74ee966baca1c47ed6b9e2be3d1639b +sha256=165bfcd811ef92cab50d11a88a76c481e105689438929414d27edfacfb312f52 + [ftp://ftp.billsgames.com/unix/x/vectoroids/src/vectoroids-1.1.0.tar.gz] md5=c63ce56b09aa7da9a6e95d804e9ee314 sha256=8d14dd281767e994108abd77c8e67d5a17718d0ad1e34d37e026911d14697b2e diff --git a/recipes/vdr/files/fixpaths.patch b/recipes/vdr/files/fixpaths.patch new file mode 100644 index 0000000..418f2d9 --- /dev/null +++ b/recipes/vdr/files/fixpaths.patch @@ -0,0 +1,11 @@ +--- vdr/Makefile~fixpaths 2009-10-18 15:59:25.000000000 +0200 ++++ vdr/Makefile 2009-12-13 12:28:22.000000000 +0100 +@@ -21,7 +21,7 @@ + BINDIR = $(PREFIX)/bin + LOCDIR = ./locale + LIBS = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype -lfontconfig +-INCLUDES = -I/usr/include/freetype2 ++INCLUDES = ${CFLAGS} + + PLUGINDIR= ./PLUGINS + PLUGINLIBDIR= $(PLUGINDIR)/lib diff --git a/recipes/vdr/vdr_1.7.10.bb b/recipes/vdr/vdr_1.7.10.bb new file mode 100644 index 0000000..d9bcfb4 --- /dev/null +++ b/recipes/vdr/vdr_1.7.10.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "Video Disk Recorder (VDR) is a digital sat-receiver program using Linux and DVB technologies. It allows one to record MPEG2 streams, as well as output the stream to TV. It is also possible to watch DVDs (hardware accelerated) with some comfort and use an IR remote control." +AUTHOR = "Klaus Schmidinger" +LICENSE = "GPLv2" +HOMEPAGE = "http://www.tvdr.de" + +DEPENDS = "fontconfig freetype gettext libcap jpeg" + +SRC_URI = "ftp://ftp.tvdr.de/vdr/Developer/${P}.tar.bz2 \ + file://fixpaths.patch;patch=1" + +CFLAGS_append += " -I${STAGING_INCDIR}/freetype2" -- 1.6.5.4