[oe] package VDR for OE

Paul Menzel paulepanter at users.sourceforge.net
Sat Dec 12 11:48:40 UTC 2009


Dear OE hackers,


I am trying to write a recipe for The Video Disc Recorder (VDR) [1] and
get it into OE.

Unfortunately I have never done this and I also do not know much about
things related to compiling.

I tried to follow [2] and [3] and came up with the following which is
not much as you can see and in addition does not work yet.

The problem I am facing is, that in the Makefile of VDR [4] there is

        […]
        LIBS     = -ljpeg -lpthread -ldl -lcap -lrt -lfreetype
        -lfontconfig
        INCLUDES = -I/usr/include/freetype
        […]

so that the path `/usr/include/freetype/` is passed to the make command
which of course fails trying to cross compile the program.

        CROSS COMPILE Badness: /usr/include in INCLUDEPATH: /usr/include/freetype2
        cc1plus: internal compiler error: in add_path, at c-incpath.c:425

Now, if I understand it correctly by looking at other recipes there is
EXTRA_OEMAKE = "" where I should be able to set the INCLUDEPATH to the
OE build environment. Is that correct.

Could you please also tell me what the recipe variable name is for libs?


Thank you,

Paul


[1] http://www.tvdr.de
[2] http://wiki.openmoko.org/wiki/BitBake_recipe
[3] http://docs.openembedded.org/usermanual/html/recipes_directories.html
[4] http://git.gekrumbel.de/vdr.git?p=vdr.git;a=blob;f=Makefile;h=703b801f623d16d9f3e872716a2646d908f35273;hb=ea01358b3bca9d55402ba632c95cdd6458abfdb3


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=05b473815f9706387a3c5eaeb4da2e492f624e0b77834321
 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
-------------- next part --------------
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"


EXTRA_OEMAKE = ""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20091212/d9864f01/attachment-0002.sig>


More information about the Openembedded-devel mailing list